Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't optimize depgraph.altlist() in reversed mode since the optimization ↵ | Zac Medico | 2006-12-17 | 1 | -1/+1 | |
| | | | | | | destroys --tree ouput. svn path=/main/trunk/; revision=5309 | |||||
* | In depgraph.altlist(), pop as many leaf nodes as possible when no ↵ | Zac Medico | 2006-12-17 | 1 | -1/+7 | |
| | | | | | | relationship has been ignored. This can halve the time taken for a large merge order calculation. svn path=/main/trunk/; revision=5308 | |||||
* | force environment.bz2 to be clobbered if it already exists | Mike Frysinger | 2006-12-17 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=5307 | |||||
* | remove pointless redirects to /dev/null when using hasq() | Mike Frysinger | 2006-12-17 | 1 | -2/+2 | |
| | | | | svn path=/main/trunk/; revision=5306 | |||||
* | Make use_reduce raise an InvalidDependString exception for use? conditionals ↵ | Zac Medico | 2006-12-16 | 2 | -21/+24 | |
| | | | | | | that aren't followed by parenthesis and add appropriate exception handling in dep_check. svn path=/main/trunk/; revision=5305 | |||||
* | Make dep_check validate all depstring atoms in order to prevent problems ↵ | Zac Medico | 2006-12-16 | 2 | -0/+4 | |
| | | | | | | from occuring later due to unexpected invalid atoms. svn path=/main/trunk/; revision=5304 | |||||
* | Fix global updates error handling to prevent a traceback with python-2.5 as ↵ | Zac Medico | 2006-12-16 | 1 | -3/+2 | |
| | | | | | | reported in bug #158264. svn path=/main/trunk/; revision=5303 | |||||
* | For bug #158177, force configure scripts that automatically detect ccache to ↵ | Zac Medico | 2006-12-16 | 1 | -0/+4 | |
| | | | | | | respect FEATURES="-ccache". Thanks to Horst Schirmeier <gentoo@schirmeier.com> for this suggestion. svn path=/main/trunk/; revision=5302 | |||||
* | Make repoman cache per-profile xmatch results. | Zac Medico | 2006-12-16 | 1 | -2/+6 | |
| | | | | svn path=/main/trunk/; revision=5301 | |||||
* | Split ACCEPT_KEYWORDS before entering the loop for better efficiency. | Zac Medico | 2006-12-16 | 1 | -1/+2 | |
| | | | | svn path=/main/trunk/; revision=5300 | |||||
* | Make sure eapi is defined in order to prevent a NameError. | Zac Medico | 2006-12-16 | 1 | -0/+1 | |
| | | | | svn path=/main/trunk/; revision=5299 | |||||
* | Cache KEYWORDS and EAPI metadata values in order to speed up ↵ | Zac Medico | 2006-12-16 | 1 | -9/+15 | |
| | | | | | | portdbapi.gvisible() calls. This greatly improves repoman performance (help emerge a little too). svn path=/main/trunk/; revision=5298 | |||||
* | For bug #157897, show parent nodes in order to help the user decide about ↵ | Zac Medico | 2006-12-16 | 1 | -7/+16 | |
| | | | | | | what action to take. svn path=/main/trunk/; revision=5297 | |||||
* | Cache blocked slots for better efficiency. | Zac Medico | 2006-12-14 | 1 | -1/+2 | |
| | | | | svn path=/main/trunk/; revision=5296 | |||||
* | Make --columns blockers output more consistent when --quiet is not enabled. | Zac Medico | 2006-12-14 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=5294 | |||||
* | Remove pointless unpacking of the parent node. | Zac Medico | 2006-12-14 | 1 | -1/+0 | |
| | | | | svn path=/main/trunk/; revision=5293 | |||||
* | Remove redundant priority handling since that's always handled in ↵ | Zac Medico | 2006-12-14 | 1 | -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 Medico | 2006-12-14 | 1 | -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 Medico | 2006-12-14 | 1 | -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 Medico | 2006-12-14 | 1 | -1/+1 | |
| | | | | | | added to the graph. svn path=/main/trunk/; revision=5289 | |||||
* | Fix a typo from the previous commit. | Zac Medico | 2006-12-14 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=5288 | |||||
* | For bug #157897, add slot collision handling in depgraph.create(), since ↵ | Zac Medico | 2006-12-14 | 1 | -28/+75 | |
| | | | | | | create() is called from places other than select_dep(). svn path=/main/trunk/; revision=5287 | |||||
* | handle --cols when displaying blockers | Mike Frysinger | 2006-12-13 | 1 | -1/+4 | |
| | | | | svn path=/main/trunk/; revision=5286 | |||||
* | For bug #157897, handle the case of multiple versions within a single ↵ | Zac Medico | 2006-12-13 | 1 | -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 Medico | 2006-12-13 | 1 | -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 Medico | 2006-12-13 | 1 | -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 Medico | 2006-12-13 | 1 | -6/+6 | |
| | | | | svn path=/main/trunk/; revision=5281 | |||||
* | For bug #157897, ensure that only "merge" nodes are stored in ↵ | Zac Medico | 2006-12-12 | 1 | -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 Medico | 2006-12-12 | 1 | -1/+1 | |
| | | | | | | final state dbapi. svn path=/main/trunk/; revision=5279 | |||||
* | For higher efficiency, call self.__int__() instead of int(self). | Zac Medico | 2006-12-12 | 1 | -7/+7 | |
| | | | | svn path=/main/trunk/; revision=5278 | |||||
* | Optimize dep_check calls in depgraph.validate_blockers() by using a ↵ | Zac Medico | 2006-12-12 | 1 | -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 Medico | 2006-12-12 | 1 | -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 Medico | 2006-12-12 | 1 | -45/+22 | |
| | | | | svn path=/main/trunk/; revision=5275 | |||||
* | All portage.fetch() to succeed even if FETCHCOMMAND and RESUMECOMMAND aren't ↵ | Zac Medico | 2006-12-11 | 1 | -6/+9 | |
| | | | | | | defined. svn path=/main/trunk/; revision=5274 | |||||
* | Make the fetch phase bail out if FETCHCOMMAND or RESUMECOMMAND are missing. ↵ | Zac Medico | 2006-12-11 | 1 | -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 Medico | 2006-12-11 | 1 | -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 Medico | 2006-12-11 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=5270 | |||||
* | Fix a typo from the previous commit. | Zac Medico | 2006-12-11 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=5269 | |||||
* | When there are multiple packages occupying the same slot, only consider the ↵ | Zac Medico | 2006-12-11 | 1 | -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 Medico | 2006-12-11 | 2 | -0/+12 | |
| | | | | | | to Flameeyes for reporting. svn path=/main/trunk/; revision=5267 | |||||
* | Ignore blockers when "--buildpkgonly" is enabled. | Zac Medico | 2006-12-10 | 1 | -0/+3 | |
| | | | | svn path=/main/trunk/; revision=5266 | |||||
* | Add an allow_blockers parameter to isvalidatom so that the behavior is ↵ | Zac Medico | 2006-12-10 | 2 | -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 Medico | 2006-12-10 | 1 | -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 Medico | 2006-12-10 | 1 | -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 Medico | 2006-12-10 | 1 | -2/+3 | |
| | | | | | | cache keys. svn path=/main/trunk/; revision=5260 | |||||
* | Make sure the SLOT comes from the vardb instead of the portdb (for ↵ | Zac Medico | 2006-12-10 | 1 | -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 Medico | 2006-12-10 | 1 | -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 Medico | 2006-12-10 | 1 | -0/+1 | |
| | | | | svn path=/main/trunk/; revision=5254 | |||||
* | Cache the results of fakedbapi.match() calls and clear the cache ↵ | Zac Medico | 2006-12-10 | 1 | -0/+16 | |
| | | | | | | automatically when necessary. svn path=/main/trunk/; revision=5253 | |||||
* | Use dep_getcpv() inside dep_expand() for code sharing and caching. | Zac Medico | 2006-12-10 | 1 | -15/+5 | |
| | | | | svn path=/main/trunk/; revision=5252 |