Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Cache results of dep_getcpv() calls. | Zac Medico | 2006-12-10 | 1 | -1/+9 |
| | | | | svn path=/main/trunk/; revision=5251 | ||||
* | Cache the results of match_from_list() calls. | Zac Medico | 2006-12-10 | 1 | -0/+8 |
| | | | | svn path=/main/trunk/; revision=5250 | ||||
* | Avoid unnecessary dbapi.cp_list() calls inside cpv_expand(). | Zac Medico | 2006-12-10 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=5249 | ||||
* | For bug #128809, process blockers for all installed packages. Due to the ↵ | Zac Medico | 2006-12-10 | 1 | -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 Medico | 2006-12-10 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5247 | ||||
* | Don't attempt to enforce merge order unless the blocker parent is actually a ↵ | Zac Medico | 2006-12-09 | 1 | -1/+2 |
| | | | | | | "merge" node. svn path=/main/trunk/; revision=5246 | ||||
* | This patch cleans up the blocker validation logic. Unlike the previous ↵ | Zac Medico | 2006-12-09 | 1 | -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 Medico | 2006-12-09 | 1 | -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 Medico | 2006-12-09 | 1 | -2/+6 |
| | | | | svn path=/main/trunk/; revision=5243 | ||||
* | Add ? to the invalid atom characters. | Zac Medico | 2006-12-09 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5242 | ||||
* | Make isvalidatom() (and thus repoman) reject atoms containing |() ↵ | Zac Medico | 2006-12-09 | 1 | -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 Medico | 2006-12-09 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5240 | ||||
* | Add use.force support to dep_check for repoman especially. Thanks to ↵ | Zac Medico | 2006-12-09 | 1 | -1/+5 |
| | | | | | | Flameeyes for reporting and tesing. svn path=/main/trunk/; revision=5239 | ||||
* | adjust QA_* variable names for complex values of like x86-fbsd | Marius Mauch | 2006-12-09 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=5238 | ||||
* | Fix a type from the previous commit. | Zac Medico | 2006-12-09 | 1 | -2/+1 |
| | | | | svn path=/main/trunk/; revision=5237 | ||||
* | Fix broken SLOT update logic in fakedbapi.cpv_inject(). | Zac Medico | 2006-12-09 | 1 | -3/+7 |
| | | | | svn path=/main/trunk/; revision=5236 | ||||
* | Split some global updates functions out of depgraph and use them for ↵ | Zac Medico | 2006-12-09 | 1 | -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 Medico | 2006-12-09 | 1 | -24/+25 |
| | | | | | | split calls. svn path=/main/trunk/; revision=5234 | ||||
* | Remove unused depgraph.match() method. | Zac Medico | 2006-12-09 | 1 | -32/+0 |
| | | | | svn path=/main/trunk/; revision=5233 | ||||
* | Move the reset of the per-root initializations into the loop. | Zac Medico | 2006-12-09 | 1 | -11/+6 |
| | | | | svn path=/main/trunk/; revision=5232 | ||||
* | Go ahead and populate depgraph.mydbapi even when --emptytree is enabled ↵ | Zac Medico | 2006-12-09 | 1 | -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 Medico | 2006-12-09 | 1 | -21/+10 |
| | | | | | | can handle locking instead. svn path=/main/trunk/; revision=5230 | ||||
* | Clean up vardbapi.aux_get(). | Zac Medico | 2006-12-09 | 1 | -14/+14 |
| | | | | svn path=/main/trunk/; revision=5229 | ||||
* | Remove all traces of FEATURES=cvs since code for that feature no longer ↵ | Zac Medico | 2006-12-08 | 2 | -11/+0 |
| | | | | | | exists (apparently since portage-2.1). svn path=/main/trunk/; revision=5228 | ||||
* | Indicate test failure with an exit code. | Zac Medico | 2006-12-08 | 2 | -3/+5 |
| | | | | svn path=/main/trunk/; revision=5227 |