Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | FakeVartree: tweak _aux_get_wrapper EAPI handling | Zac Medico | 2011-05-24 | 1 | -1/+4 |
| | |||||
* | writedict: use write_atomic for exceptions | Zac Medico | 2011-05-24 | 2 | -17/+9 |
| | | | | Also, fix calling code to handle InvalidLocation exceptions. | ||||
* | treewalk: reset cloned config instances | Zac Medico | 2011-05-24 | 1 | -0/+1 |
| | |||||
* | dblink: use config._init_dirs() when necessary | Zac Medico | 2011-05-24 | 1 | -3/+7 |
| | |||||
* | writedict: raise any exceptions | Zac Medico | 2011-05-24 | 1 | -2/+1 |
| | | | | | We don't have any code that checks the writedict return value, so we'd better raise an exception if it fails. | ||||
* | atomic_ofstream: suppress redundant open error | Zac Medico | 2011-05-24 | 1 | -3/+3 |
| | |||||
* | vardbapi: use config._init_dirs() when necessary | Zac Medico | 2011-05-24 | 1 | -6/+11 |
| | |||||
* | cleanrm: handle UnsupportedAPIException | Zac Medico | 2011-05-24 | 1 | -2/+5 |
| | |||||
* | FakeVartree: preserve EAPI of installed package | Zac Medico | 2011-05-24 | 1 | -1/+2 |
| | | | | | | If the corresponding unbuilt ebuild has a different EAPI than the installed instance, then we want to preserve the EAPI meatadata from the installed instance. | ||||
* | Fix a typo in last commit's debug message. | Zac Medico | 2011-05-24 | 1 | -1/+1 |
| | |||||
* | depgraph: detect deps broken by autounmask | Zac Medico | 2011-05-24 | 1 | -1/+37 |
| | | | | This will fix bug #368429. | ||||
* | PackageUninstall: return early if pkg is missing | Zac Medico | 2011-05-24 | 1 | -1/+8 |
| | |||||
* | PackageUninstall: remove extra cat/pf var init | Zac Medico | 2011-05-24 | 1 | -2/+2 |
| | | | | Also, add to comments about ebuild-locks. | ||||
* | test_merge_order: test asap PDEPEND (bug #180045) | Zac Medico | 2011-05-24 | 2 | -0/+34 |
| | |||||
* | treewalk: fix PORTAGE_BUILDIR_LOCKED state | Zac Medico | 2011-05-24 | 1 | -1/+3 |
| | | | | | This fixes breakage from commit f0f1bbe8fa9d3f698cbe529d2a11eec1ce437119. | ||||
* | PackageUninstall: log more output | Zac Medico | 2011-05-23 | 1 | -9/+12 |
| | |||||
* | PackageUninstall: make async with MergeProcess | Zac Medico | 2011-05-23 | 3 | -30/+93 |
| | | | | | | | | This fixes another ebuild-locks issue like the one fixed in commit a81460175a441897282b0540cefff8060f2b92dc, but this time we use a subprocess to ensure that the ebuild-locks for pkg_prerm and pkg_postrm do not interfere with pkg_setup ebuild-locks held by the main process. | ||||
* | doebuild_environment: move EAPI code later | Zac Medico | 2011-05-23 | 1 | -55/+66 |
| | | | | | | | | All EAPI dependent code comes last, so that essential variables like PORTAGE_BUILDDIR are still initialized even in cases when UnsupportedAPIException needs to be raised, which can be useful when uninstalling a package that has corrupt EAPI metadata. | ||||
* | MergeProcess: remove unnecessary dblink attribute | Zac Medico | 2011-05-23 | 3 | -5/+4 |
| | |||||
* | PackageUninstall: use _unmerge_display() | Zac Medico | 2011-05-23 | 1 | -17/+34 |
| | | | | This is preparation for asynchronous support. | ||||
* | unmerge: split out _unmerge_display() function | Zac Medico | 2011-05-23 | 1 | -20/+44 |
| | | | | | | | This will be useful for adding asynchronous support to the PackageUninstall class, since it will be able to call _unmerge_display() for the display portion, and then do the actual unmerge asynchronously. | ||||
* | repoman: pass type_name to Package constructorv2.2.0_alpha35 | Zac Medico | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | test_merge_order: add more asap libc deps | Zac Medico | 2011-05-22 | 1 | -6/+12 |
| | |||||
* | _serialize_tasks: prefer unsatisfied asap child | Zac Medico | 2011-05-22 | 2 | -9/+28 |
| | | | | | Optimally, satisfied deps are always merged after the asap nodes that depend on them. | ||||
* | test_depth: use merge_order_assertions | Zac Medico | 2011-05-22 | 1 | -1/+3 |
| | |||||
* | _add_pkg_dep_string: handle satisfied virt_dep | Zac Medico | 2011-05-22 | 2 | -3/+21 |
| | | | | | This fixes a problem with the asap LIBC_PACKAGE_ATOM test case for bug #303567. | ||||
* | test_merge_order: test asap LIBC_PACKAGE_ATOM | Zac Medico | 2011-05-22 | 1 | -0/+44 |
| | |||||
* | _validate_blockers: reference bug 128809 | Zac Medico | 2011-05-22 | 1 | -4/+7 |
| | |||||
* | test_merge_order: test asap PORTAGE_PACKAGE_ATOM | Zac Medico | 2011-05-22 | 1 | -0/+22 |
| | |||||
* | test_merge_order: test case for bug 250286 | Zac Medico | 2011-05-22 | 1 | -0/+28 |
| | |||||
* | test_merge_order: test hard block resolution | Zac Medico | 2011-05-22 | 1 | -0/+18 |
| | |||||
* | test_merge_order: test many-to-one blocks | Zac Medico | 2011-05-22 | 2 | -8/+14 |
| | |||||
* | Package: add new _gen_hash_key method | Zac Medico | 2011-05-22 | 4 | -44/+53 |
| | |||||
* | test_depth: use ambiguous_merge_order | Zac Medico | 2011-05-22 | 1 | -2/+4 |
| | |||||
* | ambiguous_merge_order: set match = False more | Zac Medico | 2011-05-22 | 1 | -0/+2 |
| | |||||
* | Fix spelling of "ambiguous". | Zac Medico | 2011-05-22 | 3 | -10/+10 |
| | |||||
* | DepPriority: remove "rebuild" attribute | Zac Medico | 2011-05-21 | 3 | -36/+9 |
| | | | | | | | | | | | | | | | | Since the addition of DepPriorityNormalRange and DepPrioritySatisfiedRange in commit bd369956b2a2fbc019a655a372628998499156c0, which solves most cases of bug 199856, the Depriority.rebuild attribute doesn't appear to make any difference. The edges that this attribute differentiates are already naturally differentiated by the fact that the child node of a satisfied buildtime dependency that's not being rebuilt will naturally be identified as a leaf node earlier and removed from the graph, thereby eliminating the edge before there's an opportunity to compare it with a higher priority rebuild edge. The addition of the "optional" attribute (in commit 15476805a156acd11fdaaa19212691e8ee09b309) also plays a role here, since it converts some satisfied buildtime edges to optional edges, thereby reducing their priority. | ||||
* | test_merge_order: fix bugs in previous commit | Zac Medico | 2011-05-21 | 1 | -6/+5 |
| | |||||
* | test_merge_order: test solve blocker no-overlap | Zac Medico | 2011-05-21 | 1 | -1/+23 |
| | |||||
* | treewalk: force AUTOCLEAN=yes if libs preserved | Zac Medico | 2011-05-21 | 1 | -1/+6 |
| | |||||
* | _prune_plib_registry: correct _match_contents use | Zac Medico | 2011-05-21 | 1 | -1/+1 |
| | |||||
* | merge_order_assertions: fix string format error | Zac Medico | 2011-05-21 | 1 | -1/+2 |
| | |||||
* | test_merge_order: test satisfied circular DEPEND | Zac Medico | 2011-05-21 | 2 | -1/+55 |
| | |||||
* | test_merge_order: test unsolvable buildtime cycle | Zac Medico | 2011-05-21 | 1 | -0/+15 |
| | |||||
* | test_merge_order: test circular RDEPEND + DEPEND | Zac Medico | 2011-05-21 | 1 | -0/+23 |
| | |||||
* | test_merge_order: make cycles indirect | Zac Medico | 2011-05-21 | 1 | -3/+10 |
| | |||||
* | Task.__eq__: allow _hash_key as input | Zac Medico | 2011-05-21 | 1 | -1/+3 |
| | | | | This is used by depgraph._pkg() for lookups. | ||||
* | ambigous_merge_order: handle more failure modes | Zac Medico | 2011-05-20 | 1 | -0/+8 |
| | |||||
* | test_merge_order: test hard buildtime blockers | Zac Medico | 2011-05-20 | 1 | -0/+21 |
| | |||||
* | test_merge_order: test hard blocker resolution | Zac Medico | 2011-05-20 | 2 | -5/+14 |
| |