summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix failure exit status. Thanks to Brian Harring.Zac Medico2009-03-061-1/+1
| | | | svn path=/main/trunk/; revision=12765
* Make config.categories a sorted tuple so that portdbapi can reuse it.Zac Medico2009-03-052-2/+3
| | | | svn path=/main/trunk/; revision=12760
* Add tests for use_reduce() and paren_reduce().Zac Medico2009-03-051-0/+29
| | | | svn path=/main/trunk/; revision=12759
* Use enumerate() inside use_reduce() validation code.Zac Medico2009-03-051-2/+2
| | | | svn path=/main/trunk/; revision=12758
* Use basestring instead of str for isinstance check inside use_reduce() soZac Medico2009-03-052-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 insideZac Medico2009-03-052-5/+0
| | | | | | database._getitem(). svn path=/main/trunk/; revision=12756
* Make the first argument of update() methods be an optional positional argumentZac Medico2009-03-051-2/+16
| | | | | | instead of a keyword argument. svn path=/main/trunk/; revision=12755
* Make --searchdesc imply --search inside parse_opts().Zac Medico2009-03-051-8/+3
| | | | svn path=/main/trunk/; revision=12754
* Only generate PORTAGE_COUNTER_HASH for actions that can involve vdbZac Medico2009-03-051-1/+2
| | | | | | modification. svn path=/main/trunk/; revision=12753
* Make --version and action.Zac Medico2009-03-051-3/+3
| | | | svn path=/main/trunk/; revision=12752
* Set Unpickler.find_global = None when possible and handle AttributeErrorZac Medico2009-03-054-1/+22
| | | | | | for py3k. svn path=/main/trunk/; revision=12751
* Remove unnecessary creation of lists when iterating over digraphs forZac Medico2009-03-051-2/+2
| | | | | | --buildpkgonly hasallzeros check. svn path=/main/trunk/; revision=12750
* Bug #261082 - Prefer remote package instances whenever --getbinpkg is enabledZac Medico2009-03-041-1/+1
| | | | | | (previously local instances were preferred unless --getbinpkgonly was enabled). svn path=/main/trunk/; revision=12749
* Make glsa-check executable.Zac Medico2009-03-041-0/+0
| | | | svn path=/main/trunk/; revision=12748
* Bug #261082 - Fix --getbinpkgonly code in binarytree._populate() toZac Medico2009-03-041-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 withZac Medico2009-03-041-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
* Fix vdb entry writting code in dyn_install() to avoid generating empty entriesZac Medico2009-03-041-3/+4
| | | | | | in some cases. Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=12745
* Make KeyValuePairFileLoader store the values as a strings instead of a lists.Zac Medico2009-03-032-2/+2
| | | | svn path=/main/trunk/; revision=12744
* ACCEPT_CHOSTS applies to unbuilt ebuild now (not just binary packages).Zac Medico2009-03-032-2/+2
| | | | svn path=/main/trunk/; revision=12743
* Fix KeyValuePairFileLoader to only split on '=' once and strip whitespaceZac Medico2009-03-021-3/+3
| | | | | | for keys and values. svn path=/main/trunk/; revision=12742
* When ACCEPT_CHOSTS is set, enable CHOST masking for unbuilt ebuilds. ThisZac Medico2009-03-023-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 Medico2009-03-021-1/+1
| | | | svn path=/main/trunk/; revision=12740
* When fetch() is called and there is an existing file with the wrong size thatZac Medico2009-03-021-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 notZac Medico2009-03-011-1/+2
| | | | | | really needed. svn path=/main/trunk/; revision=12738
* Thanks to Petteri Räty <betelgeuse@gentoo.org> for this new cache module whichZac Medico2009-03-011-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 Medico2009-03-011-1/+1
| | | | svn path=/main/trunk/; revision=12736
* * Fix portage.cache.template.database.__getitem__() to validate the _mtime_Zac Medico2009-03-014-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 ifZac Medico2009-03-011-0/+6
| | | | | | there are unsatisfied system runtime deps in this case. svn path=/main/trunk/; revision=12734
* When checking ebuild content, use codecs.open() to force utf_8 encoding forZac Medico2009-02-281-7/+11
| | | | | | py3k compatibility (all ebuilds should have utf_8 encoding). svn path=/main/trunk/; revision=12733
* In _ensure_default_encoding(), make sure the default encoding is normalized.Zac Medico2009-02-281-1/+1
| | | | svn path=/main/trunk/; revision=12732
* Add support to _ensure_default_encoding() for the same ascii and utf_8Zac Medico2009-02-281-2/+12
| | | | | | aliases that encodings.aliases has. svn path=/main/trunk/; revision=12731
* Make Atom instances consume less memory by implementing str methods at theZac Medico2009-02-281-9/+61
| | | | | | class level instead of referencing bound str methods. svn path=/main/trunk/; revision=12730
* Use Popen.communicate() to avoid a potential deadlock.Zac Medico2009-02-271-2/+2
| | | | svn path=/main/trunk/; revision=12729
* Open then temp file in text mode for py3k compatibility.Zac Medico2009-02-271-1/+1
| | | | svn path=/main/trunk/; revision=12728
* Open the temp file in text mode for py3k compatibility.Zac Medico2009-02-271-2/+1
| | | | svn path=/main/trunk/; revision=12727
* Open the temp file in text mode for py3k compatibility.Zac Medico2009-02-271-3/+3
| | | | svn path=/main/trunk/; revision=12726
* Use os.fdopen() on file descriptors returned from mkstemp().Zac Medico2009-02-272-4/+4
| | | | svn path=/main/trunk/; revision=12725
* Open the temp file in text mode for py3k compatibility.Zac Medico2009-02-271-3/+5
| | | | svn path=/main/trunk/; revision=12724
* Open the temp file in text mode for py3k compatibility.Zac Medico2009-02-271-1/+1
| | | | svn path=/main/trunk/; revision=12723
* Use unicode() so that 2to3 handles py3k compatibility.Zac Medico2009-02-271-5/+1
| | | | svn path=/main/trunk/; revision=12722
* Fix CommandOutputSet to decode binary command output in py3k.Zac Medico2009-02-271-2/+6
| | | | svn path=/main/trunk/; revision=12721
* Fix PipeReader and PipeReaderTestCase to work with binary strings in py3k.Zac Medico2009-02-272-1/+6
| | | | svn path=/main/trunk/; revision=12720
* Loosen EMakeParallelDisabled.re so it can match more variations.Zac Medico2009-02-271-1/+1
| | | | svn path=/main/trunk/; revision=12719
* Add a new upstream.workaround check for hardcoded MAKEOPTS=-j1 (previouslyZac Medico2009-02-272-2/+9
| | | | | | | only emake -j1 was recognized). Thanks to Maciej Mrozowski <reavertm@poczta.fm> for this patch. svn path=/main/trunk/; revision=12718
* Fix test breakage due to change in calling order of AsynchronousTask startZac Medico2009-02-271-5/+7
| | | | | | listeners from r12713. svn path=/main/trunk/; revision=12717
* Fix a case in which a SRC_URI is incorrectly idendified as invalid, and addZac Medico2009-02-272-0/+4
| | | | | | a corresponding test case. Thanks to Jacob Floyd for reporting. svn path=/main/trunk/; revision=12716
* Remove recursion code from Scheduler._system_merge_started() since indirectZac Medico2009-02-261-38/+13
| | | | | | deps are checked when the corresponding parent is merged. svn path=/main/trunk/; revision=12715
* In traversing deps to add to Scheduler._unsatisfied_system_deps, only traverseZac Medico2009-02-261-1/+8
| | | | | | | | completed 'merge' nodes since those are the only ones that need to be checked for unsatisfied runtime deps, and it's normal for nodes that aren't yet complete to have unsatisfied runtime deps. svn path=/main/trunk/; revision=12714
* Bug #259954 - Do not spawn parallel build when the system is in a fragileZac Medico2009-02-261-1/+65
| | | | | | | state due to a system package having an unsatisfied runtime dependency (such as sys-libs/pam having an unsatisfied PDEPEND on sys-auth/pambase). svn path=/main/trunk/; revision=12713
* reject all set*id binaries that have DT_RPATH:$ORIGIN #260331Mike Frysinger2009-02-261-3/+8
| | | | svn path=/main/trunk/; revision=12712