summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #261675 - Also don't call digestgen() from parallel-fetch processes.Zac Medico2009-03-111-1/+2
| | | | | | (trunk r12798) svn path=/main/branches/2.1.6/; revision=13032
* Bug #261675 - When doebuild() is called by emerge, don't call digestgen()Zac Medico2009-03-111-1/+2
| | | | | | | for FEATURES=digest because it's redundant and it can cause interference with parallel-fetch and parallel builds. (trunk r12797) svn path=/main/branches/2.1.6/; revision=13031
* Make the --digest warning message show for FEATURES=digest. (trunk r12796)Zac Medico2009-03-111-2/+7
| | | | svn path=/main/branches/2.1.6/; revision=13030
* Replace things like [[ $PORTAGE_BUILDDIR/.prepared -nt $WORKDIR ]] withZac Medico2009-03-111-6/+5
| | | | | | | | | simply [[ -e $PORTAGE_BUILDDIR/.prepared ]] since the timestamp of $WORKDIR is practically always newer due to the other hidden files that are created there as each phase is executed. Thanks to Alfredo Tupone <tupone@g.o> for reporting. (trunk r12795) svn path=/main/branches/2.1.6/; revision=13029
* Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit, sinceZac Medico2009-03-111-0/+7
| | | | | | it's incompatible with <=portage-2.1.6.7. (trunk r12794) svn path=/main/branches/2.1.6/; revision=13028
* for pointers cast to 32bit ints, we always want to abort on 64bit systems, ↵Zac Medico2009-03-111-7/+11
| | | | | | | | not just when FEATURES=stricter (trunk r12793) svn path=/main/branches/2.1.6/; revision=13027
* Make EXPORT_FUNCTIONS store it's arguments in an environment variable andZac Medico2009-03-111-12/+25
| | | | | | | | | | perform the function generation after the current inherit call has returned. This allows an eclass to call EXPORT_FUNCTIONS either before or after it inherits other eclasses, and the result is still the same. Thanks to Donnie Berkholz <dberkholz@g.o> for reporting. (trunk r12784:12792 and r12806) svn path=/main/branches/2.1.6/; revision=13026
* Implement _getitem instead of __getitem__ so that the base class __getitem__Zac Medico2009-03-112-23/+6
| | | | | | implementation is used for _mtime_ and _eclasses_ handling. (trunk r12781) svn path=/main/branches/2.1.6/; revision=13025
* In LazyItemsDict.__deepcopy__(), enable deepcopy of lazy items as it wasZac Medico2009-03-111-2/+25
| | | | | | | | before. This requires _LazyItem.__deepcopy__() to be overridden since the default implementation can fail silently, leaving some attributes unset. (trunk r12780) svn path=/main/branches/2.1.6/; revision=13024
* Use slice instead of startwith in stack_* incremental processing. (trunk r12779)Zac Medico2009-03-111-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=13023
* Remove unnecessary list() from previous commit. (trunk r12778)Zac Medico2009-03-111-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13022
* Fix an issue with incomplete deepcopy of _LazyItem instances insideZac Medico2009-03-111-8/+3
| | | | | | LazyItemsDict.__deepcopy__(). Thanks to Arfrever for reporting. (trunk r12777) svn path=/main/branches/2.1.6/; revision=13021
* Fix __getitem__ to convert mtime to long, and remove unreachable codeZac Medico2009-03-111-8/+10
| | | | | | from _parse_data(). (trunk r12776) svn path=/main/branches/2.1.6/; revision=13020
* Always use basestring instead of str with isinstance(). (trunk r12775)Zac Medico2009-03-114-4/+4
| | | | svn path=/main/branches/2.1.6/; revision=13019
* Allow unicode type values in config.__setitem__(). Thanks to Arfrever FrehtesZac Medico2009-03-111-1/+1
| | | | | | Taifersar Arahesis for this patch. (trunk r12774) svn path=/main/branches/2.1.6/; revision=13018
* Simplify LazyItemsDict internals. (trunk r12773)Zac Medico2009-03-111-27/+30
| | | | svn path=/main/branches/2.1.6/; revision=13017
* Fix LazyItemsDict.update() to create new _SingletonWrapper instances thatZac Medico2009-03-111-9/+12
| | | | | | reference self. (trunk r12772) svn path=/main/branches/2.1.6/; revision=13016
* Add keyword argument support to LazyItemsDict.update(). (trunk r12771)Zac Medico2009-03-111-2/+16
| | | | svn path=/main/branches/2.1.6/; revision=13015
* Remove unused import. (trunk r12770)Zac Medico2009-03-111-1/+0
| | | | svn path=/main/branches/2.1.6/; revision=13014
* Define __slots__ for classes derived from ObjectProxy. (trunk r12769)Zac Medico2009-03-111-0/+7
| | | | svn path=/main/branches/2.1.6/; revision=13013
* Send message about unset RESUMECOMMAND to stderr instead of stdout.Zac Medico2009-03-111-1/+1
| | | | | | (trunk r12768) svn path=/main/branches/2.1.6/; revision=13012
* Make digraph store a single priority list for each edge instead of twoZac Medico2009-03-111-7/+16
| | | | | | identical lists. (trunk r12767) svn path=/main/branches/2.1.6/; revision=13011
* whitespace cleanup (trunk r12766)Zac Medico2009-03-111-7/+7
| | | | svn path=/main/branches/2.1.6/; revision=13010
* Fix failure exit status. Thanks to Brian Harring. (trunk r12765)Zac Medico2009-03-111-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13009
* Make config.categories a sorted tuple so that portdbapi can reuse it.Zac Medico2009-03-112-2/+3
| | | | | | (trunk r12760) svn path=/main/branches/2.1.6/; revision=13008
* Add tests for use_reduce() and paren_reduce(). (trunk r12759)Zac Medico2009-03-111-0/+29
| | | | svn path=/main/branches/2.1.6/; revision=13007
* Use enumerate() inside use_reduce() validation code. (trunk r12758)Zac Medico2009-03-111-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=13006
* Use basestring instead of str for isinstance check inside use_reduce() soZac Medico2009-03-112-7/+3
| | | | | | | that it works with unicode and remove related unicode to str workaround code from the sqlite cache module. (trunk r12757) svn path=/main/branches/2.1.6/; revision=13005
* Remove unnecessary setting of default values to empty strings insideZac Medico2009-03-112-5/+0
| | | | | | database._getitem(). (trunk r12756) svn path=/main/branches/2.1.6/; revision=13004
* Make the first argument of update() methods be an optional positional argumentZac Medico2009-03-111-2/+16
| | | | | | instead of a keyword argument. (trunk r12755) svn path=/main/branches/2.1.6/; revision=13003
* Make --searchdesc imply --search inside parse_opts(). (trunk r12754)Zac Medico2009-03-111-8/+3
| | | | svn path=/main/branches/2.1.6/; revision=13002
* Only generate PORTAGE_COUNTER_HASH for actions that can involve vdbZac Medico2009-03-111-1/+2
| | | | | | modification. (trunk r12753) svn path=/main/branches/2.1.6/; revision=13001
* Make --version and action. (trunk r12752)Zac Medico2009-03-111-3/+3
| | | | svn path=/main/branches/2.1.6/; revision=13000
* Set Unpickler.find_global = None when possible and handle AttributeErrorZac Medico2009-03-114-1/+22
| | | | | | for py3k. (trunk r12751) svn path=/main/branches/2.1.6/; revision=12999
* Remove unnecessary creation of lists when iterating over digraphs forZac Medico2009-03-111-2/+2
| | | | | | --buildpkgonly hasallzeros check. (trunk r12750) svn path=/main/branches/2.1.6/; revision=12998
* Bug #261082 - Prefer remote package instances whenever --getbinpkg is enabledZac Medico2009-03-111-1/+1
| | | | | | | (previously local instances were preferred unless --getbinpkgonly was enabled). (trunk r12749) svn path=/main/branches/2.1.6/; revision=12997
* Bug #261082 - Fix --getbinpkgonly code in binarytree._populate() toZac Medico2009-03-111-0/+3
| | | | | | | update the aux_get cache when it's appropriate for a remote package to override a local package. (trunk r12747) svn path=/main/branches/2.1.6/; revision=12996
* Bug #256289 - When displaying an unsatisfied USE dep and all packages withZac Medico2009-03-111-8/+24
| | | | | | | | the required IUSE are masked, show a normal "masked package" message for the package(s) that have the required IUSE (instead of showing the unmasked packages with missing IUSE). (trunk r12746) svn path=/main/branches/2.1.6/; revision=12995
* Fix vdb entry writting code in dyn_install() to avoid generating empty entriesZac Medico2009-03-111-3/+4
| | | | | | in some cases. Thanks to Ned Ludd <solar@g.o> for reporting. (trunk r12745) svn path=/main/branches/2.1.6/; revision=12994
* Make KeyValuePairFileLoader store the values as a strings instead of a lists.Zac Medico2009-03-112-2/+2
| | | | | | (trunk r12744) svn path=/main/branches/2.1.6/; revision=12993
* ACCEPT_CHOSTS applies to unbuilt ebuild now (not just binary packages).Zac Medico2009-03-112-2/+2
| | | | | | (trunk r12743) svn path=/main/branches/2.1.6/; revision=12992
* Fix KeyValuePairFileLoader to only split on '=' once and strip whitespaceZac Medico2009-03-111-3/+3
| | | | | | for keys and values. (trunk r12742) svn path=/main/branches/2.1.6/; revision=12991
* When ACCEPT_CHOSTS is set, enable CHOST masking for unbuilt ebuilds. ThisZac Medico2009-03-113-6/+18
| | | | | | | | behaves as a sanity check to protect people who are cross-compiling from accidentally merging an ebuild with CHOST set incorrectly. Thanks to Ned Ludd <solar@g.o> for reporting the problem. (trunk r12741) svn path=/main/branches/2.1.6/; revision=12990
* Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible().Zac Medico2009-03-111-1/+1
| | | | | | (trunk r12740) svn path=/main/branches/2.1.6/; revision=12989
* When fetch() is called and there is an existing file with the wrong size thatZac Medico2009-03-111-7/+15
| | | | | | | | | | is smaller than PORTAGE_FETCH_RESUME_MIN_SIZE, rename the file instead of deleting it. This is more friendly for cases in which the user is attempting to regenerate the digest but has not used `ebuild --force foo.ebuild manifest` like they're supposed to. Thanks to Patrick Lauer <patrick@g.o> for reporting. (trunk r12739) svn path=/main/branches/2.1.6/; revision=12988
* Don't give portage group write permissions on the mtimedb since it's notZac Medico2009-03-111-1/+2
| | | | | | really needed. (trunk r12738) svn path=/main/branches/2.1.6/; revision=12987
* Thanks to Petteri Räty <betelgeuse@gentoo.org> for this new cache module whichZac Medico2009-03-111-0/+163
| | | | | | | uses extended attributes (via pyxattr) to attach metadata cache directly to the ebuild files themselves. (trunk r12737) svn path=/main/branches/2.1.6/; revision=12986
* Remove redundant long(_mtime_) conversion since template handles it now.Zac Medico2009-03-111-1/+1
| | | | | | (trunk r12736) svn path=/main/branches/2.1.6/; revision=12985
* * Fix portage.cache.template.database.__getitem__() to validate the _mtime_Zac Medico2009-03-114-25/+24
| | | | | | | | | | | field and raise a CacheCorruption exception if necessary. * Make _mtime_ and _eclasses_ validation code in portdbapi and mirror_cache() assume that these fields are the correct type (otherwise a CacheCorruption exeception should be raised earlier). * Fix the sqlite module to implement _getitem() so that it properly inherits __getitem__() _mtime_ and _eclasses_ handling. (trunk r12735) svn path=/main/branches/2.1.6/; revision=12984
* Skip the code from bug #259954 when $ROOT != / since it shouldn't matter ifZac Medico2009-03-111-0/+6
| | | | | | there are unsatisfied system runtime deps in this case. (trunk r12734) svn path=/main/branches/2.1.6/; revision=12983