summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make Manifest.create() do some basic validation of ebuildZac Medico2007-11-041-1/+11
| | | | | | file names like portdbapi.cp_list() would do. svn path=/main/trunk/; revision=8423
* In portdbapi.cp_list(), validate the ebuild name to ensureZac Medico2007-11-041-0/+4
| | | | | | that it matches the name of the package. svn path=/main/trunk/; revision=8421
* When evaluating *DEPEND conditionals for the Packages metadataZac Medico2007-11-041-1/+2
| | | | | | | | index, do not use IUSE to filter USE since there is currently no guarantee that IUSE properly defines all of the necessary flags. svn path=/main/trunk/; revision=8420
* Clean up ACCEPT_KEYWORDS incremental stacking logic andZac Medico2007-11-041-36/+37
| | | | | | fix some minor inconsistencies. svn path=/main/trunk/; revision=8418
* In fetch(), replace checksum_failure_counts dict with singleZac Medico2007-11-041-8/+6
| | | | | | int counter. svn path=/main/trunk/; revision=8416
* Generate a usage.obsolete warning wheneverZac Medico2007-11-041-2/+5
| | | | | | -* is found in KEYWORDS. svn path=/main/trunk/; revision=8414
* Make fetch() behave like the ebuild has RESTRICT="primaryuri"Zac Medico2007-11-041-1/+30
| | | | | | | | after 2 checksum failures for a fetched file. This should increase the probability of fetching the correct file before the maximum number of tries is reached. svn path=/main/trunk/; revision=8412
* For sanity, pass an actual list of keys into aux_get() insteadZac Medico2007-11-041-3/+4
| | | | | | | of iterating over a set that happens to be mutable (though it remains constant in practice). svn path=/main/trunk/; revision=8410
* Bug #197797 - Do not actively clear o+rx permission bitsZac Medico2007-11-031-4/+1
| | | | | | | | | | | | | | on the /var/lib/portage directory. Only clear the o+w bits. This allows users who aren't in the portage group to have read access to the world file by default, but administrators can explicitly chmod o-rx that directory if necessary, and portage will leave those bits alone. This makes the permission settings in dblink.treewalk() consistent with those that are already defined in config._init_dirs(). svn path=/main/trunk/; revision=8408
* Call die() so that the $TMP directory is always properlyZac Medico2007-11-031-7/+6
| | | | | | cleaned up. svn path=/main/trunk/; revision=8405
* Bug #197965 - Make fetch() bail out after 5 checksumZac Medico2007-11-031-0/+12
| | | | | | | | failures for a particular file since downloading the same file repeatedly from every single available mirror is a waste of bandwidth and time. svn path=/main/trunk/; revision=8403
* if mode=1 and `dialog` is not usable, abort #197990 by DominikBuerkleMike Frysinger2007-11-031-0/+7
| | | | svn path=/main/trunk/; revision=8402
* Bug #197965 - When fetch() encounters a checksum failure,Zac Medico2007-11-031-12/+46
| | | | | | | | look for an identical file from a previous checksum failure in order to avoid consuming unnecessary disk space with duplicate files. svn path=/main/trunk/; revision=8401
* Fix update_config_files() so that it uses update_dbentry()Zac Medico2007-11-031-31/+30
| | | | | | | to handle update commands since that already supports slotmove commands for SLOT atoms. svn path=/main/trunk/; revision=8397
* Remove redundant code from previous commit.Zac Medico2007-11-031-2/+0
| | | | svn path=/main/trunk/; revision=8392
* Bug #197932 - Make dbapi._cpv_sort_ascending()Zac Medico2007-11-031-9/+10
| | | | | | | preserve explicit -r0 for consistency in findname and aux_get calls. svn path=/main/trunk/; revision=8390
* TODO: Make update_config_files() handle slotmove commands for SLOT atoms.Zac Medico2007-11-031-0/+1
| | | | svn path=/main/trunk/; revision=8387
* In portage.fetch(), condense digest check output to a singleZac Medico2007-11-031-2/+4
| | | | | | line for all digests. svn path=/main/trunk/; revision=8385
* Sort scanlist and ebuildlist to ensure that repoman alwaysZac Medico2007-11-021-0/+2
| | | | | | processes packages in a predictable order. svn path=/main/trunk/; revision=8383
* Make portdbapi.gvisible() use portdbapi._aux_cache_keysZac Medico2007-11-021-1/+1
| | | | | | for metadata pulls. svn path=/main/trunk/; revision=8381
* Return early from config.getMaskAtom() as soon as a matchingZac Medico2007-11-021-5/+1
| | | | | | unmask atom is found. svn path=/main/trunk/; revision=8379
* Bug #197594 - Document FEATURES="lmirror".Zac Medico2007-11-021-0/+4
| | | | svn path=/main/trunk/; revision=8373
* Make sure vardbapi.cp_list() always sorts the results.Zac Medico2007-11-021-1/+1
| | | | svn path=/main/trunk/; revision=8366
* Fix ignore_priority logic in depgraph.altlist() in orderZac Medico2007-11-021-0/+8
| | | | | | | | to handle some cases where it was possible for nodes to be selected without their PDEPENDs being propperly added to the asap_nodes list. svn path=/main/trunk/; revision=8360
* Collapse 2 identical code hunks into 1.Zac Medico2007-11-021-37/+18
| | | | svn path=/main/trunk/; revision=8359
* Optimize merge order to try and select nodes that only haveZac Medico2007-11-021-1/+20
| | | | | | | | | | | | | | | | unsatisfied PDEPEND slightly earlier. This solves a problem with xorg-server being merged too early during an all binary install (since DEPEND is ignored for binaries), triggering built_with_use() calls to fail as reported in bug #189966. Since DEPEND is discarded in cases like this, it is important to exploit the difference between PDEPEND and RDEPEND in order to optimize merge order. Without this optimization, the merge order is technically correct, but not as optimal as it should be and has lots of potential to trigger issues with built_with_use() or similar things that require better optimization of merge order. svn path=/main/trunk/; revision=8358
* In the 'there are no ebuilds to satisfy "foo"' message, discardZac Medico2007-11-011-0/+2
| | | | | | null/ from failed cpv_expand category expansion. svn path=/main/trunk/; revision=8357
* Properly escape { and } characters in regular expressions evenZac Medico2007-11-011-3/+3
| | | | | | though it seems to work either way. svn path=/main/trunk/; revision=8355
* Remove an extra \$ from the EbuildQuote.var_reference regexZac Medico2007-11-011-1/+1
| | | | | | | so that it will properly match things like variable references without braces, like $S. svn path=/main/trunk/; revision=8354
* Make the EbuildUselessCdS check for both quoted and unquoted ${S}Zac Medico2007-11-011-1/+1
| | | | | | | so the user doesn't have to fix quoting before this check will recognize the violation. svn path=/main/trunk/; revision=8353
* Avoid making unnecessary copies of PackageSet._atoms byZac Medico2007-11-012-8/+14
| | | | | | replacing calls to self.getAtoms() with self._load(). svn path=/main/trunk/; revision=8352