Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | repoman: disallow EMERGE_FROM in EAPI 4 | Zac Medico | 2011-05-31 | 1 | -2/+3 |
| | | | | | | We already have the Eapi4GoneVars check for AA and KV which were removed in EAPI 4, so we can re-use it to disallow EMERGE_FROM. This will fix bug #368865. | ||||
* | dep_zapdeps: use digraph for preference selection | Zac Medico | 2011-05-30 | 2 | -2/+12 |
| | | | | | | | | | | This is required in order for dep_zapdeps to work as intended for solving cases of bug #264434 in which there is an installed package that may need to be uninstalled in order to resolve blockers. It fixes a failure to resolve blockers when attempting to replace media-video/ffmpeg with media-video/libav (symptom is similar to bug #339164, but with new-style virtual instead of old-style PROVIDE virtual). | ||||
* | test_merge_order: add USE deps to bug 264434 test | Zac Medico | 2011-05-30 | 1 | -4/+18 |
| | |||||
* | test_merge_order: test bug #264434 with virtual | Zac Medico | 2011-05-30 | 1 | -1/+21 |
| | |||||
* | backtrack_depgraph: display_problems for each run | Zac Medico | 2011-05-27 | 1 | -2/+13 |
| | |||||
* | depclean: warn for each unmatched argument | Zac Medico | 2011-05-27 | 1 | -1/+4 |
| | | | | This output is similar to that produced by unmerge(). | ||||
* | _LockProcess: fix _poll returncodev2.2.0_alpha37 | Zac Medico | 2011-05-26 | 1 | -1/+1 |
| | | | | | We don't want to return the returncode directly from the subprocess. Return self.returncode instead. | ||||
* | MergeProcess: populate vardbapi cache for new pkg | Zac Medico | 2011-05-26 | 1 | -0/+9 |
| | |||||
* | counter_tick_core: flush the cache (periodically) | Zac Medico | 2011-05-26 | 1 | -0/+6 |
| | | | | | | Since we hold a lock, this is a good opportunity to flush the cache. Note that this will only flush the cache periodically in the main process when _aux_cache_threshold is exceeded. | ||||
* | autounmask_broke_use_dep: flag masked pkgs too | Zac Medico | 2011-05-26 | 1 | -2/+2 |
| | |||||
* | _LockProcess: remove redundant scheduler attrib | Zac Medico | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | unmerge: remove redundant builddir_locked var | Zac Medico | 2011-05-26 | 1 | -7/+4 |
| | |||||
* | AsynchronousLock: check type in _poll and _cancel | Zac Medico | 2011-05-26 | 1 | -3/+3 |
| | |||||
* | unmerge: pass through writemsg_level param | Zac Medico | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | discardBlocker: fix bug in slot match code | Zac Medico | 2011-05-26 | 1 | -2/+3 |
| | |||||
* | discardBlocker: fix cpv match so it works | Zac Medico | 2011-05-26 | 1 | -2/+4 |
| | |||||
* | depgraph: always check for autounmask breakage | Zac Medico | 2011-05-25 | 1 | -9/+10 |
| | | | | | The 2.1.9 branch already does the same thing since commit 65736474c0d70cb10ff1290b3787b61d8a502aed. | ||||
* | dblink.unmerge: always initialize myebuildpath | Zac Medico | 2011-05-25 | 1 | -10/+5 |
| | | | | | This is required for the doebuild_environment() call. Also, set builddir_locked = True when appropriate. | ||||
* | counter_tick: respect incrementing param always | Zac Medico | 2011-05-25 | 1 | -12/+16 |
| | | | | | | Every package install must have a unique counter, since a slotmove update can move two packages into the same SLOT and in that case it's important that both packages have different COUNTER metadata. | ||||
* | FakeVartree: use live meta if installed EAPI ok | Zac Medico | 2011-05-25 | 1 | -2/+10 |
| | | | | This will fix bug #368725. | ||||
* | unmerge: fix logging for unsupported EAPI | Zac Medico | 2011-05-25 | 1 | -26/+29 |
| | |||||
* | rebuilt-binaries: prefer newer unbuilt | Zac Medico | 2011-05-25 | 1 | -1/+7 |
| | |||||
* | FakeVartree: tweak _aux_get_wrapper repo handlingv2.2.0_alpha36 | Zac Medico | 2011-05-24 | 1 | -2/+1 |
| | |||||
* | 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. | ||||
* | 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 |
| |