summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* For bug #157734, fix repoman isvalidatom() checks. Thanks to Brian Harring ↵Zac Medico2006-12-101-0/+2
| | | | | | for the patch. svn path=/main/trunk/; revision=5263
* Don't collapse the tuple into a hash, since dict can use __eq__ to avoid ↵Zac Medico2006-12-101-3/+3
| | | | | | problems with hash collisions. Thanks to Brian Harring for reporting. svn path=/main/trunk/; revision=5262
* To minimize memory consumption and maximize performance, use hash values for ↵Zac Medico2006-12-101-2/+3
| | | | | | cache keys. svn path=/main/trunk/; revision=5260
* Initialize the match cache in the bindbapi constructor.Zac Medico2006-12-101-0/+1
| | | | svn path=/main/trunk/; revision=5254
* Cache the results of fakedbapi.match() calls and clear the cache ↵Zac Medico2006-12-101-0/+16
| | | | | | automatically when necessary. svn path=/main/trunk/; revision=5253
* Use dep_getcpv() inside dep_expand() for code sharing and caching.Zac Medico2006-12-101-15/+5
| | | | svn path=/main/trunk/; revision=5252
* Cache results of dep_getcpv() calls.Zac Medico2006-12-101-1/+9
| | | | svn path=/main/trunk/; revision=5251
* Cache the results of match_from_list() calls.Zac Medico2006-12-101-0/+8
| | | | svn path=/main/trunk/; revision=5250
* Avoid unnecessary dbapi.cp_list() calls inside cpv_expand().Zac Medico2006-12-101-2/+2
| | | | svn path=/main/trunk/; revision=5249
* Add ? to the invalid atom characters.Zac Medico2006-12-091-1/+1
| | | | svn path=/main/trunk/; revision=5242
* Make isvalidatom() (and thus repoman) reject atoms containing |() ↵Zac Medico2006-12-091-1/+6
| | | | | | characters. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=5241
* Add use.force support to dep_check for repoman especially. Thanks to ↵Zac Medico2006-12-091-1/+5
| | | | | | Flameeyes for reporting and tesing. svn path=/main/trunk/; revision=5239
* Fix a type from the previous commit.Zac Medico2006-12-091-2/+1
| | | | svn path=/main/trunk/; revision=5237
* Fix broken SLOT update logic in fakedbapi.cpv_inject().Zac Medico2006-12-091-3/+7
| | | | svn path=/main/trunk/; revision=5236
* Remove locking from dbapi.aux_update() implementations so that the caller ↵Zac Medico2006-12-091-21/+10
| | | | | | can handle locking instead. svn path=/main/trunk/; revision=5230
* Clean up vardbapi.aux_get().Zac Medico2006-12-091-14/+14
| | | | svn path=/main/trunk/; revision=5229
* minor syntax changes ( in is faster than has_key ) and docstringsAlec Warner2006-12-081-4/+33
| | | | svn path=/main/trunk/; revision=5215
* Make all lock files hidden for bug #142369.Zac Medico2006-12-081-1/+3
| | | | svn path=/main/trunk/; revision=5214
* s/zip/izip/ some moreZac Medico2006-12-071-3/+3
| | | | svn path=/main/trunk/; revision=5212
* A quick docstring for vercmpAlec Warner2006-12-071-1/+23
| | | | svn path=/main/trunk/; revision=5210
* Catch an exception instead of using a redundant os.access call.Zac Medico2006-12-071-2/+2
| | | | svn path=/main/trunk/; revision=5209
* portage_versions lacks a header or copyright notice :xAlec Warner2006-12-071-0/+6
| | | | svn path=/main/trunk/; revision=5208
* Enable FakeVartree to populate the virtuals so that the vdb doesn't have to ↵Zac Medico2006-12-071-5/+3
| | | | | | be scanned separately. svn path=/main/trunk/; revision=5207
* Share the same config instance between portagetree and portdbapi instances ↵Zac Medico2006-12-071-1/+1
| | | | | | since clone isn't needed here. Also, trigger population of virtuals prior to cloning in emerge. This reduces the number of times the virtuals are populated from 3 to just 1. svn path=/main/trunk/; revision=5206
* For bug #152127, make vercmp give less value to implcit .0, so two versions ↵Zac Medico2006-12-071-2/+5
| | | | | | that aren't literally equal are not ambiguously given the same value (in sorting, for example). svn path=/main/trunk/; revision=5205
* Revert r5175 for bug #152127 since the original = behavior seems more ↵Zac Medico2006-12-071-11/+2
| | | | | | desirable. We can change the >= and <= behavior instead. svn path=/main/trunk/; revision=5204
* Fix the 'TypeError: not all arguments converted during string formatting' ↵Zac Medico2006-12-071-4/+4
| | | | | | for bug #157385. svn path=/main/trunk/; revision=5203
* Fix broken SRC_URI logic in doebuild.Zac Medico2006-12-071-7/+3
| | | | svn path=/main/trunk/; revision=5199
* Fix broken SRC_URI logic from the previous commit.Zac Medico2006-12-071-3/+3
| | | | svn path=/main/trunk/; revision=5198
* For bug #157385, enable portage.digestgen() to fetch any distfiles for which ↵Zac Medico2006-12-071-2/+34
| | | | | | there are no existing digests. svn path=/main/trunk/; revision=5197
* Implement fakedbapi.aux_update().Zac Medico2006-12-061-0/+3
| | | | svn path=/main/trunk/; revision=5178
* Sync match_to_list >=, <=, etc.. code with the new = code.Zac Medico2006-12-061-1/+2
| | | | svn path=/main/trunk/; revision=5176
* Make match_to_list = behavior consistent with >= and <= for bug #152127.Zac Medico2006-12-061-2/+11
| | | | svn path=/main/trunk/; revision=5175
* Use portage.chdir() instead of os.chdir() in order to avoid an 'OSError: ↵Zac Medico2006-12-041-1/+1
| | | | | | [Errno 2] No such file or directory' if the working directory doesn't exist. Thanks to Caster for reporting. svn path=/main/trunk/; revision=5171
* When portdbapi.aux_get() generates a KeyError in portage.getmaskingstatus(), ↵Zac Medico2006-12-041-1/+6
| | | | | | handle it by reporting "corruption". svn path=/main/trunk/; revision=5166
* Move the global statement out of the try block so that it's clearly in scope ↵Zac Medico2006-12-031-1/+1
| | | | | | for the finally block. svn path=/main/trunk/; revision=5161
* Make portage.digestgen() automatically exempt the depend phase from Manifest ↵Zac Medico2006-12-031-36/+46
| | | | | | checks so that it works for repoman without triggering a digest verification failure. svn path=/main/trunk/; revision=5160
* Skip digest checks when digest is in features.Zac Medico2006-12-021-0/+1
| | | | svn path=/main/trunk/; revision=5159
* Make sure that all depend phases triggered by the digest phase are exempt ↵Zac Medico2006-12-021-34/+33
| | | | | | from digest checks. svn path=/main/trunk/; revision=5157
* Make sure that *all* of the ebuilds are listed in the Manifest.Zac Medico2006-12-021-0/+8
| | | | svn path=/main/trunk/; revision=5156
* Only attempt to verify the Manifest if the ebuild is actually in a portage tree.Zac Medico2006-12-021-0/+1
| | | | svn path=/main/trunk/; revision=5155
* Avoid checking the same Manifest several times in a row during a regen with ↵Zac Medico2006-12-021-18/+24
| | | | | | an empty cache. svn path=/main/trunk/; revision=5153
* Temporarily exempt the depend phase during the help phase also.Zac Medico2006-12-021-2/+2
| | | | svn path=/main/trunk/; revision=5152
* For manifest and digest phases, use a global variable to temporarily exempt ↵Zac Medico2006-12-021-1/+16
| | | | | | the depend phase from manifest checks (in cache regeneration is triggered). svn path=/main/trunk/; revision=5151
* Always verify the ebuild checksums before executing it. Thanks to solar for ↵Zac Medico2006-12-021-0/+23
| | | | | | the suggestion and antarus for the initial patch. svn path=/main/trunk/; revision=5150
* Update the dblink.isprotected() docstring.Zac Medico2006-11-261-4/+3
| | | | svn path=/main/trunk/; revision=5134
* Never overwrite an untouched config file and trigger config protection ↵Zac Medico2006-11-261-35/+6
| | | | | | instead (in case the new config has an unwanted change). In cases where an installed package in the same slot owns a protected file that will be merged, bump the mtime on the installed file in order to ensure that it isn't unmerged. Thanks to Ciaran McCreesh <ciaranm@ciaranm.org> for his suggestion on bug #8423, comment #40. svn path=/main/trunk/; revision=5133
* For bug #8423, allow the merge phase to overwrite untouched config files and ↵Zac Medico2006-11-261-4/+66
| | | | | | also allow the unmerge phase to unmerge untouched config files. svn path=/main/trunk/; revision=5129
* Allow -keyword to be matched since some ebuilds use it. Thanks to Brian ↵Zac Medico2006-11-231-2/+0
| | | | | | Harring reporting on bug #150585. svn path=/main/trunk/; revision=5123
* For bug #150585, stack package.keywords incrementally so that -keyword works ↵Zac Medico2006-11-231-3/+26
| | | | | | as expected for any incremental variable. This brings the gvisible and getmaskingstatus logic into sync so that the confusing (masked by: ) message will not be generated in cases where package.keywords contains -keyword followed by keyword. svn path=/main/trunk/; revision=5121