summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FakeVartree: tweak _aux_get_wrapper EAPI handlingZac Medico2011-05-241-1/+4
|
* writedict: use write_atomic for exceptionsZac Medico2011-05-242-17/+9
| | | | Also, fix calling code to handle InvalidLocation exceptions.
* treewalk: reset cloned config instancesZac Medico2011-05-241-0/+1
|
* dblink: use config._init_dirs() when necessaryZac Medico2011-05-241-3/+7
|
* writedict: raise any exceptionsZac Medico2011-05-241-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 errorZac Medico2011-05-241-3/+3
|
* vardbapi: use config._init_dirs() when necessaryZac Medico2011-05-241-6/+11
|
* cleanrm: handle UnsupportedAPIExceptionZac Medico2011-05-241-2/+5
|
* FakeVartree: preserve EAPI of installed packageZac Medico2011-05-241-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 Medico2011-05-241-1/+1
|
* depgraph: detect deps broken by autounmaskZac Medico2011-05-241-1/+37
| | | | This will fix bug #368429.
* PackageUninstall: return early if pkg is missingZac Medico2011-05-241-1/+8
|
* PackageUninstall: remove extra cat/pf var initZac Medico2011-05-241-2/+2
| | | | Also, add to comments about ebuild-locks.
* test_merge_order: test asap PDEPEND (bug #180045)Zac Medico2011-05-242-0/+34
|
* treewalk: fix PORTAGE_BUILDIR_LOCKED stateZac Medico2011-05-241-1/+3
| | | | | This fixes breakage from commit f0f1bbe8fa9d3f698cbe529d2a11eec1ce437119.
* PackageUninstall: log more outputZac Medico2011-05-231-9/+12
|
* PackageUninstall: make async with MergeProcessZac Medico2011-05-233-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 laterZac Medico2011-05-231-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 attributeZac Medico2011-05-233-5/+4
|
* PackageUninstall: use _unmerge_display()Zac Medico2011-05-231-17/+34
| | | | This is preparation for asynchronous support.
* unmerge: split out _unmerge_display() functionZac Medico2011-05-231-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_alpha35Zac Medico2011-05-231-1/+1
|
* test_merge_order: add more asap libc depsZac Medico2011-05-221-6/+12
|
* _serialize_tasks: prefer unsatisfied asap childZac Medico2011-05-222-9/+28
| | | | | Optimally, satisfied deps are always merged after the asap nodes that depend on them.
* test_depth: use merge_order_assertionsZac Medico2011-05-221-1/+3
|
* _add_pkg_dep_string: handle satisfied virt_depZac Medico2011-05-222-3/+21
| | | | | This fixes a problem with the asap LIBC_PACKAGE_ATOM test case for bug #303567.
* test_merge_order: test asap LIBC_PACKAGE_ATOMZac Medico2011-05-221-0/+44
|
* _validate_blockers: reference bug 128809Zac Medico2011-05-221-4/+7
|
* test_merge_order: test asap PORTAGE_PACKAGE_ATOMZac Medico2011-05-221-0/+22
|
* test_merge_order: test case for bug 250286Zac Medico2011-05-221-0/+28
|
* test_merge_order: test hard block resolutionZac Medico2011-05-221-0/+18
|
* test_merge_order: test many-to-one blocksZac Medico2011-05-222-8/+14
|
* Package: add new _gen_hash_key methodZac Medico2011-05-224-44/+53
|
* test_depth: use ambiguous_merge_orderZac Medico2011-05-221-2/+4
|
* ambiguous_merge_order: set match = False moreZac Medico2011-05-221-0/+2
|
* Fix spelling of "ambiguous".Zac Medico2011-05-223-10/+10
|
* DepPriority: remove "rebuild" attributeZac Medico2011-05-213-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 commitZac Medico2011-05-211-6/+5
|
* test_merge_order: test solve blocker no-overlapZac Medico2011-05-211-1/+23
|
* treewalk: force AUTOCLEAN=yes if libs preservedZac Medico2011-05-211-1/+6
|
* _prune_plib_registry: correct _match_contents useZac Medico2011-05-211-1/+1
|
* merge_order_assertions: fix string format errorZac Medico2011-05-211-1/+2
|
* test_merge_order: test satisfied circular DEPENDZac Medico2011-05-212-1/+55
|
* test_merge_order: test unsolvable buildtime cycleZac Medico2011-05-211-0/+15
|
* test_merge_order: test circular RDEPEND + DEPENDZac Medico2011-05-211-0/+23
|
* test_merge_order: make cycles indirectZac Medico2011-05-211-3/+10
|
* Task.__eq__: allow _hash_key as inputZac Medico2011-05-211-1/+3
| | | | This is used by depgraph._pkg() for lookups.
* ambigous_merge_order: handle more failure modesZac Medico2011-05-201-0/+8
|
* test_merge_order: test hard buildtime blockersZac Medico2011-05-201-0/+21
|
* test_merge_order: test hard blocker resolutionZac Medico2011-05-202-5/+14
|