summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove pointless unpacking of the parent node.Zac Medico2006-12-141-1/+0
| | | | svn path=/main/trunk/; revision=5293
* Remove redundant priority handling since that's always handled in ↵Zac Medico2006-12-141-5/+2
| | | | | | select_dep() for nodes that have parents. svn path=/main/trunk/; revision=5292
* Fix the --onlydeps conditional logic in depgraph.create(). These aren't ↵Zac Medico2006-12-141-48/+44
| | | | | | real nodes and shouldn't be added to the digraph, etc... svn path=/main/trunk/; revision=5291
* Use depgraph.pkg_node_map so simplify comparison against existing nodes at ↵Zac Medico2006-12-141-14/+7
| | | | | | the beginning of depgraph.create(). svn path=/main/trunk/; revision=5290
* Update the comment about depgraph.pkg_node_map since it now maps all nodes ↵Zac Medico2006-12-141-1/+1
| | | | | | added to the graph. svn path=/main/trunk/; revision=5289
* Fix a typo from the previous commit.Zac Medico2006-12-141-1/+1
| | | | svn path=/main/trunk/; revision=5288
* For bug #157897, add slot collision handling in depgraph.create(), since ↵Zac Medico2006-12-141-28/+75
| | | | | | create() is called from places other than select_dep(). svn path=/main/trunk/; revision=5287
* handle --cols when displaying blockersMike Frysinger2006-12-131-1/+4
| | | | svn path=/main/trunk/; revision=5286
* For bug #157897, handle the case of multiple versions within a single ↵Zac Medico2006-12-131-0/+32
| | | | | | package slot have been pulled into the dependency graph. If possible, the package that has already been pulled in will be reused. Otherwise, an error message will advise the user to mask an unwanted version. svn path=/main/trunk/; revision=5285
* Remove redundant digraph.pkg_node_map node insertions. Once per ↵Zac Medico2006-12-131-12/+1
| | | | | | digraph.create() call will cover all nodes. svn path=/main/trunk/; revision=5283
* Track slot atom to digraph node mappings as the depgraph is built. This ↵Zac Medico2006-12-131-6/+10
| | | | | | mapping will be used to detect node collisions for bug #157897. svn path=/main/trunk/; revision=5282
* Move the biolerplate cpv_all() implementation from portdbapi to dbapi.Zac Medico2006-12-131-6/+6
| | | | svn path=/main/trunk/; revision=5281
* For bug #157897, ensure that only "merge" nodes are stored in ↵Zac Medico2006-12-121-6/+13
| | | | | | digraph.pkg_node_map. svn path=/main/trunk/; revision=5280
* For bug #157897, only let depgraph.create() inject "merge" nodes into the ↵Zac Medico2006-12-121-1/+1
| | | | | | final state dbapi. svn path=/main/trunk/; revision=5279
* For higher efficiency, call self.__int__() instead of int(self).Zac Medico2006-12-121-7/+7
| | | | svn path=/main/trunk/; revision=5278
* Optimize dep_check calls in depgraph.validate_blockers() by using a ↵Zac Medico2006-12-121-1/+14
| | | | | | fakedbapi instance instead of the real pordbapi (minimizes available matches). svn path=/main/trunk/; revision=5277
* Store dependency metadata in depgraph.mydbapi so that it can be used in ↵Zac Medico2006-12-121-4/+7
| | | | | | place of the portdb for optimized dep_check calls in depgraph.validate_blockers(). svn path=/main/trunk/; revision=5276
* Centralize all of the vardb metadata mangling in FakeVartree.Zac Medico2006-12-121-45/+22
| | | | svn path=/main/trunk/; revision=5275
* All portage.fetch() to succeed even if FETCHCOMMAND and RESUMECOMMAND aren't ↵Zac Medico2006-12-111-6/+9
| | | | | | defined. svn path=/main/trunk/; revision=5274
* Make the fetch phase bail out if FETCHCOMMAND or RESUMECOMMAND are missing. ↵Zac Medico2006-12-111-0/+6
| | | | | | Thanks to Flameeyes for reporting. svn path=/main/trunk/; revision=5273
* For bug #157823, ignore blocker collisions between two packages that are ↵Zac Medico2006-12-111-0/+24
| | | | | | already installed if no merge is currently scheduled for either of those package slots. These blockers will be handled as necessary the next time that a merge of either package is triggered. svn path=/main/trunk/; revision=5272
* For bug #157823, don't forget to split the USE.Zac Medico2006-12-111-1/+1
| | | | svn path=/main/trunk/; revision=5270
* Fix a typo from the previous commit.Zac Medico2006-12-111-1/+1
| | | | svn path=/main/trunk/; revision=5269
* When there are multiple packages occupying the same slot, only consider the ↵Zac Medico2006-12-111-1/+14
| | | | | | one with the highest COUNTER. Thanks to leio for reporting. svn path=/main/trunk/; revision=5268
* Ensure that the root of the vdb exists before attempting to lock it. Thanks ↵Zac Medico2006-12-112-0/+12
| | | | | | to Flameeyes for reporting. svn path=/main/trunk/; revision=5267
* Ignore blockers when "--buildpkgonly" is enabled.Zac Medico2006-12-101-0/+3
| | | | svn path=/main/trunk/; revision=5266
* Add an allow_blockers parameter to isvalidatom so that the behavior is ↵Zac Medico2006-12-102-3/+3
| | | | | | optional. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=5264
* 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
* 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