summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make 'full' the default mode, since 'scan' can be annoying since itZac Medico2007-11-132-3/+3
| | | | | | ommits relevant info. svn path=/main/trunk/; revision=8499
* Make the slot collision display show all collisions insteadZac Medico2007-11-131-21/+27
| | | | | | of just the first one. svn path=/main/trunk/; revision=8498
* Make depgraph._complete_graph() properly specify SetArg instancesZac Medico2007-11-131-13/+24
| | | | | | | as parents of each Dependency, similar to the want that select_files() does. svn path=/main/trunk/; revision=8497
* Make depgraph._add_pkg() match the package with all possibleZac Medico2007-11-131-22/+26
| | | | | | args and add them to the digraph. svn path=/main/trunk/; revision=8496
* Remove the depgraph.pkg_node_map attribute and use otherZac Medico2007-11-121-45/+36
| | | | | | means to accomplish the same thing. svn path=/main/trunk/; revision=8495
* Add DependencyArg instances as parents of packages in theZac Medico2007-11-121-8/+21
| | | | | | | digraph since these relationships should be useful during backtracking. svn path=/main/trunk/; revision=8494
* * Remove all references to the obsolete Package.digraph_node attribute.Zac Medico2007-11-121-63/+51
| | | | | | | | * Reimplement Package comparison methods since the previous way didn't seem to function properly for dict keys. * Clean up depgraph._add_pkg() to use the Package object attributes. svn path=/main/trunk/; revision=8493
* Make the Package class emulate the interface of it's ownZac Medico2007-11-122-19/+21
| | | | | | | digraph_node tuple so that the Package instance itself can be added directly to the digraph. svn path=/main/trunk/; revision=8492
* Bug #197797 - Set umask to 022 so that created files (such as theZac Medico2007-11-121-0/+4
| | | | | | world file) have sane permissions. svn path=/main/trunk/; revision=8491
* Make diefunc() clean up QA_INTERCEPTORS in case it isZac Medico2007-11-111-1/+6
| | | | | | called from inherit() since sed called below. svn path=/main/trunk/; revision=8490
* * Provide reasonable default values for DependencyZac Medico2007-11-111-38/+35
| | | | | | | | | priority and depth attributes. * Remove depgraph.create() since it's no longer needed. * Remove depgraph._get_parent_sets() and instead get the information from DependencyArg attributes. svn path=/main/trunk/; revision=8489
* Fix depgraph._get_arg_for_pkg() so that it compares packageZac Medico2007-11-111-1/+5
| | | | | | types to help ensure a proper match. svn path=/main/trunk/; revision=8488
* Implement mapping of packages to instances of DependencyArgZac Medico2007-11-112-4/+50
| | | | | | | | | in depgraph._get_arg_for_pkg(). Among other things, this provides a way to know whether or not a specific package has been specified as an argument, which determines whether or not it can be removed from the graph during backtracking. svn path=/main/trunk/; revision=8487
* Wrap accesses to depgraph._set_atoms.findAtomForPackage() inZac Medico2007-11-111-7/+26
| | | | | | a new depgraph._get_arg_for_pkg() method. svn path=/main/trunk/; revision=8486
* Make the EbuildQuote.missing_quotes regex accept singleZac Medico2007-11-101-2/+2
| | | | | | | | quotes where it accepts double quotes in order to eliminate some false positives. Thanks to Krzysiek Pawlik <nelchael@gentoo.org> for reporting. svn path=/main/trunk/; revision=8485
* Fix WorldSet.cleanPackage() so that it properly preservesZac Medico2007-11-101-0/+1
| | | | | | nonatoms (sets) in the world file. svn path=/main/trunk/; revision=8484
* Convert all the checks in repoman.checks to use a new LineCheckZac Medico2007-11-102-209/+115
| | | | | | | | | | | | | | | | | interface that takes a single line as an argument. This has at least a few of benefits: * Eliminates lots of redundant code * Error messages are ordered by line number across all checks The performance is slightly worse due to the increased number of method calls, but it's not really noticeable in comparison to the time consumed by dependency checks. Thanks to Petteri Räty <betelgeuse@gentoo.org> for the initial patch which I only made a few minor modifications to. svn path=/main/trunk/; revision=8483
* Clean up expansion of set arguments in depgraph.select_files().Zac Medico2007-11-091-11/+13
| | | | svn path=/main/trunk/; revision=8482
* fix typo and missing classmethod declarationMarius Mauch2007-11-091-1/+2
| | | | svn path=/main/trunk/; revision=8481
* if multiple glsas result in the same cat/pkg:slot being affected only use ↵Marius Mauch2007-11-091-1/+17
| | | | | | the highest resulting atom svn path=/main/trunk/; revision=8480
* move checkfile parsing into its own functionMarius Mauch2007-11-093-14/+18
| | | | svn path=/main/trunk/; revision=8479
* Move glsa-check from gentoolkit into portage so the gentoolkit version can ↵Marius Mauch2007-11-092-2/+341
| | | | | | be removed after 2.2 is released svn path=/main/trunk/; revision=8478
* revert getMergeList to return CPVs again instead of atomsMarius Mauch2007-11-092-2/+2
| | | | svn path=/main/trunk/; revision=8477
* Fix incorrect type in depgraph._missing_args.Zac Medico2007-11-091-1/+1
| | | | svn path=/main/trunk/; revision=8476
* Create classes to encapsulate eache of the depgraph argumentZac Medico2007-11-091-24/+61
| | | | | | types: atoms, packages and sets. svn path=/main/trunk/; revision=8475
* Remove the workaround for \n -> \r\n transformations inZac Medico2007-11-091-4/+5
| | | | | | | SpawnTestCase.testLogfile() since the problem is solved by the patch from bug #198491. svn path=/main/trunk/; revision=8474
* Bug #198491 - Disable termios.OPOST post-processing of output onZac Medico2007-11-091-0/+7
| | | | | | | | the slave pty file descriptor since otherwise weird things like \n -> \r\n transformations may occur. Thanks to Ulrich Mueller <ulm@gentoo.org> for this patch. svn path=/main/trunk/; revision=8473
* Revert accidental hunk from bug 198491. Haven't testedZac Medico2007-11-091-5/+0
| | | | | | this yet. svn path=/main/trunk/; revision=8472
* make.globals should not be relative to config_rootZac Medico2007-11-091-1/+8
| | | | | | because it only contains constants. svn path=/main/trunk/; revision=8471
* Tweak EOutput.term_columns calculation for TERM="dumb" soZac Medico2007-11-081-1/+1
| | | | | | | that it behaves like TERM="cons25" currently does. Thanks to Ulrich Mueller <ulm@gentoo.org> for the patch. svn path=/main/trunk/; revision=8468
* Don't do:Zac Medico2007-11-081-0/+1
| | | | | | | | Calculating dependencies |Fetching binary packages info... but instead put "Fetching ..." on it's own line. (branches/prefix r8461) svn path=/main/trunk/; revision=8466
* Bug #198492 - Make quickpkg create $PKGDIR if it doesn'tZac Medico2007-11-081-0/+4
| | | | | | already exist. svn path=/main/trunk/; revision=8464
* It is not cool and/or helpfull to see an HTML dump of someZac Medico2007-11-081-3/+0
| | | | | | | page in case it is not what is expected (like a 404). (branches/prefix r8460) svn path=/main/trunk/; revision=8462
* For unsatisfied dependencies, shorten the per-package EAPI maskZac Medico2007-11-072-1/+13
| | | | | | | output and show an informative message whenever an EAPI mask is encountered. svn path=/main/trunk/; revision=8457
* Really fix broken logic for --update greedy slot atoms inZac Medico2007-11-071-1/+1
| | | | | | depgraph.select_files(). svn path=/main/trunk/; revision=8453
* Fix broken logic for --update greedy slot atoms inZac Medico2007-11-071-1/+3
| | | | | | depgraph.select_files(). svn path=/main/trunk/; revision=8452
* Make depgraph.select_files() perform internal expansion ofZac Medico2007-11-061-25/+42
| | | | | | | package set arguments since ideally the depgraph needs to be awary of the precise origin of each atom. svn path=/main/trunk/; revision=8451
* Remove the usage.obsolete "KEYWORDS contain -*" warning since peopleZac Medico2007-11-061-3/+0
| | | | | | | are using -* to indicate that a package should not be tried on archs other than those for which it already has KEYWORDS. svn path=/main/trunk/; revision=8447
* Simplify and fix bugs in is_valid_package_atom().Zac Medico2007-11-061-11/+5
| | | | svn path=/main/trunk/; revision=8445
* Remove references to ${O} in dyn_spec() since antarusZac Medico2007-11-061-1/+1
| | | | | | made that variable mutable. svn path=/main/trunk/; revision=8444
* Go ahead and exempt selected profile-specific USE_EXPANDZac Medico2007-11-061-1/+6
| | | | | | | | | | | | | flags from IUSE QA Notices since we are planning to make these particular flags into implicit members of IUSE. We can make this extensible later, but for now we just want to eliminate some useless QA Notices (a subset of bug #70648). We're not exempting any non profile- specific USE_EXPAND flags here. For non profile-specific flags, we intend to implement an IUSE syntax extension (bug #133327). svn path=/main/trunk/; revision=8442
* Fix create_world_atom() logic some more for bug #198129.Zac Medico2007-11-061-1/+4
| | | | svn path=/main/trunk/; revision=8439
* Bug #198129 - Prevent SLOT atoms like sys-devel/binutils:0Zac Medico2007-11-061-10/+28
| | | | | | | from being inappropriately recorded in the world file when USE=multislot is enabled. svn path=/main/trunk/; revision=8438
* remove O and PPID from being readonly. O is set python side (and we will ↵Alec Warner2007-11-061-1/+1
| | | | | | hopefully stop being exported soon. PPID is ro by bash, so no need to declare it twice svn path=/main/trunk/; revision=8437
* Allow multislot packages to be added to the world fileZac Medico2007-11-051-9/+11
| | | | | | | | | | via --noreplace. Having these atoms in the world file will trigger recommendations to run emaint in some cases, like when running `emerge -e world`. The atoms need to be in the world file to prevent multislot packages from being removed by --depclean though. svn path=/main/trunk/; revision=8436
* Make WorldHandler lock the world file when in --fix mode.Zac Medico2007-11-052-12/+24
| | | | svn path=/main/trunk/; revision=8432
* Add support for package sets in WorldHandler.Zac Medico2007-11-051-1/+11
| | | | svn path=/main/trunk/; revision=8431
* Fix 'TypeError: not all arguments converted during string formatting'Zac Medico2007-11-052-2/+3
| | | | | | issues with the EbuildNestedDie check. svn path=/main/trunk/; revision=8429
* Replace StringIO usage with a simple list of lines. TheZac Medico2007-11-051-8/+6
| | | | | | | | | iteration interface is practically identical but the list of lines if more efficient because the lines only have to be split one time for each ebuild instead of for each check. svn path=/main/trunk/; revision=8428
* Make exception strings more informative.Zac Medico2007-11-041-2/+5
| | | | svn path=/main/trunk/; revision=8426