summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #225285 - Allow digestcheck() to succeed when the Manifest is empty andZac Medico2008-06-101-0/+12
| | | | | | strict mode is disabled. svn path=/main/trunk/; revision=10636
* Add some sanity checks and error tolerance in the owners cache.v2.2_pre8Zac Medico2008-06-101-1/+15
| | | | svn path=/main/trunk/; revision=10633
* Fix typo.Zac Medico2008-06-101-2/+1
| | | | svn path=/main/trunk/; revision=10631
* Fix typo.Zac Medico2008-06-101-1/+1
| | | | svn path=/main/trunk/; revision=10628
* Fix missing initialization.Zac Medico2008-06-091-0/+1
| | | | svn path=/main/trunk/; revision=10626
* Remove unused PackageVirtualDbapi.__getitem__() method.Zac Medico2008-06-091-15/+0
| | | | svn path=/main/trunk/; revision=10612
* 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` The svn path=/main/trunk/; revision=10609
* When inside fakeroot, directories with portage's gid appearZac Medico2008-06-081-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. svn path=/main/trunk/; revision=10608
* make sure that scanelf is called with the right paths, and properly register ↵Marius Mauch2008-06-081-9/+6
| | | | | | all preserved objects to fix bug #223591 svn path=/main/trunk/; revision=10607
* Bug #225285 - Allow digestcheck() to succeed when the Manifest is missingZac Medico2008-06-081-0/+2
| | | | | | and strict mode is disabled. svn path=/main/trunk/; revision=10604
* Make portdbapi.aux_get() return float type for _mtime_.Zac Medico2008-06-081-1/+4
| | | | svn path=/main/trunk/; revision=10603
* Add additional functions such as eaclocal and eautoheader to theZac Medico2008-06-081-1/+5
| | | | | | inherit.autotools regex. Thanks to Arfrever. svn path=/main/trunk/; revision=10602
* Fix typo.Zac Medico2008-06-081-1/+1
| | | | svn path=/main/trunk/; revision=10601
* Make repoman pass Package instances into run_checks(), so that the checksZac Medico2008-06-083-13/+27
| | | | | | can use the Package.mtime and inherited attributes. svn path=/main/trunk/; revision=10600
* Inside, create_trees(), pass target_root="/" into the config constructorZac Medico2008-06-071-1/+1
| | | | | | when necessary to override the setting in make.conf. svn path=/main/trunk/; revision=10598
* Validate ROOT from make.conf.Zac Medico2008-06-071-0/+2
| | | | svn path=/main/trunk/; revision=10596
* Make load_emerge_config() filter out empty PORTAGE_CONFIGROOT and ROOTZac Medico2008-06-071-1/+3
| | | | | | values, and those containing only whitespace. svn path=/main/trunk/; revision=10594
* Bug #224271 - New check 'IUSE.undefined', renamed from genericZac Medico2008-06-073-1/+6
| | | | | | 'ebuild.minorsyn'. svn path=/main/trunk/; revision=10593
* As suggested by Flameeyes, add a new 'inherit.autotools' check which warnsZac Medico2008-06-073-5/+21
| | | | | | | when autotools has been inherited but none of the eautomake, eautoconf or eautoreconf functions are called like they are supposed to be. svn path=/main/trunk/; revision=10592
* remove old/unused gen_wrapper functionMike Frysinger2008-06-072-10/+1
| | | | svn path=/main/trunk/; revision=10591
* Bug #224271 - Add a 'IUSE is not defined' ebuild.minorsyn warning.Zac Medico2008-06-071-0/+7
| | | | svn path=/main/trunk/; revision=10589
* Add a PackageVirtualDbapi.__getitem__() method.Zac Medico2008-06-061-0/+15
| | | | svn path=/main/trunk/; revision=10588
* Add Package.counter and mtime attributes.Zac Medico2008-06-051-3/+20
| | | | svn path=/main/trunk/; revision=10587
* Add vardbapi.aux_get() support for an "_mtime_" value which corresponds toZac Medico2008-06-051-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. svn path=/main/trunk/; revision=10586
* Bug #224713 - Avoid TypeError when make.conf is missing:Zac Medico2008-06-041-0/+2
| | | | | | TypeError: argument of type 'NoneType' is not iterable svn path=/main/trunk/; revision=10582
* Mention PORTAGE_RO_DISTDIRS in the DISTDIR docs.Zac Medico2008-06-041-1/+6
| | | | svn path=/main/trunk/; revision=10580
* Use sets for more accurate cache modification counts BlockerCache and vardbapi.Zac Medico2008-06-042-9/+9
| | | | svn path=/main/trunk/; revision=10578
* Use platform module to make it clear what we're displaying. Instead ofZac Medico2008-06-041-5/+5
| | | | | | | an 'uname -mrp' call use platform.platform() to describe the system in emerge --info. (branches/prefix r10555) svn path=/main/trunk/; revision=10575
* Use "platform" module instead of os.uname, or -- even worse -- a systemZac Medico2008-06-043-4/+10
| | | | | | | | | call to uname. Change repoman's identification string not to use "processor" on Linux (where it is huge), Interix (where it doesn't exist) and AIX/HP-UX (where it prints "unknown"), but "machine" instead. (branches/prefix r10554) svn path=/main/trunk/; revision=10574
* Fix typo.Zac Medico2008-06-041-1/+1
| | | | svn path=/main/trunk/; revision=10566
* Use a distdir_writable variable in fetch(), for better control of writeZac Medico2008-06-041-8/+10
| | | | | | operations inside ${DISTDIR}. svn path=/main/trunk/; revision=10564
* Update --depclean and package.provided docs to indicate interactionZac Medico2008-06-033-25/+51
| | | | | | between them. svn path=/main/trunk/; revision=10563
* Make PackagesSystemSet.description refer to the real profile rather thanZac Medico2008-06-031-0/+3
| | | | | | /etc/portage/profile when possible. svn path=/main/trunk/; revision=10561
* Avoid an unhandled IndexError thrown from the PackagesSystemSet constructorZac Medico2008-06-031-2/+6
| | | | | | when neither /etc/make.profile nor /etc/portage/profile exist. svn path=/main/trunk/; revision=10560
* Fix regex for compatibility with the regex implementation from FreeBSD'sZac Medico2008-06-031-1/+1
| | | | | | | libc (used by bash on FreeBSD). Thanks to Alexis Ballier <aballier@g.o> for the patch. svn path=/main/trunk/; revision=10558
* Tweak the installed masked code from bug #223447 so that it less noisyZac Medico2008-06-031-3/+4
| | | | | | | by suppressing masking messages for packages that haven't been pulled into the current dependency graph. svn path=/main/trunk/; revision=10553
* Fix typo.Zac Medico2008-06-031-1/+1
| | | | svn path=/main/trunk/; revision=10552
* When pruning the digests to optimize parallel-fetch, use a separate dictZac Medico2008-06-031-6/+9
| | | | | | | so that the original digests are still available if a file needs to be downloaded. svn path=/main/trunk/; revision=10551
* Use float mtime instead of int for finer granularity in vardbapi.match()Zac Medico2008-06-031-1/+1
| | | | | | cache staleness checks. svn path=/main/trunk/; revision=10550
* Add modification threshold for BlockerCache.flush(), to avoid wasteful IO.Zac Medico2008-06-031-6/+10
| | | | svn path=/main/trunk/; revision=10549
* Fix vardbapi.flush_cache() so that it only updates the cache when theZac Medico2008-06-031-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. svn path=/main/trunk/; revision=10548
* Add support for a PORTAGE_RO_DISTDIRS variable. When a given file does notZac Medico2008-06-032-1/+138
| | | | | | | | 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. svn path=/main/trunk/; revision=10547
* Don't unset PORTAGE_BINPKG_FILE because it's readonly.Zac Medico2008-06-031-1/+0
| | | | svn path=/main/trunk/; revision=10546
* Filter PORTAGE_BINPKG_FILE in save_ebuild_env().Zac Medico2008-06-011-0/+1
| | | | svn path=/main/trunk/; revision=10541
* Fix typo.Zac Medico2008-06-011-1/+1
| | | | svn path=/main/trunk/; revision=10538
* Mention masked packages in another --resume message.Zac Medico2008-06-011-3/+3
| | | | svn path=/main/trunk/; revision=10535
* Reference depgraph.UnsatisfiedResumeDep instead of mydepgraph since theZac Medico2008-06-011-1/+1
| | | | | | latter can trigger an UnboundLocalError in some cases (^C for example). svn path=/main/trunk/; revision=10533
* Update the --skipfirst dropped packages warning to mention "masking"Zac Medico2008-06-011-1/+2
| | | | | | in addition to unsatisfied dependencies. svn path=/main/trunk/; revision=10532
* Update the UnsatisfiedResumeDep display to distinguish masked packagesZac Medico2008-06-011-6/+13
| | | | | | from those with unsatisfied dependencies. svn path=/main/trunk/; revision=10529
* Revert changes wrt argument atoms in the previous commit since it's notZac Medico2008-06-011-10/+8
| | | | | | really useful. svn path=/main/trunk/; revision=10528