summaryrefslogtreecommitdiffstats
path: root/bin/emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* 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-111-0/+10
| | | | | | 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
* 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
* 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
* 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
* 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
* Allow searching for action terms againMarius Mauch2006-12-081-2/+6
| | | | svn path=/main/trunk/; revision=5216
* s/zip/izip/ Thanks to Brian Harring for the suggestion.Zac Medico2006-12-071-4/+6
| | | | svn path=/main/trunk/; revision=5211
* Enable FakeVartree to populate the virtuals so that the vdb doesn't have to ↵Zac Medico2006-12-071-4/+7
| | | | | | be scanned separately. svn path=/main/trunk/; revision=5207
* Share the same config instance between portagetree and portdbapi instances ↵Zac Medico2006-12-071-0/+2
| | | | | | 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
* Fix indentation.Zac Medico2006-12-061-3/+3
| | | | svn path=/main/trunk/; revision=5196
* Remove all traces of the unmerge raise_on_missing parameter.Zac Medico2006-12-061-6/+3
| | | | svn path=/main/trunk/; revision=5195
* Always silently ingnore missing packages during unmerge.Zac Medico2006-12-061-1/+1
| | | | svn path=/main/trunk/; revision=5194
* Fix depclean so the fake vartree is used in dep_check calls.Zac Medico2006-12-061-1/+4
| | | | svn path=/main/trunk/; revision=5193
* Allow depclean to silently skip packages unmerged behind it's back.Zac Medico2006-12-061-1/+1
| | | | svn path=/main/trunk/; revision=5192
* Use FakeVartree for vardb lock/cache during depclean.Zac Medico2006-12-061-2/+3
| | | | svn path=/main/trunk/; revision=5191
* Delete the depgraph when it's no longer needed.Zac Medico2006-12-061-0/+2
| | | | svn path=/main/trunk/; revision=5190
* Use a fake vartree for depgraph calculations. This minimizes the time that ↵Zac Medico2006-12-061-5/+39
| | | | | | a lock needs to be held on the vardb, and allows in-memory global updates when necessary. svn path=/main/trunk/; revision=5189
* Only call calc_changelog if there is an installed version in the same slot.Zac Medico2006-12-061-3/+5
| | | | svn path=/main/trunk/; revision=5185
* Remove dependence on the vartree api by using equivalent vardbapi calls.Zac Medico2006-12-061-6/+9
| | | | svn path=/main/trunk/; revision=5184