summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate pordbapi.mysettings since the portdbapi.settings alias is nowZac Medico2010-01-315-40/+45
| | | | | | supported by stable portage. svn path=/main/trunk/; revision=15306
* Validate categories.Zac Medico2010-01-311-1/+2
| | | | svn path=/main/trunk/; revision=15305
* Bug #302937 - Handle declare -r without assignment.Zac Medico2010-01-311-12/+29
| | | | svn path=/main/trunk/; revision=15304
* Fix AttributeError when adjusting incrementals. Thanks to Jonathan CallenZac Medico2010-01-311-7/+4
| | | | | | <abcd@g.o> for reporting. svn path=/main/trunk/; revision=15303
* Reverting r15293, it was actually not needed.Mounir Lamouri2010-01-311-1/+1
| | | | svn path=/main/trunk/; revision=15298
* In __iter__, handle OSError from lstat in case a cache entry disappears.Zac Medico2010-01-311-1/+5
| | | | svn path=/main/trunk/; revision=15297
* Make __iter__ use list.pop() instead of pop(0), for greater efficiency.Zac Medico2010-01-311-6/+4
| | | | svn path=/main/trunk/; revision=15296
* Bug #302764 - Inside __iter__, only recurse 1 deep, in order to avoidZac Medico2010-01-311-4/+10
| | | | | | | | iteration over entries from another nested cache instance. This can happen if the user nests an overlay inside /usr/portage/local. Thanks to Vlastimil Babka <caster@g.o> for this patch. svn path=/main/trunk/; revision=15295
* Avoid NameError when cwd is $FILESDIR. Thanks to Christian Ruppert <idl0r@g.o>Zac Medico2010-01-301-0/+6
| | | | | | for reporting. svn path=/main/trunk/; revision=15294
* Fix: change os.mkdir to os.makedirs in case of there are more than one ↵Mounir Lamouri2010-01-301-1/+1
| | | | | | | | directory depth missing. According to docs.python.org, permissions may be not respected with os.makedirs... with some systems. svn path=/main/trunk/; revision=15293
* Show a DeprecationWarning if the deprecated pordbapi constructor parameterZac Medico2010-01-301-4/+5
| | | | | | is used incorrectly. svn path=/main/trunk/; revision=15292
* fix flat_list cache backendMounir Lamouri2010-01-301-11/+11
| | | | | | looks like it was outdated wrt. template cache backend svn path=/main/trunk/; revision=15291
* Don't generate DeprecationWarning for portdbapi arguments. Wait until newZac Medico2010-01-301-2/+3
| | | | | | portdbapi constructor is in stable portage first. svn path=/main/trunk/; revision=15290
* Fix concatenation of list + tuple in Manifest._createManifestEntries().Zac Medico2010-01-301-4/+4
| | | | svn path=/main/trunk/; revision=15289
* In config._expandLicenseToken(), make sure traversed_groups is only initializedZac Medico2010-01-301-1/+1
| | | | | | when appropriate. svn path=/main/trunk/; revision=15288
* Define __slots__ in all classes.Zac Medico2010-01-301-0/+8
| | | | svn path=/main/trunk/; revision=15287
* fix: python dbm module doesn't accept unicode as keyMounir Lamouri2010-01-301-2/+2
| | | | svn path=/main/trunk/; revision=15286
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-01-301-4/+5
| | | | | | conservation. svn path=/main/trunk/; revision=15285
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-01-301-8/+7
| | | | | | conservation. svn path=/main/trunk/; revision=15284
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-01-301-10/+14
| | | | | | conservation. svn path=/main/trunk/; revision=15283
* Use tuples instead of lists for immutability.Zac Medico2010-01-301-7/+7
| | | | svn path=/main/trunk/; revision=15282
* Deprecate the first parameter of the portdbapi constructor since it is alwaysZac Medico2010-01-302-4/+18
| | | | | | the same as mysettings['PORTDIR']. svn path=/main/trunk/; revision=15281
* Fix code from r15278 for python3 unicode compatibility.Zac Medico2010-01-301-2/+3
| | | | svn path=/main/trunk/; revision=15280
* Fix conditional logic for userpriv_groups intialization.Zac Medico2010-01-301-19/+20
| | | | svn path=/main/trunk/; revision=15279
* Bug #277902 - When excluding config files, instead of using an empty file as aZac Medico2010-01-301-2/+9
| | | | | | | placeholder, use a file containing a comment like this: # empty file because --include-config=n when `quickpkg` was used svn path=/main/trunk/; revision=15278
* Define userpriv_groups earlier in order to avoid an AttributeError fromZac Medico2010-01-291-0/+1
| | | | | | lazy import code. Thanks to antarus for reporting. svn path=/main/trunk/; revision=15277
* Don't ignore CVS/Entries.IO_error when not in commit mode.v2.2_rc62Zac Medico2010-01-291-6/+5
| | | | svn path=/main/trunk/; revision=15272
* Remove code for svn.IO_error and bzr.IO_error categories since they don'tZac Medico2010-01-291-6/+2
| | | | | | | exist therefore and if this code had ever executed it would have raised a KeyError. svn path=/main/trunk/; revision=15222
* Enable EAPI 3 and deprecate EAPI 3_pre2.Zac Medico2010-01-293-13/+13
| | | | svn path=/main/trunk/; revision=15221
* Show the path of the lockfile when chown fails. Thanks to Jeremy OlexaZac Medico2010-01-291-2/+2
| | | | | | <darkside@g.o> for reporting. svn path=/main/trunk/; revision=15220
* In portage.spawn(), apply group write permission to the log file.Zac Medico2010-01-291-0/+2
| | | | svn path=/main/trunk/; revision=15218
* Bug #300378 - Don't export FILESDIR to the 'depend' phase.Zac Medico2010-01-291-0/+3
| | | | svn path=/main/trunk/; revision=15217
* Move the DOM unlink call to a finally block.Zac Medico2010-01-291-18/+20
| | | | svn path=/main/trunk/; revision=15216
* Fix AttributeError from has_versions for atoms with no USE deps. Thanks toZac Medico2010-01-282-3/+3
| | | | | | Arfrever for reporting. svn path=/main/trunk/; revision=15214
* Fix typo in docstring.Zac Medico2010-01-281-1/+1
| | | | svn path=/main/trunk/; revision=15213
* Add an Atom.evaluate_conditionals() method and use where appropriate.Zac Medico2010-01-283-10/+18
| | | | svn path=/main/trunk/; revision=15212
* Add support for evaluation of conditional USE atoms in has_version andZac Medico2010-01-271-11/+36
| | | | | | best_version arguments, using the USE environment variable. svn path=/main/trunk/; revision=15211
* Add a warning for built_with_use. Thanks to Petteri Räty <betelgeuse@g.o> forZac Medico2010-01-242-2/+8
| | | | | | this patch. svn path=/main/trunk/; revision=15209
* Bug #302005 - Remove broken test code.Zac Medico2010-01-241-12/+0
| | | | svn path=/main/trunk/; revision=15208
* Bug #301926 - Handle ValueError in parseManifest2(), triggered by corruptZac Medico2010-01-241-1/+4
| | | | | | manifest entry. svn path=/main/trunk/; revision=15207
* Fix Manifest commit logic for cvs and svn. Thanks to Rafael MartinsZac Medico2010-01-191-4/+4
| | | | | | <rafael@rafaelmartins.com>. svn path=/main/trunk/; revision=15205
* Invert some vcs conditionals that are specific to cvs and svn.Zac Medico2010-01-181-3/+3
| | | | svn path=/main/trunk/; revision=15204
* Support mercurial. Thanks to Rafael Martins <rafael@rafaelmartins.com> for Zac Medico2010-01-181-15/+60
| | | | | | this patch. svn path=/main/trunk/; revision=15203
* Don't bail out if postinst fails. Thanks to Brain Harring for the suggestion.Zac Medico2010-01-181-2/+2
| | | | svn path=/main/trunk/; revision=15202
* Remove ibiblio.org from the default GENTOO_MIRRORS value. Thanks toZac Medico2010-01-181-2/+3
| | | | | | Jeremy Olexa <darkside@g.o> for this patch. svn path=/main/trunk/; revision=15201
* Make sure repoman knows about all files in the directory to commit using ↵Fabian Groffen2010-01-141-1/+1
| | | | | | bzr. Patch by Christian Faulhammer. svn path=/main/trunk/; revision=15199
* Bug #300744 - Inside xpak(), exclude CONTENTS for quickpkg since contents isZac Medico2010-01-131-0/+3
| | | | | | generated by the merge process. svn path=/main/trunk/; revision=15198
* Use encoded byte strings with python-2.x, since the python ebuilds areZac Medico2010-01-131-10/+14
| | | | | | | known to remove the encodings module when USE=build is enabled (thus disabling unicode decoding/encoding). svn path=/main/trunk/; revision=15197
* Fix output handling to avoid potential UnicodeEncodeError.Zac Medico2010-01-121-3/+9
| | | | svn path=/main/trunk/; revision=15196
* Fix unicode quote handling to work with python3.Zac Medico2010-01-111-4/+16
| | | | svn path=/main/trunk/; revision=15195