summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make sure the SLOT comes from the vardb instead of the portdb (for ↵Zac Medico2006-12-101-0/+2
| | | | | | multislot, etc..). Thanks to jakub for reporting. svn path=/main/trunk/; revision=5256
* For bug #128809, optimize dep_check calls and enable the blocker detection ↵Zac Medico2006-12-101-2/+7
| | | | | | by default since the performance now seems acceptable. svn path=/main/trunk/; revision=5255
* 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
* For bug #128809, process blockers for all installed packages. Due to the ↵Zac Medico2006-12-101-3/+62
| | | | | | performance penalty incurred by additional dep_check calls, this is only enabled with the --deep option. svn path=/main/trunk/; revision=5248
* Escape a newline from the previous commit.Zac Medico2006-12-101-1/+1
| | | | svn path=/main/trunk/; revision=5247
* Don't attempt to enforce merge order unless the blocker parent is actually a ↵Zac Medico2006-12-091-1/+2
| | | | | | "merge" node. svn path=/main/trunk/; revision=5246
* This patch cleans up the blocker validation logic. Unlike the previous ↵Zac Medico2006-12-091-60/+60
| | | | | | implementation, this one carefully considers each parent/block package relationship in order to ensure that no unresolved blocks slip through. svn path=/main/trunk/; revision=5245
* For bug #157369, clean when cleanup has been triggered by changed ↵Zac Medico2006-12-091-4/+11
| | | | | | timestamps. Also, allow FEATURES=keepwork to override the ebuild mtime check. svn path=/main/trunk/; revision=5244
* Clean up depstring/atom splitting and filtering.Zac Medico2006-12-091-2/+6
| | | | svn path=/main/trunk/; revision=5243
* 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
* Use portage.isvalidatom() for atom validation in repoman.Zac Medico2006-12-091-1/+1
| | | | svn path=/main/trunk/; revision=5240
* 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
* adjust QA_* variable names for complex values of like x86-fbsdMarius Mauch2006-12-091-3/+3
| | | | svn path=/main/trunk/; revision=5238
* 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
* Split some global updates functions out of depgraph and use them for ↵Zac Medico2006-12-091-23/+33
| | | | | | depclean when necessary. svn path=/main/trunk/; revision=5235
* Use tuples for digraph nodes in order to avoid lots of pointless join and ↵Zac Medico2006-12-091-24/+25
| | | | | | split calls. svn path=/main/trunk/; revision=5234
* Remove unused depgraph.match() method.Zac Medico2006-12-091-32/+0
| | | | svn path=/main/trunk/; revision=5233
* Move the reset of the per-root initializations into the loop.Zac Medico2006-12-091-11/+6
| | | | svn path=/main/trunk/; revision=5232
* Go ahead and populate depgraph.mydbapi even when --emptytree is enabled ↵Zac Medico2006-12-091-17/+10
| | | | | | since it doesn't matter anymore (dep_check now returns all deps anyway). svn path=/main/trunk/; revision=5231
* 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
* Remove all traces of FEATURES=cvs since code for that feature no longer ↵Zac Medico2006-12-082-11/+0
| | | | | | exists (apparently since portage-2.1). svn path=/main/trunk/; revision=5228
* Indicate test failure with an exit code.Zac Medico2006-12-082-3/+5
| | | | svn path=/main/trunk/; revision=5227
* Break out of the loop if a CacheError occurs.Zac Medico2006-12-081-0/+1
| | | | svn path=/main/trunk/; revision=5222
* Delete the exception object after use.Zac Medico2006-12-081-0/+1
| | | | svn path=/main/trunk/; revision=5221
* For bug #157370, make `emerge --regen` cleanse stale cache entries.Zac Medico2006-12-081-0/+21
| | | | svn path=/main/trunk/; revision=5220
* Simplfy deprecated action parsing logic.Zac Medico2006-12-081-5/+2
| | | | svn path=/main/trunk/; revision=5219
* Avoid bogus 'Deprecated use of action' warnings for valid commands such as ↵Zac Medico2006-12-081-1/+1
| | | | | | `emerge -s sync`. svn path=/main/trunk/; revision=5218
* add some portage_util testsAlec Warner2006-12-083-3/+44
| | | | svn path=/main/trunk/; revision=5217
* Allow searching for action terms againMarius Mauch2006-12-082-6/+10
| | | | svn path=/main/trunk/; revision=5216
* 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
* Add pretty basic vercmp unit testing...need more casesAlec Warner2006-12-083-0/+88
| | | | svn path=/main/trunk/; revision=5213
* s/zip/izip/ some moreZac Medico2006-12-071-3/+3
| | | | svn path=/main/trunk/; revision=5212
* s/zip/izip/ Thanks to Brian Harring for the suggestion.Zac Medico2006-12-071-4/+6
| | | | svn path=/main/trunk/; revision=5211
* 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-072-9/+10
| | | | | | be scanned separately. svn path=/main/trunk/; revision=5207
* Share the same config instance between portagetree and portdbapi instances ↵Zac Medico2006-12-072-1/+3
| | | | | | 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