summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Bug #300378 - Don't export FILESDIR to the 'depend' phase. (trunk r15217)Zac Medico2010-01-291-0/+3
| | | | svn path=/main/branches/2.1.7/; revision=15267
* Move the DOM unlink call to a finally block. (trunk r15216)Zac Medico2010-01-291-18/+20
| | | | svn path=/main/branches/2.1.7/; revision=15266
* Fix AttributeError from has_versions for atoms with no USE deps. Thanks toZac Medico2010-01-291-1/+1
| | | | | | Arfrever for reporting. (trunk r15214) svn path=/main/branches/2.1.7/; revision=15265
* Fix typo in docstring. (trunk r15213)Zac Medico2010-01-291-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15264
* Add an Atom.evaluate_conditionals() method and use where appropriate.Zac Medico2010-01-292-5/+17
| | | | | | (trunk r15212) svn path=/main/branches/2.1.7/; revision=15263
* Add a warning for built_with_use. Thanks to Petteri Räty <betelgeuse@g.o> forZac Medico2010-01-292-2/+8
| | | | | | this patch. (trunk r15209) svn path=/main/branches/2.1.7/; revision=15261
* Bug #302005 - Remove broken test code. (trunk r15208)Zac Medico2010-01-291-12/+0
| | | | svn path=/main/branches/2.1.7/; revision=15260
* Bug #301926 - Handle ValueError in parseManifest2(), triggered by corruptZac Medico2010-01-291-1/+4
| | | | | | manifest entry. (trunk r15207) svn path=/main/branches/2.1.7/; revision=15259
* Don't bail out if postinst fails. Thanks to Brain Harring for the suggestion.Zac Medico2010-01-291-2/+2
| | | | | | (trunk r15202) svn path=/main/branches/2.1.7/; revision=15255
* Bug #300744 - Inside xpak(), exclude CONTENTS for quickpkg since contents isZac Medico2010-01-291-0/+3
| | | | | | generated by the merge process. (trunk r15198) svn path=/main/branches/2.1.7/; revision=15252
* Bug #300388 - Fix terminal handling code to so term codes aren't sent whenZac Medico2010-01-294-6/+13
| | | | | | TERM=dumb. (trunk r15191) svn path=/main/branches/2.1.7/; revision=15246
* Tweak TERM usage in xtermTitleReset() to match that in xtermTitle().Zac Medico2010-01-291-1/+4
| | | | | | (trunk r15190) svn path=/main/branches/2.1.7/; revision=15245
* Skip global updates for help, version, and info actions. (trunk r15179)Zac Medico2010-01-291-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=15241
* Add a TODO comment for improved handling of /lib/modules. (trunk r15173)Zac Medico2010-01-291-0/+4
| | | | svn path=/main/branches/2.1.7/; revision=15239
* In python-2.x, convert PortageException.value attribute from unicode to strZac Medico2010-01-291-0/+5
| | | | | | in order to avoid empty output with string format operator. (trunk r15169) svn path=/main/branches/2.1.7/; revision=15237
* Handle AttributeError inside atomic_ofstream.__del__. Thanks to Cardoe forZac Medico2010-01-291-3/+7
| | | | | | reporting. (trunk r15168) svn path=/main/branches/2.1.7/; revision=15236
* Rearrange _selinux ImportError handling so the workaround for bug #298310Zac Medico2010-01-291-10/+6
| | | | | | isn't necessary. (trunk r15167) svn path=/main/branches/2.1.7/; revision=15235