Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _LockProcess: fix _poll returncodev2.1.9.50 | Zac Medico | 2011-05-26 | 1 | -1/+1 |
| | | | | | We don't want to return the returncode directly from the subprocess. Return self.returncode instead. | ||||
* | dblink.merge: populate vardbapi cache for new pkg | Zac Medico | 2011-05-26 | 1 | -0/+8 |
| | | | | | This is similar to commit 4b5ab00fd0fd08af8c9075acdbb3921cf39d41a3 from the master branch, but in this branch it doesn't fit in MergeProcess. | ||||
* | 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 |
| | |||||
* | _add_pkg_dep_string: fix virt_dep satisfied check | Zac Medico | 2011-05-26 | 1 | -1/+1 |
| | | | | | | This is a mistake made when merging commit 6e6b9c5928e175af42615542866fc9b3aef694e6 to create commit 75b0a8aed8e56f02c0b455b4ee31fdc7e2b464cf. | ||||
* | man/emerge.1: refer to ebuild(5) for atom syntax | Zac Medico | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | unmerge: pass through writemsg_level param | Zac Medico | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | autounmask_breakage_detected: disable backtrack | 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 |
| | |||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-05-25 | 7 | -7/+6 |
| | |||||
* | 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 | -1/+13 |
| | | | | This will fix bug #368725. | ||||
* | unmerge: fix logging for unsupported EAPI | Zac Medico | 2011-05-25 | 1 | -20/+31 |
| | |||||
* | rebuilt-binaries: prefer newer unbuilt | Zac Medico | 2011-05-25 | 1 | -1/+7 |
| | |||||
* | writedict: use write_atomic for exceptions | Zac Medico | 2011-05-25 | 2 | -17/+9 |
| | | | | Also, fix calling code to handle InvalidLocation exceptions. | ||||
* | treewalk: reset cloned config instances | Zac Medico | 2011-05-25 | 1 | -0/+1 |
| | |||||
* | dblink: use config._init_dirs() when necessary | Zac Medico | 2011-05-25 | 1 | -3/+7 |
| | |||||
* | writedict: raise any exceptions | Zac Medico | 2011-05-25 | 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-25 | 1 | -3/+3 |
| | |||||
* | vardbapi: use config._init_dirs() when necessary | Zac Medico | 2011-05-25 | 1 | -5/+6 |
| | |||||
* | cleanrm: handle UnsupportedAPIException | Zac Medico | 2011-05-25 | 1 | -2/+5 |
| | |||||
* | depgraph: detect deps broken by autounmask | Zac Medico | 2011-05-25 | 1 | -1/+40 |
| | | | | This will fix bug #368429. | ||||
* | PackageUninstall: return early if pkg is missing | Zac Medico | 2011-05-25 | 1 | -0/+10 |
| | |||||
* | test_merge_order: test asap PDEPEND (bug #180045) | Zac Medico | 2011-05-25 | 2 | -0/+34 |
| | |||||
* | treewalk: fix PORTAGE_BUILDIR_LOCKED state | Zac Medico | 2011-05-25 | 1 | -1/+3 |
| | | | | | This fixes breakage from commit f0f1bbe8fa9d3f698cbe529d2a11eec1ce437119. | ||||
* | doebuild_environment: move EAPI code later | Zac Medico | 2011-05-25 | 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. | ||||
* | PackageUninstall: use _unmerge_display() | Zac Medico | 2011-05-25 | 1 | -17/+34 |
| | | | | This is preparation for asynchronous support. | ||||
* | unmerge: split out _unmerge_display() function | Zac Medico | 2011-05-25 | 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 constructor | Zac Medico | 2011-05-25 | 1 | -1/+1 |
| | |||||
* | test_merge_order: add more asap libc deps | Zac Medico | 2011-05-25 | 1 | -6/+12 |
| | |||||
* | _serialize_tasks: prefer unsatisfied asap child | Zac Medico | 2011-05-25 | 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-25 | 1 | -1/+3 |
| | |||||
* | _add_pkg_dep_string: handle satisfied virt_dep | Zac Medico | 2011-05-25 | 2 | -3/+18 |
| | | | | | 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-25 | 1 | -0/+44 |
| | |||||
* | _validate_blockers: reference bug 128809 | Zac Medico | 2011-05-25 | 1 | -4/+7 |
| | |||||
* | test_merge_order: test asap PORTAGE_PACKAGE_ATOM | Zac Medico | 2011-05-25 | 1 | -0/+22 |
| | |||||
* | test_merge_order: test case for bug 250286 | Zac Medico | 2011-05-25 | 1 | -0/+28 |
| | |||||
* | test_merge_order: test hard block resolution | Zac Medico | 2011-05-25 | 1 | -0/+18 |
| | |||||
* | test_merge_order: test many-to-one blocks | Zac Medico | 2011-05-25 | 2 | -8/+14 |
| | |||||
* | Package: add new _gen_hash_key method | Zac Medico | 2011-05-25 | 4 | -16/+39 |
| | |||||
* | test_depth: use ambiguous_merge_order | Zac Medico | 2011-05-25 | 1 | -2/+4 |
| | |||||
* | ambiguous_merge_order: set match = False more | Zac Medico | 2011-05-25 | 1 | -0/+2 |
| | |||||
* | Fix spelling of "ambiguous". | Zac Medico | 2011-05-25 | 3 | -10/+10 |
| | |||||
* | DepPriority: remove "rebuild" attribute | Zac Medico | 2011-05-25 | 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-25 | 1 | -6/+5 |
| |