summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Exclude calls to autoheader and makeinfo from the automake "maintainer mode"Zac Medico2008-08-171-1/+4
| | | | | | check (filter some false positives). Thanks to Flameeyes. (trunk r10752) svn path=/main/branches/2.1.2/; revision=11424
* Pass a Package instance into LineCheck.new(). (trunk r10725)Zac Medico2008-06-191-4/+4
| | | | svn path=/main/branches/2.1.2/; revision=10726
* Refactor the 'inherit.autotools' and 'IUSE.undefined' checksZac Medico2008-06-191-27/+68
| | | | | | into classes derived from LineCheck. svn path=/main/branches/2.1.2/; revision=10724
* Bug #228075 - Explicitly call gc.collect() to try and free memoryZac Medico2008-06-191-0/+8
| | | | | | | | when checking for blockers. This avoids a heap overflow that triggers 'Cannot allocate memory' errors (reported with python-2.5). (trunk r10717) svn path=/main/branches/2.1.2/; revision=10722
* As suggested by remi`, make the 'inherit.autotools' check only ebuilds thatZac Medico2008-06-191-7/+6
| | | | | | | inherit the autotools eclass directly (rather than indirectly through an eclass such as apache-2 or x-modular). (trunk r10713:10715) svn path=/main/branches/2.1.2/; revision=10721
* Bug #225285 - Add support for persistent options stored in the ↵Zac Medico2008-06-191-3/+10
| | | | | | | | EBUILD_DEFAULT_OPTS environment variable (similar to {EMERGE,QUICKPKG}_DEFAULT_OPTS). (trunk r10713) svn path=/main/branches/2.1.2/; revision=10720
* Bug #225285 - Add a --skip-manifest option that disables all interactionZac Medico2008-06-192-2/+13
| | | | | | with the manifest. svn path=/main/branches/2.1.2/; revision=10719
* Use optparse instead of getopt. (trunk r10709:10711)Zac Medico2008-06-191-13/+20
| | | | svn path=/main/branches/2.1.2/; revision=10718
* More eblank.v2.1.5.6Zac Medico2008-06-172-16/+1
| | | | svn path=/main/branches/2.1.2/; revision=10703
* Remove the rest of eblank.Zac Medico2008-06-174-17/+2
| | | | svn path=/main/branches/2.1.2/; revision=10702
* Revert eblank since a formatting function is out of place among the currentZac Medico2008-06-174-14/+3
| | | | | | function which represent log levels. svn path=/main/branches/2.1.2/; revision=10701
* Add missing helper_functions.docbook from previous commit.Zac Medico2008-06-171-0/+57
| | | | svn path=/main/branches/2.1.2/; revision=10689
* * Document eblank and eqawarn in the ebuild.5 man page.Zac Medico2008-06-173-0/+9
| | | | | | | | | * Create "Ebuild Helper Functions" section docbook format, including all the functions documented in the ebuild.5 man page. (trunk r10687) svn path=/main/branches/2.1.2/; revision=10688
* Add note about bug #226505. (trunk r10685)Zac Medico2008-06-171-0/+9
| | | | svn path=/main/branches/2.1.2/; revision=10686
* Add a "Interaction with previous installed version" section to document theZac Medico2008-06-171-0/+57
| | | | | | | upgrade/downgrade phase execution order change from bug #226505. (trunk r10683) svn path=/main/branches/2.1.2/; revision=10684
* Add "blank" to the default PORTAGE_ELOG_CLASSES setting. (trunk r10681)Zac Medico2008-06-172-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=10682
* Fix BLANK order and color. (trunk r10679)Zac Medico2008-06-171-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=10680
* * Rename NEUTRAL color to BLANK for eblank.Zac Medico2008-06-175-6/+24
| | | | | | | | * Document the new BLANK code in color.map.5. * Implement python version of eblank for mod_echo. (trunk r10677) svn path=/main/branches/2.1.2/; revision=10678
* Add support for an new "eblank" elog function that shows a blank line.Zac Medico2008-06-173-2/+19
| | | | | | | | Consecutive eblank calls are all collapsed into a single blank line. Thanks to Joe Peterson <lavajoe@g.o> for this patch. (trunk r10675) svn path=/main/branches/2.1.2/; revision=10676
* Fix typo. (trunk r10673)Zac Medico2008-06-161-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10674
* Document the new ACCEPT_CHOSTS variable. (trunk r10671)Zac Medico2008-06-162-4/+9
| | | | svn path=/main/branches/2.1.2/; revision=10672
* Tweak the config._accept_chost() regex. (trunk r10669)Zac Medico2008-06-161-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10670
* Re-enable vardbapi.cpv_all() cache now that bug #223417 is solved.Zac Medico2008-06-161-1/+1
| | | | | | (trunk r10661) svn path=/main/branches/2.1.2/; revision=10668
* Bug #223417 - Due to 1 second mtime granularity in < python-1.5, mtime checksZac Medico2008-06-161-22/+25
| | | | | | | | are not always sufficient to invalidate vardbapi caches. Therefore, the caches need to be actively invalidated when packages are added and removed. (trunk r10660) svn path=/main/branches/2.1.2/; revision=10667
* Make some post_merge() things conditional on the vdb lock being heldZac Medico2008-06-161-7/+9
| | | | | | (mtimedb commit and info dirs processing). (trunk r10659) svn path=/main/branches/2.1.2/; revision=10666
* Add some write access checks in post_merge() in order to avoid triggeringZac Medico2008-06-161-3/+7
| | | | | | permission related exceptions. (trunk r10658) svn path=/main/branches/2.1.2/; revision=10665
* Fix the 'inherit.autotools' check to account for apache-2_src_unpack()Zac Medico2008-06-161-0/+5
| | | | | | calling eautoreconf. (trunk r10653) svn path=/main/branches/2.1.2/; revision=10664
* Add two new build log qa checks, suggested by Diego Pettenò:Zac Medico2008-06-161-1/+53
| | | | | | | | | | | * Detect automake "maintainer mode". See http://www.gentoo.org/proj/en/qa/autofailure.xml for more information. * Detect "Unrecognized options" messages from configure scripts. (trunk r10652) svn path=/main/branches/2.1.2/; revision=10663
* Pass missing "installed" parameter into Package constructor. (trunk r10651)Zac Medico2008-06-161-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10662
* Fix config._accept_chost_re so it's only an instance variable.Zac Medico2008-06-151-1/+1
| | | | | | (trunk r10656) svn path=/main/branches/2.1.2/; revision=10657
* 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. (trunk r10654) svn path=/main/branches/2.1.2/; revision=10655
* 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