Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reorganize code for --digests and FEATURES=digest. | Zac Medico | 2009-03-09 | 1 | -21/+49 |
| | | | | svn path=/main/trunk/; revision=12801 | ||||
* | Never call digestgen() inside doebuild() which only 'fetch' has been | Zac Medico | 2009-03-09 | 1 | -1/+4 |
| | | | | | | requested since it's not needed in this case. svn path=/main/trunk/; revision=12800 | ||||
* | Bug #261675 - Generate manifests in advance when FEATURES=digest is enabled. | Zac Medico | 2009-03-09 | 1 | -1/+8 |
| | | | | svn path=/main/trunk/; revision=12799 | ||||
* | Bug #261675 - Also don't call digestgen() from parallel-fetch processes. | Zac Medico | 2009-03-09 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=12798 | ||||
* | Bug #261675 - When doebuild() is called by emerge, don't call digestgen() | Zac Medico | 2009-03-09 | 1 | -1/+2 |
| | | | | | | | for FEATURES=digest because it's redundant and it can cause interference with parallel-fetch and parallel builds. svn path=/main/trunk/; revision=12797 | ||||
* | Make the --digest warning message show for FEATURES=digest. | Zac Medico | 2009-03-09 | 1 | -2/+7 |
| | | | | svn path=/main/trunk/; revision=12796 | ||||
* | Implement _getitem instead of __getitem__ so that the base class __getitem__ | Zac Medico | 2009-03-08 | 2 | -23/+6 |
| | | | | | | implementation is used for _mtime_ and _eclasses_ handling. svn path=/main/trunk/; revision=12781 | ||||
* | In LazyItemsDict.__deepcopy__(), enable deepcopy of lazy items as it was | Zac Medico | 2009-03-07 | 1 | -2/+25 |
| | | | | | | | before. This requires _LazyItem.__deepcopy__() to be overridden since the default implementation can fail silently, leaving some attributes unset. svn path=/main/trunk/; revision=12780 | ||||
* | Use slice instead of startwith in stack_* incremental processing. | Zac Medico | 2009-03-07 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=12779 | ||||
* | Remove unnecessary list() from previous commit. | Zac Medico | 2009-03-07 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12778 | ||||
* | Fix an issue with incomplete deepcopy of _LazyItem instances inside | Zac Medico | 2009-03-07 | 1 | -8/+3 |
| | | | | | | LazyItemsDict.__deepcopy__(). Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=12777 | ||||
* | Fix __getitem__ to convert mtime to long, and remove unreachable code | Zac Medico | 2009-03-07 | 1 | -8/+10 |
| | | | | | | from _parse_data(). svn path=/main/trunk/; revision=12776 | ||||
* | Always use basestring instead of str with isinstance(). | Zac Medico | 2009-03-07 | 4 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=12775 | ||||
* | Allow unicode type values in config.__setitem__(). Thanks to Arfrever Frehtes | Zac Medico | 2009-03-07 | 1 | -1/+1 |
| | | | | | | Taifersar Arahesis for this patch. svn path=/main/trunk/; revision=12774 | ||||
* | Simplify LazyItemsDict internals. | Zac Medico | 2009-03-07 | 1 | -27/+30 |
| | | | | svn path=/main/trunk/; revision=12773 | ||||
* | Fix LazyItemsDict.update() to create new _SingletonWrapper instances that | Zac Medico | 2009-03-07 | 1 | -9/+12 |
| | | | | | | reference self. svn path=/main/trunk/; revision=12772 | ||||
* | Add keyword argument support to LazyItemsDict.update(). | Zac Medico | 2009-03-06 | 1 | -2/+16 |
| | | | | svn path=/main/trunk/; revision=12771 | ||||
* | Remove unused import. | Zac Medico | 2009-03-06 | 1 | -1/+0 |
| | | | | svn path=/main/trunk/; revision=12770 | ||||
* | Define __slots__ for classes derived from ObjectProxy. | Zac Medico | 2009-03-06 | 1 | -0/+7 |
| | | | | svn path=/main/trunk/; revision=12769 | ||||
* | Send message about unset RESUMECOMMAND to stderr instead of stdout. | Zac Medico | 2009-03-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12768 | ||||
* | Make digraph store a single priority list for each edge instead of two | Zac Medico | 2009-03-06 | 1 | -7/+16 |
| | | | | | | identical lists. svn path=/main/trunk/; revision=12767 | ||||
* | whitespace cleanup | Zac Medico | 2009-03-06 | 1 | -7/+7 |
| | | | | svn path=/main/trunk/; revision=12766 | ||||
* | Fix failure exit status. Thanks to Brian Harring. | Zac Medico | 2009-03-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12765 | ||||
* | Make config.categories a sorted tuple so that portdbapi can reuse it. | Zac Medico | 2009-03-05 | 2 | -2/+3 |
| | | | | svn path=/main/trunk/; revision=12760 | ||||
* | Add tests for use_reduce() and paren_reduce(). | Zac Medico | 2009-03-05 | 1 | -0/+29 |
| | | | | svn path=/main/trunk/; revision=12759 | ||||
* | Use enumerate() inside use_reduce() validation code. | Zac Medico | 2009-03-05 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=12758 | ||||
* | Use basestring instead of str for isinstance check inside use_reduce() so | Zac Medico | 2009-03-05 | 2 | -7/+3 |
| | | | | | | | that it works with unicode and remove related unicode to str workaround code from the sqlite cache module. svn path=/main/trunk/; revision=12757 | ||||
* | Remove unnecessary setting of default values to empty strings inside | Zac Medico | 2009-03-05 | 2 | -5/+0 |
| | | | | | | database._getitem(). svn path=/main/trunk/; revision=12756 | ||||
* | Make the first argument of update() methods be an optional positional argument | Zac Medico | 2009-03-05 | 1 | -2/+16 |
| | | | | | | instead of a keyword argument. svn path=/main/trunk/; revision=12755 | ||||
* | Make --searchdesc imply --search inside parse_opts(). | Zac Medico | 2009-03-05 | 1 | -8/+3 |
| | | | | svn path=/main/trunk/; revision=12754 | ||||
* | Only generate PORTAGE_COUNTER_HASH for actions that can involve vdb | Zac Medico | 2009-03-05 | 1 | -1/+2 |
| | | | | | | modification. svn path=/main/trunk/; revision=12753 | ||||
* | Make --version and action. | Zac Medico | 2009-03-05 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=12752 | ||||
* | Set Unpickler.find_global = None when possible and handle AttributeError | Zac Medico | 2009-03-05 | 4 | -1/+22 |
| | | | | | | for py3k. svn path=/main/trunk/; revision=12751 | ||||
* | Remove unnecessary creation of lists when iterating over digraphs for | Zac Medico | 2009-03-05 | 1 | -2/+2 |
| | | | | | | --buildpkgonly hasallzeros check. svn path=/main/trunk/; revision=12750 | ||||
* | Bug #261082 - Prefer remote package instances whenever --getbinpkg is enabled | Zac Medico | 2009-03-04 | 1 | -1/+1 |
| | | | | | | (previously local instances were preferred unless --getbinpkgonly was enabled). svn path=/main/trunk/; revision=12749 | ||||
* | Bug #261082 - Fix --getbinpkgonly code in binarytree._populate() to | Zac Medico | 2009-03-04 | 1 | -0/+3 |
| | | | | | | | update the aux_get cache when it's appropriate for a remote package to override a local package. svn path=/main/trunk/; revision=12747 | ||||
* | Bug #256289 - When displaying an unsatisfied USE dep and all packages with | Zac Medico | 2009-03-04 | 1 | -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). svn path=/main/trunk/; revision=12746 | ||||
* | Make KeyValuePairFileLoader store the values as a strings instead of a lists. | Zac Medico | 2009-03-03 | 2 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=12744 | ||||
* | Fix KeyValuePairFileLoader to only split on '=' once and strip whitespace | Zac Medico | 2009-03-02 | 1 | -3/+3 |
| | | | | | | for keys and values. svn path=/main/trunk/; revision=12742 | ||||
* | When ACCEPT_CHOSTS is set, enable CHOST masking for unbuilt ebuilds. This | Zac Medico | 2009-03-02 | 3 | -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. svn path=/main/trunk/; revision=12741 | ||||
* | Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible(). | Zac Medico | 2009-03-02 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12740 | ||||
* | When fetch() is called and there is an existing file with the wrong size that | Zac Medico | 2009-03-02 | 1 | -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. svn path=/main/trunk/; revision=12739 | ||||
* | Don't give portage group write permissions on the mtimedb since it's not | Zac Medico | 2009-03-01 | 1 | -1/+2 |
| | | | | | | really needed. svn path=/main/trunk/; revision=12738 | ||||
* | Thanks to Petteri Räty <betelgeuse@gentoo.org> for this new cache module which | Zac Medico | 2009-03-01 | 1 | -0/+163 |
| | | | | | | | uses extended attributes (via pyxattr) to attach metadata cache directly to the ebuild files themselves. svn path=/main/trunk/; revision=12737 | ||||
* | Remove redundant long(_mtime_) conversion since template handles it now. | Zac Medico | 2009-03-01 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12736 | ||||
* | * Fix portage.cache.template.database.__getitem__() to validate the _mtime_ | Zac Medico | 2009-03-01 | 4 | -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. svn path=/main/trunk/; revision=12735 | ||||
* | Skip the code from bug #259954 when $ROOT != / since it shouldn't matter if | Zac Medico | 2009-03-01 | 1 | -0/+6 |
| | | | | | | there are unsatisfied system runtime deps in this case. svn path=/main/trunk/; revision=12734 | ||||
* | In _ensure_default_encoding(), make sure the default encoding is normalized. | Zac Medico | 2009-02-28 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12732 | ||||
* | Add support to _ensure_default_encoding() for the same ascii and utf_8 | Zac Medico | 2009-02-28 | 1 | -2/+12 |
| | | | | | | aliases that encodings.aliases has. svn path=/main/trunk/; revision=12731 | ||||
* | Make Atom instances consume less memory by implementing str methods at the | Zac Medico | 2009-02-28 | 1 | -9/+61 |
| | | | | | | class level instead of referencing bound str methods. svn path=/main/trunk/; revision=12730 |