summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Use os.environ instead of the config.environ(). This solves binpkg extractionZac Medico2010-03-021-9/+4
| | | | | | | issues with catalyst stage1 due to PATH being unset and bzip2/tar binaries not being found by bash. (trunk r15344) svn path=/main/branches/2.1.7/; revision=15571
* Logg errors that occur during binpkg extraction. (trunk r15343)Zac Medico2010-03-022-4/+13
| | | | svn path=/main/branches/2.1.7/; revision=15570
* Remove unnecessary newline in dblink._eerror message. (trunk r15342)Zac Medico2010-03-021-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15569
* Fix dblink._eerror argument where list is required instead of string.Zac Medico2010-03-021-1/+2
| | | | | | (trunk r15341) svn path=/main/branches/2.1.7/; revision=15568
* Make previous commit use eerror for logging. (trunk r15339)Zac Medico2010-03-021-3/+2
| | | | svn path=/main/branches/2.1.7/; revision=15567
* try to be more forgiving if unlinking fails, because we end up in an unknownZac Medico2010-03-021-0/+12
| | | | | | | state if we die right away, as demonstrated by darkside (branches/prefix r15337) (trunk r15338) svn path=/main/branches/2.1.7/; revision=15566
* Ignore blockers in DEPEND of built packages when --with-bdeps is enabled.Zac Medico2010-03-021-6/+16
| | | | | | (trunk r15336) svn path=/main/branches/2.1.7/; revision=15565
* Bug #303211 - Discard invalid SIZE metadata when using the old binhostZac Medico2010-03-021-0/+11
| | | | | | protocol. (trunk r15333) svn path=/main/branches/2.1.7/; revision=15564
* Bug #298479 - Filter $USER from the ebuild environment since it's inaccurateZac Medico2010-03-021-1/+1
| | | | | | with FEATURES=userpriv. (trunk r15332) svn path=/main/branches/2.1.7/; revision=15563
* Use Atom.cp instead of dep_getkey(). (trunk r15331)Zac Medico2010-03-021-5/+4
| | | | svn path=/main/branches/2.1.7/; revision=15562
* Add a portdbapi.getRepositoryName() method which is the inverse ofZac Medico2010-03-021-0/+12
| | | | | | getRepositoryPath(). (trunk r15325) svn path=/main/branches/2.1.7/; revision=15558
* Add an optional 'categories' parameter to portdbapi.cp_all(), for listingZac Medico2010-03-021-2/+4
| | | | | | a subset of categories. Thanks to dol-sen for the suggestion. (trunk r15323) svn path=/main/branches/2.1.7/; revision=15556
* Bug #303401 - Fix emerge.log disabling code that's been broken sinceZac Medico2010-03-022-3/+6
| | | | | | portage-2.1.7 when the _emerge module got split up. (trunk r15322) svn path=/main/branches/2.1.7/; revision=15555
* Bug #303445 - Fix getmaskingreason() to reset comment state when looping toZac Medico2010-03-021-3/+2
| | | | | | the next package.mask file. (trunk r15321) svn path=/main/branches/2.1.7/; revision=15554
* Make verify_all() do checksums in sorted order by hash name. (trunk r15318)Zac Medico2010-03-021-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15553
* Use Package.use.enabled where appropriate. (trunk r15316)Zac Medico2010-03-021-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15551
* Use stat rather than lstat since portage.fetch() creates symlinks whenZac Medico2010-03-021-1/+3
| | | | | | PORTAGE_RO_DISTDIRS is used. (trunk r15315) svn path=/main/branches/2.1.7/; revision=15550
* Fix deprecated portdbapi.mysettings reference. (trunk r15314)Zac Medico2010-03-021-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15549
* Make sure the fetcher process correctly inherits PORTAGE_CONFIGROOT.Zac Medico2010-03-021-0/+1
| | | | | | (trunk r15313) svn path=/main/branches/2.1.7/; revision=15548
* Optimize parallel-fetch for the case where all files are already fetched andZac Medico2010-03-021-0/+52
| | | | | | | have the correct size. In this case we can avoid the expense of spawning ebuild(1). (trunk r15312) svn path=/main/branches/2.1.7/; revision=15547
* Deallocate config instance when necessary, to avoid memory leak when inZac Medico2010-03-021-0/+3
| | | | | | prefetch mode. (trunk r15311) svn path=/main/branches/2.1.7/; revision=15546
* Simplify the conditional that triggers calculation of A and AA variables.Zac Medico2010-03-021-1/+1
| | | | | | (trunk r15310) svn path=/main/branches/2.1.7/; revision=15545
* Fix @module-rebuild to support $ROOT. (trunk r15308)Zac Medico2010-03-021-2/+4
| | | | svn path=/main/branches/2.1.7/; revision=15543
* Bug #298141 - Make /etc/portage/sets relative to PORTAGE_CONFIGROOT. ThanksZac Medico2010-03-021-1/+2
| | | | | | to Martin Gysel (bearsh) <m.gysel@gmx.ch> for this patch. (trunk r15307) svn path=/main/branches/2.1.7/; revision=15542
* Deprecate pordbapi.mysettings since the portdbapi.settings alias is nowZac Medico2010-03-024-38/+43
| | | | | | supported by stable portage. (trunk r15306) svn path=/main/branches/2.1.7/; revision=15541
* Validate categories. (trunk r15305)Zac Medico2010-03-021-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=15540
* Reverting r15293, it was actually not needed. (trunk r15298)Zac Medico2010-03-021-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15537
* In __iter__, handle OSError from lstat in case a cache entry disappears.Zac Medico2010-03-021-1/+5
| | | | | | (trunk r15297) svn path=/main/branches/2.1.7/; revision=15536
* Make __iter__ use list.pop() instead of pop(0), for greater efficiency.Zac Medico2010-03-021-6/+4
| | | | | | (trunk r15296) svn path=/main/branches/2.1.7/; revision=15535
* Bug #302764 - Inside __iter__, only recurse 1 deep, in order to avoidZac Medico2010-03-021-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. (trunk r15295) svn path=/main/branches/2.1.7/; revision=15534
* Fix: change os.mkdir to os.makedirs in case of there are more than one ↵Zac Medico2010-03-021-1/+1
| | | | | | | | | directory depth missing. According to docs.python.org, permissions may be not respected with os.makedirs... with some systems. (trunk r15293) svn path=/main/branches/2.1.7/; revision=15532
* Show a DeprecationWarning if the deprecated pordbapi constructor parameterZac Medico2010-03-021-4/+5
| | | | | | is used incorrectly. (trunk r15292) svn path=/main/branches/2.1.7/; revision=15531
* fix flat_list cache backendZac Medico2010-03-021-11/+11
| | | | | | looks like it was outdated wrt. template cache backend (trunk r15291) svn path=/main/branches/2.1.7/; revision=15530
* Don't generate DeprecationWarning for portdbapi arguments. Wait until newZac Medico2010-03-021-2/+3
| | | | | | portdbapi constructor is in stable portage first. (trunk r15290) svn path=/main/branches/2.1.7/; revision=15529
* Fix concatenation of list + tuple in Manifest._createManifestEntries().Zac Medico2010-03-021-4/+4
| | | | | | (trunk r15289) svn path=/main/branches/2.1.7/; revision=15528
* In config._expandLicenseToken(), make sure traversed_groups is only initializedZac Medico2010-03-021-1/+1
| | | | | | when appropriate. (trunk r15288) svn path=/main/branches/2.1.7/; revision=15527
* Define __slots__ in all classes. (trunk r15287)Zac Medico2010-03-021-0/+8
| | | | svn path=/main/branches/2.1.7/; revision=15526
* fix: python dbm module doesn't accept unicode as key (trunk r15286)Zac Medico2010-03-021-2/+2
| | | | svn path=/main/branches/2.1.7/; revision=15525
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-03-021-4/+5
| | | | | | conservation. (trunk r15285) svn path=/main/branches/2.1.7/; revision=15524
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-03-021-8/+7
| | | | | | conservation. (trunk r15284) svn path=/main/branches/2.1.7/; revision=15523
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-03-021-10/+14
| | | | | | conservation. (trunk r15283) svn path=/main/branches/2.1.7/; revision=15522
* Use tuples instead of lists for immutability. (trunk r15282)Zac Medico2010-03-021-7/+7
| | | | svn path=/main/branches/2.1.7/; revision=15521
* Deprecate the first parameter of the portdbapi constructor since it is alwaysZac Medico2010-03-021-3/+17
| | | | | | the same as mysettings['PORTDIR']. (trunk r15281) svn path=/main/branches/2.1.7/; revision=15520
* Fix code from r15278 for python3 unicode compatibility. (trunk r15280)Zac Medico2010-03-021-2/+3
| | | | svn path=/main/branches/2.1.7/; revision=15519
* Fix conditional logic for userpriv_groups intialization. (trunk r15279)Zac Medico2010-03-021-19/+20
| | | | svn path=/main/branches/2.1.7/; revision=15518
* Bug #277902 - When excluding config files, instead of using an empty file as aZac Medico2010-03-021-2/+9
| | | | | | | placeholder, use a file containing a comment like this: # empty file because --include-config=n when `quickpkg` was used (trunk r15278) svn path=/main/branches/2.1.7/; revision=15517
* Define userpriv_groups earlier in order to avoid an AttributeError fromZac Medico2010-03-021-0/+1
| | | | | | lazy import code. Thanks to antarus for reporting. (trunk r15277) svn path=/main/branches/2.1.7/; revision=15516
* Enable EAPI 3 and deprecate EAPI 3_pre2. (trunk r15221)Zac Medico2010-01-292-3/+3
| | | | svn path=/main/branches/2.1.7/; revision=15270
* Show the path of the lockfile when chown fails. Thanks to Jeremy OlexaZac Medico2010-01-291-2/+2
| | | | | | <darkside@g.o> for reporting. (trunk r15220) svn path=/main/branches/2.1.7/; revision=15269
* In portage.spawn(), apply group write permission to the log file. (trunk r15218)Zac Medico2010-01-291-0/+2
| | | | svn path=/main/branches/2.1.7/; revision=15268