summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* remove old/unused gen_wrapper function (trunk r10591)Zac Medico2008-06-092-10/+1
| | | | svn path=/main/branches/2.1.2/; revision=10613
* Add Package.counter and mtime attributes. (trunk r10587)Zac Medico2008-06-091-3/+20
| | | | svn path=/main/branches/2.1.2/; revision=10611
* Add vardbapi.aux_get() support for an "_mtime_" value which corresponds toZac Medico2008-06-091-11/+19
| | | | | | | | | the installed package directory's mtime (numeric value from stat result). This value can be used to validate indexes or caches used in the optimization of vdb query operations for various types of package metadata such as dependencies and file contents. (trunk r10586) svn path=/main/branches/2.1.2/; revision=10610
* Inside, create_trees(), pass target_root="/" into the config constructorZac Medico2008-06-071-1/+1
| | | | | | when necessary to override the setting in make.conf. (trunk r10598) svn path=/main/branches/2.1.2/; revision=10599
* Validate ROOT from make.conf. (trunk r10596)Zac Medico2008-06-071-0/+2
| | | | svn path=/main/branches/2.1.2/; revision=10597
* Make load_emerge_config() filter out empty PORTAGE_CONFIGROOT and ROOTZac Medico2008-06-071-1/+3
| | | | | | values, and those containing only whitespace. (trunk r10594) svn path=/main/branches/2.1.2/; revision=10595
* Bug #224271 - Add a 'IUSE is not defined' ebuild.minorsyn warning.Zac Medico2008-06-071-0/+7
| | | | | | (trunk r10589) svn path=/main/branches/2.1.2/; revision=10590
* Bug #224713 - Avoid TypeError when make.conf is missing:v2.1.5.4Zac Medico2008-06-041-0/+2
| | | | | | | TypeError: argument of type 'NoneType' is not iterable (trunk r10582) svn path=/main/branches/2.1.2/; revision=10583
* Mention PORTAGE_RO_DISTDIRS in the DISTDIR docs. (trunk r10580)Zac Medico2008-06-041-1/+6
| | | | svn path=/main/branches/2.1.2/; revision=10581
* Use sets for more accurate cache modification counts in BlockerCache andZac Medico2008-06-042-9/+9
| | | | | | vardbapi. (trunk r10578) svn path=/main/branches/2.1.2/; revision=10579
* Update --depclean and package.provided docs to indicate interactionZac Medico2008-06-043-25/+51
| | | | | | between them. (trunk r10563) svn path=/main/branches/2.1.2/; revision=10573
* Fix regex for compatibility with the regex implementation from FreeBSD'sZac Medico2008-06-041-1/+1
| | | | | | | libc (used by bash on FreeBSD). Thanks to Alexis Ballier <aballier@g.o> for the patch. (trunk r10558) svn path=/main/branches/2.1.2/; revision=10572
* Tweak the installed masked code from bug #223447 so that it less noisyZac Medico2008-06-041-3/+4
| | | | | | | by suppressing masking messages for packages that haven't been pulled into the current dependency graph. (trunk r10553) svn path=/main/branches/2.1.2/; revision=10571
* Use float mtime instead of int for finer granularity in vardbapi.match()Zac Medico2008-06-041-1/+1
| | | | | | cache staleness checks. (trunk r10550) svn path=/main/branches/2.1.2/; revision=10570
* Add modification threshold for BlockerCache.flush(), to avoid wasteful IO.Zac Medico2008-06-041-6/+10
| | | | | | (trunk r10549) svn path=/main/branches/2.1.2/; revision=10569
* Fix vardbapi.flush_cache() so that it only updates the cache when theZac Medico2008-06-041-4/+8
| | | | | | | | number of uncached packages reaches a certain threshold (currently 5). The cache file can be several megabytes in size, so updating it for every vdb change is wasteful. (trunk r10548) svn path=/main/branches/2.1.2/; revision=10568
* Fit typo. (trunk r10566)Zac Medico2008-06-041-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10567
* Add support for a PORTAGE_RO_DISTDIRS variable. When a given file does notZac Medico2008-06-042-4/+146
| | | | | | | | | exist in DISTDIR, search for the file in this list of directories. Search order is from left to right. Note that the current implementation works by creating a symlink inside DISTDIR, but that may change in the future. (trunk r10547, r10550:10552, and r10564) svn path=/main/branches/2.1.2/; revision=10565
* Fix typo. (trunk r10538)v2.1.5.3Zac Medico2008-06-011-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10539
* Mention masked packages in another --resume message. (trunk r10535)Zac Medico2008-06-011-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=10537
* Reference depgraph.UnsatisfiedResumeDep instead of mydepgraph since theZac Medico2008-06-011-1/+1
| | | | | | | latter can trigger an UnboundLocalError in some cases (^C for example). (trunk r10533) svn path=/main/branches/2.1.2/; revision=10536
* Update the --skipfirst dropped packages warning to mention "masking"Zac Medico2008-06-011-1/+2
| | | | | | in addition to unsatisfied dependencies. svn path=/main/branches/2.1.2/; revision=10534
* Update the UnsatisfiedResumeDep display to distinguish masked packagesZac Medico2008-06-011-6/+13
| | | | | | from those with unsatisfied dependencies. (trunk r10529) svn path=/main/branches/2.1.2/; revision=10531
* Revert changes wrt argument atoms in the previous commit since it's notZac Medico2008-06-011-10/+8
| | | | | | really useful. (trunk r10528) svn path=/main/branches/2.1.2/; revision=10530
* Make --skipfirst tolerate masked packages by dropping them (similar toZac Medico2008-06-011-10/+18
| | | | | | | how it would drop a package that has an unsatisfied dependency). (trunk r10526) svn path=/main/branches/2.1.2/; revision=10527
* Make PackageSet._setAtoms() use existing Atom instances when available.Zac Medico2008-05-311-5/+11
| | | | | | (trunk r10523) svn path=/main/branches/2.1.2/; revision=10524
* Fix create_world_atom() to take a Package instance in it's arguments.Zac Medico2008-05-311-11/+7
| | | | | | (trunk r10521) svn path=/main/branches/2.1.2/; revision=10522
* Add some isvalidatom() test cases with "null" and missing category.Zac Medico2008-05-311-1/+11
| | | | | | (trunk r10519) svn path=/main/branches/2.1.2/; revision=10520
* * Tweak isvalidatom() to treat "null" category as valid, but missing categoryZac Medico2008-05-312-11/+21
| | | | | | | | | | | | as invalid (previously both where treated as invalid). * Fix a spot inside emerge's unmerge() function that sometimes generates invalid atoms by adding an unnecessary "=" to the front. Even when in cases that resulted in a valid atom here, adding the "=" was redundant because dep_expand() does that automatically now (for backward compat). (trunk r10516) svn path=/main/branches/2.1.2/; revision=10517
* Optimize the new --skipfirst code so that in only has to buildZac Medico2008-05-311-7/+37
| | | | | | | | | a new depgraph one time when there are unsatisfied deps. This works by recursively traversing the digraph to remove the parent packages whose deps become unsatisfied when their dependencies are pruned from the mergelist. (trunk r10512:10514) svn path=/main/branches/2.1.2/; revision=10515
* Fix PackageSet.findAtomForPackage() to find the most specific atom sinceZac Medico2008-05-301-4/+13
| | | | | | | it can affect behavior when deciding whether or not to add a slot atom to the world file. (trunk r10511) svn path=/main/branches/2.1.2/; revision=10512
* Now that dbapi._iter_match() is guaranteed to return a real iterator withZac Medico2008-05-301-4/+4
| | | | | | | a next() method, we can just call next() and handle StopIteration. (trunk r10509) svn path=/main/branches/2.1.2/; revision=10510
* For consistency, make sure that a normal iterator is always returnedZac Medico2008-05-301-1/+1
| | | | | | | from dbapi._iter_match() (and never a list). This way the caller can be sure that the returned object has a next() method. (trunk r10507) svn path=/main/branches/2.1.2/; revision=10508
* Make the use_cache=0 listdir() implementation inside vardbapi.cpv_all()Zac Medico2008-05-301-1/+4
| | | | | | raise a PermissionDenied error when appropriate. (trunk r10505) svn path=/main/branches/2.1.2/; revision=10506
* Pass a mutable config instance into get_masking_status(). CurrentlyZac Medico2008-05-301-1/+1
| | | | | | | | it doesn't matter for installed packages but it's safer to be consistent to avoid accidental breakage in the future. (trunk r10503) svn path=/main/branches/2.1.2/; revision=10504
* Make PackageSet.findAtomForPackage() just return the first atom foundZac Medico2008-05-301-3/+3
| | | | | | | since best_match_to_list() won't work correctly for atoms matched via PROVIDE. (trunk r10501) svn path=/main/branches/2.1.2/; revision=10502
* Simplify None Package.slot handling in match_from_list(). (trunk r10499)Zac Medico2008-05-301-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=10500
* Fix Atom attribute handling in get_operator() and dep_getslot() to accountZac Medico2008-05-301-4/+4
| | | | | | for None return values. (trunk r10497) svn path=/main/branches/2.1.2/; revision=10498
* Create Atom instances earlier to avoid redundant validation. (trunk r10495)Zac Medico2008-05-301-6/+7
| | | | svn path=/main/branches/2.1.2/; revision=10496
* When dropping deps from the resume list, make sure that the loop can'tZac Medico2008-05-291-1/+2
| | | | | | be infinite. (trunk r10493) svn path=/main/branches/2.1.2/; revision=10494
* Use Package.metadata instead of calling dbapi.aux_get(). (trunk r10491)Zac Medico2008-05-291-2/+1
| | | | svn path=/main/branches/2.1.2/; revision=10492
* Use a frozenset instead of a list for containment tests. (trunk r10489)Zac Medico2008-05-291-3/+2
| | | | svn path=/main/branches/2.1.2/; revision=10490
* Fix typo. (trunk r10487)Zac Medico2008-05-291-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10488
* Use izip() to eliminate temporary dict instances. (trunk r10485)Zac Medico2008-05-291-18/+19
| | | | svn path=/main/branches/2.1.2/; revision=10486
* Use portage_exception.InvalidAtom directly instead of from portage_dep.Zac Medico2008-05-291-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10484
* Make --skipfirst handle missing dependencies by dropping the merge tasksZac Medico2008-05-291-12/+48
| | | | | | | | | | | | | | that have missing dependencies. This involves creating an entirely new depgraph each time that a missing dependency is discovered. This isn't the most efficient approach but it's simple and it works well. This new behavior can server as a fix for bug #12768 by calling emerge --resume --skipfirst each time that emerge exits unsuccessfully. This was possible before, but now packages with unsatisfied dependencies will be properly identified and dropped from the list. (trunk r10477:10482) svn path=/main/branches/2.1.2/; revision=10483
* Save the content of CONFIG_MEMORY_FILE in dblink.treewalk() _before_Zac Medico2008-05-291-11/+6
| | | | | | | unmerging other instances, in order to avoid overwritting/undoing the pruning that's done during unmerge. (trunk r10476) svn path=/main/branches/2.1.2/; revision=10477
* Make the unmerge time CONFIG_MEMORY_FILE pruning slightly more aggressive,Zac Medico2008-05-291-3/+2
| | | | | | | so that anything not claimed by another package in the same slot is pruned. (trunk r10474) svn path=/main/branches/2.1.2/; revision=10475
* Filter out installed keyword masked packages when populatingZac Medico2008-05-291-1/+3
| | | | | | | | RootConfig.visible_pkgs since otherwise such packages can trigger undesireable results inside depgraph._iter_atoms_for_pkg(). (trunk r10471) svn path=/main/branches/2.1.2/; revision=10473
* Fix the code from bug #220341 so that it matches the atom against theZac Medico2008-05-291-2/+12
| | | | | | installed package, like it's supposed to. (trunk r10470) svn path=/main/branches/2.1.2/; revision=10472