summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make Glsa constructor raise GlsaFormatException when a package name attributeZac Medico2010-02-091-0/+8
| | | | | | is invalid. svn path=/main/trunk/; revision=15328
* Skip atom validation in WorldHandler since WorldSelectedSet handles thisZac Medico2010-02-091-3/+2
| | | | | | already, and use Atom.cp instead of dep_getkey(). svn path=/main/trunk/; revision=15327
* Import portage.StringIO for ImportError handling.Zac Medico2010-02-071-1/+1
| | | | svn path=/main/trunk/; revision=15326
* Add a portdbapi.getRepositoryName() method which is the inverse ofZac Medico2010-02-061-0/+12
| | | | | | getRepositoryPath(). svn path=/main/trunk/; revision=15325
* Fix deprecated reference to portdbapi.mysettings.Zac Medico2010-02-051-1/+1
| | | | svn path=/main/trunk/; revision=15324
* Add an optional 'categories' parameter to portdbapi.cp_all(), for listingZac Medico2010-02-051-2/+4
| | | | | | a subset of categories. Thanks to dol-sen for the suggestion. svn path=/main/trunk/; revision=15323
* Bug #303401 - Fix emerge.log disabling code that's been broken sinceZac Medico2010-02-042-3/+6
| | | | | | portage-2.1.7 when the _emerge module got split up. svn path=/main/trunk/; revision=15322
* Bug #303445 - Fix getmaskingreason() to reset comment state when looping toZac Medico2010-02-041-3/+2
| | | | | | the next package.mask file. svn path=/main/trunk/; revision=15321
* Make verify_all() do checksums in sorted order by hash name.Zac Medico2010-02-031-1/+1
| | | | svn path=/main/trunk/; revision=15318
* Bug #295197 - Output a newline after valid user input is received.Zac Medico2010-02-021-0/+2
| | | | svn path=/main/trunk/; revision=15317
* Use Package.use.enabled where appropriate.Zac Medico2010-02-021-1/+1
| | | | svn path=/main/trunk/; revision=15316
* Use stat rather than lstat since portage.fetch() creates symlinks whenZac Medico2010-02-021-1/+3
| | | | | | PORTAGE_RO_DISTDIRS is used. svn path=/main/trunk/; revision=15315
* Fix deprecated portdbapi.mysettings reference.Zac Medico2010-02-021-1/+1
| | | | svn path=/main/trunk/; revision=15314
* Make sure the fetcher process correctly inherits PORTAGE_CONFIGROOT.Zac Medico2010-02-011-0/+1
| | | | svn path=/main/trunk/; revision=15313
* Optimize parallel-fetch for the case where all files are already fetched andZac Medico2010-02-011-0/+52
| | | | | | | have the correct size. In this case we can avoid the expense of spawning ebuild(1). svn path=/main/trunk/; revision=15312
* Deallocate config instance when necessary, to avoid memory leak when inZac Medico2010-02-011-0/+3
| | | | | | prefetch mode. svn path=/main/trunk/; revision=15311
* Simplify the conditional that triggers calculation of A and AA variables.Zac Medico2010-02-011-1/+1
| | | | svn path=/main/trunk/; revision=15310
* Clean up config incrementals handling.Zac Medico2010-01-311-7/+6
| | | | svn path=/main/trunk/; revision=15309
* Fix @module-rebuild to support $ROOT.Zac Medico2010-01-312-2/+5
| | | | svn path=/main/trunk/; revision=15308
* Bug #298141 - Make /etc/portage/sets relative to PORTAGE_CONFIGROOT. ThanksZac Medico2010-01-312-2/+3
| | | | | | to Martin Gysel (bearsh) <m.gysel@gmx.ch> for this patch. svn path=/main/trunk/; revision=15307
* 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