summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Handle InvalidDependString in _package_cache.__setitem__(). (trunk r10648)v2.1.5.5Zac Medico2008-06-111-4/+7
| | | | svn path=/main/branches/2.1.2/; revision=10649
* Bug #225767 - Suppress warnings for installed packages masked by keywordsZac Medico2008-06-111-1/+39
| | | | | | | if there is an equivalent ebuild in the portage tree (same cpv) with visible keywords. (trunk r10643:10646) svn path=/main/branches/2.1.2/; revision=10647
* Use spawn() instead of system(). (trunk r10642)Zac Medico2008-06-111-2/+18
| | | | svn path=/main/branches/2.1.2/; revision=10643
* Add another sanity check in the owners cache. (trunk r10640)Zac Medico2008-06-101-1/+4
| | | | svn path=/main/branches/2.1.2/; revision=10641
* Use isinstance() instead of handling TypeError. (trunk r10638)Zac Medico2008-06-101-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=10639
* Bug #225285 - Allow digestcheck() to succeed when the Manifest is empty andZac Medico2008-06-101-0/+12
| | | | | | strict mode is disabled. (trunk r10636) svn path=/main/branches/2.1.2/; revision=10637
* Add some sanity checks and error tolerance in the owners cache.Zac Medico2008-06-101-1/+15
| | | | | | (trunk r10633) svn path=/main/branches/2.1.2/; revision=10634
* Fix typo. (trunk r10631)Zac Medico2008-06-101-2/+1
| | | | svn path=/main/branches/2.1.2/; revision=10632
* Use pkg.mtime instead of calling stat().Zac Medico2008-06-101-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10630
* Fix typo. (trunk r10628)Zac Medico2008-06-101-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10629
* Fix missing initialization. (trunk r10626)Zac Medico2008-06-091-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=10627
* Add CONTENTS indexing support for optimization of owner lookups. TheZac Medico2008-06-093-79/+264
| | | | | | | | | | | | | | | | | | | | vardbapi cache maintains a hash table (inside vdb_metadata.pickle) that serves to index package contents by mapping the basename of file to a list of possible packages that own it. This is used to optimize owner lookups by narrowing the search down to a smaller number of packages. It increases the size of vdb_metadata.pickle by approximately 30% and it's used in the following cases: * When an unexpected file collision occurs (whether or not collision-protect is enabled) * `emerge <filename>` * `portageq owners` (trunk r10609) svn path=/main/branches/2.1.2/; revision=10622
* When inside fakeroot, directories with portage's gid appearZac Medico2008-06-091-2/+9
| | | | | | | | to have root's gid. Therefore, use root's gid instead of portage's gid to avoid spurrious permissions adjustments when inside fakeroot. (trunk r10608) svn path=/main/branches/2.1.2/; revision=10620
* Bug #225285 - Allow digestcheck() to succeed when the Manifest is missingZac Medico2008-06-091-0/+2
| | | | | | and strict mode is disabled. (trunk r10604) svn path=/main/branches/2.1.2/; revision=10619
* Make portdbapi.aux_get() return float type for _mtime_. (trunk r10603)Zac Medico2008-06-091-1/+4
| | | | svn path=/main/branches/2.1.2/; revision=10618
* Add additional functions such as eaclocal and eautoheader to theZac Medico2008-06-091-1/+5
| | | | | | inherit.autotools regex. Thanks to Arfrever. (trunk r10602) svn path=/main/branches/2.1.2/; revision=10617
* Make repoman pass Package instances into run_checks(), so that the checksZac Medico2008-06-092-11/+29
| | | | | | can use the Package.mtime and inherited attributes. (trunk r10599:10601) svn path=/main/branches/2.1.2/; revision=10616
* Bug #224271 - New check 'IUSE.undefined', renamed from genericZac Medico2008-06-092-1/+6
| | | | | | "ebuild.minorsyn'. (trunk r10593) svn path=/main/branches/2.1.2/; revision=10615
* As suggested by Flameeyes, add a new 'inherit.autotools' check which warnsZac Medico2008-06-092-5/+20
| | | | | | | | when autotools has been inherited but none of the eautomake, eautoconf or eautoreconf functions are called like they are supposed to be. (trunk r10592) svn path=/main/branches/2.1.2/; revision=10614
* 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