summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make use_reduce raise an InvalidDependString exception for use? conditionals ↵Zac Medico2006-12-162-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 Medico2006-12-162-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 Medico2006-12-161-3/+2
| | | | | | reported in bug #158264. svn path=/main/trunk/; revision=5303
* For bug #158177, force configure scripts that automatically detect ccache to ↵Zac Medico2006-12-161-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 Medico2006-12-161-2/+6
| | | | svn path=/main/trunk/; revision=5301
* Split ACCEPT_KEYWORDS before entering the loop for better efficiency.Zac Medico2006-12-161-1/+2
| | | | svn path=/main/trunk/; revision=5300
* Make sure eapi is defined in order to prevent a NameError.Zac Medico2006-12-161-0/+1
| | | | svn path=/main/trunk/; revision=5299
* Cache KEYWORDS and EAPI metadata values in order to speed up ↵Zac Medico2006-12-161-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 Medico2006-12-161-7/+16
| | | | | | what action to take. svn path=/main/trunk/; revision=5297
* Cache blocked slots for better efficiency.Zac Medico2006-12-141-1/+2
| | | | svn path=/main/trunk/; revision=5296
* Make --columns blockers output more consistent when --quiet is not enabled.Zac Medico2006-12-141-1/+1
| | | | svn path=/main/trunk/; revision=5294
* 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