summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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-191-1/+9
| | | | | | 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
* Remove the rest of eblank.Zac Medico2008-06-171-12/+1
| | | | svn path=/main/branches/2.1.2/; revision=10702
* * Rename NEUTRAL color to BLANK for eblank.Zac Medico2008-06-171-3/+3
| | | | | | | | * 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-171-1/+17
| | | | | | | | 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
* 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
* 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
* Pass missing "installed" parameter into Package constructor. (trunk r10651)Zac Medico2008-06-161-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10662
* Add support for and ACCEPT_CHOSTS variable that controls masking behaviorZac Medico2008-06-151-6/+4
| | | | | | | | | 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
* Use pkg.mtime instead of calling stat().Zac Medico2008-06-101-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10630
* Add CONTENTS indexing support for optimization of owner lookups. TheZac Medico2008-06-092-29/+21
| | | | | | | | | | | | | | | | | | | | 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
* 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-091-1/+3
| | | | | | "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-091-5/+17
| | | | | | | | 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
* 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
* Use sets for more accurate cache modification counts in BlockerCache andZac Medico2008-06-041-5/+5
| | | | | | vardbapi. (trunk r10578) svn path=/main/branches/2.1.2/; revision=10579
* 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
* 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 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
* * Tweak isvalidatom() to treat "null" category as valid, but missing categoryZac Medico2008-05-311-2/+1
| | | | | | | | | | | | 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
* 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
* 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