summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Document the new emerge <file> feature.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10732
* Fix typo.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10731
* Make emerge <path> path search for multiple owners of directories. ThisZac Medico2008-06-201-20/+38
| | | | | | | makes it possible to use `emerge /lib/modules` as a decent substitute for module-rebuild. svn path=/main/trunk/; revision=10730
* Pass a Package instance into LineCheck.new(), and use this to avoidZac Medico2008-06-191-10/+10
| | | | | | | passing the ebuild mtime into the EbuildHeader constructor (the mtime is given when the new() method is called). svn path=/main/trunk/; revision=10725
* Refactor the 'inherit.autotools' and 'IUSE.undefined' checksZac Medico2008-06-191-26/+66
| | | | | | into classes derived from LineCheck. svn path=/main/trunk/; revision=10723
* Bug #228075 - Explicitly call gc.collect() to try and free memoryZac Medico2008-06-181-0/+8
| | | | | | | when checking for blockers. This avoids a heap overflow that triggers 'Cannot allocate memory' errors (reported with python-2.5). svn path=/main/trunk/; revision=10717
* As suggested by remi`, make the 'inherit.autotools' check only ebuilds thatZac Medico2008-06-181-8/+6
| | | | | | | inherit the autotools eclass directly (rather than indirectly through an eclass such as apache-2 or x-modular). svn path=/main/trunk/; revision=10715
* Add an exemption for x-modular in the "inherit.autotools" check. Thanks toZac Medico2008-06-181-3/+4
| | | | | | remi` for reporting. svn path=/main/trunk/; revision=10714
* Bug #225285 - Add a --skip-manifest option that disables all interactionZac Medico2008-06-181-1/+4
| | | | | | with the manifest. svn path=/main/trunk/; revision=10712
* More eblank.Zac Medico2008-06-172-2/+1
| | | | svn path=/main/trunk/; revision=10704
* remove stray lineMarius Mauch2008-06-171-2/+0
| | | | svn path=/main/trunk/; revision=10696
* Remove eblank nonsenseMarius Mauch2008-06-173-16/+3
| | | | svn path=/main/trunk/; revision=10694
* Do not preserve the master link of a library to avoid packages being linked ↵Marius Mauch2008-06-171-0/+14
| | | | | | against preserved libs on rebuilds svn path=/main/trunk/; revision=10693
* fix typoMarius Mauch2008-06-171-2/+2
| | | | svn path=/main/trunk/; revision=10690
* * Rename NEUTRAL color to BLANK for eblank.Zac Medico2008-06-173-3/+18
| | | | | | | * Document the new BLANK code in color.map.5. * Implement python version of eblank for mod_echo. svn path=/main/trunk/; revision=10677
* Add support for an new "eblank" elog function that shows a blank line.Zac Medico2008-06-172-1/+2
| | | | | | | Consecutive eblank calls are all collapsed into a single blank line. Thanks to Joe Peterson <lavajoe@g.o> for this patch. svn path=/main/trunk/; revision=10675
* Fix typo.Zac Medico2008-06-161-1/+1
| | | | svn path=/main/trunk/; revision=10673
* Tweak the config._accept_chost() regex.Zac Medico2008-06-161-1/+1
| | | | svn path=/main/trunk/; revision=10669
* Re-enable vardbapi.cpv_all() cache now that bug #223417 is solved.Zac Medico2008-06-162-2/+2
| | | | svn path=/main/trunk/; revision=10661
* Bug #223417 - Due to 1 second mtime granularity in < python-1.5, mtime checksZac Medico2008-06-161-23/+26
| | | | | | | are not always sufficient to invalidate vardbapi caches. Therefore, the caches need to be actively invalidated when packages are added and removed. svn path=/main/trunk/; revision=10660
* Make some post_merge() things conditional on the vdb lock being heldZac Medico2008-06-161-7/+10
| | | | | | (mtimedb commit and info dirs processing). svn path=/main/trunk/; revision=10659
* Add some write access checks in post_merge() in order to avoid triggeringZac Medico2008-06-161-3/+7
| | | | | | permission related exceptions. svn path=/main/trunk/; revision=10658
* Fix config._accept_chost_re so it's only an instance variable.Zac Medico2008-06-151-1/+1
| | | | svn path=/main/trunk/; revision=10656
* Add support for and ACCEPT_CHOSTS variable that controls masking behaviorZac Medico2008-06-152-6/+25
| | | | | | | | | for binary packages wrt CHOST. The variable is a space separated list of chosts. It support regular expressions, so if the actual chost contains any special characters then the user must escape them when setting ACCEPT_CHOSTS. svn path=/main/trunk/; revision=10654
* Fix the 'inherit.autotools' check to account for apache-2_src_unpack()Zac Medico2008-06-141-0/+5
| | | | | | calling eautoreconf. svn path=/main/trunk/; revision=10653
* Add two new build log qa checks, suggested by Diego Pettenò:Zac Medico2008-06-141-0/+51
| | | | | | | | | * Detect automake "maintainer mode". See http://www.gentoo.org/proj/en/qa/autofailure.xml for more information. * Detect "Unrecognized options" messages from configure scripts. svn path=/main/trunk/; revision=10652
* Pass missing "installed" parameter into Package constructor.Zac Medico2008-06-121-1/+1
| | | | svn path=/main/trunk/; revision=10651
* Handle InvalidDependString in _package_cache.__setitem__().Zac Medico2008-06-111-4/+7
| | | | svn path=/main/trunk/; revision=10648
* Fix indent.Zac Medico2008-06-111-1/+1
| | | | svn path=/main/trunk/; revision=10646
* Handle InvalidDependString.Zac Medico2008-06-111-2/+7
| | | | svn path=/main/trunk/; revision=10645
* Bug #225767 - Suppress warnings for installed packages masked by keywordsZac Medico2008-06-111-1/+34
| | | | | | | if there is an equivalent ebuild in the portage tree (same cpv) with visible keywords. svn path=/main/trunk/; revision=10644
* Add another sanity check in the owners cache.Zac Medico2008-06-101-1/+4
| | | | svn path=/main/trunk/; revision=10640
* Use isinstance() instead of handling TypeError.Zac Medico2008-06-101-4/+2
| | | | svn path=/main/trunk/; revision=10638
* 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-092-59/+249
| | | | | | | | | | | | | | | | | | | | 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
* Make repoman pass Package instances into run_checks(), so that the checksZac Medico2008-06-082-5/+11
| | | | | | 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-071-1/+1
| | | | | | 'ebuild.minorsyn'. svn path=/main/trunk/; revision=10593