summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* _LockProcess: fix _poll returncodev2.1.9.50Zac Medico2011-05-261-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 pkgZac Medico2011-05-261-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 Medico2011-05-261-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 tooZac Medico2011-05-261-2/+2
|
* _LockProcess: remove redundant scheduler attribZac Medico2011-05-261-1/+1
|
* unmerge: remove redundant builddir_locked varZac Medico2011-05-261-7/+4
|
* AsynchronousLock: check type in _poll and _cancelZac Medico2011-05-261-3/+3
|
* _add_pkg_dep_string: fix virt_dep satisfied checkZac Medico2011-05-261-1/+1
| | | | | | This is a mistake made when merging commit 6e6b9c5928e175af42615542866fc9b3aef694e6 to create commit 75b0a8aed8e56f02c0b455b4ee31fdc7e2b464cf.
* man/emerge.1: refer to ebuild(5) for atom syntaxZac Medico2011-05-261-1/+1
|
* unmerge: pass through writemsg_level paramZac Medico2011-05-261-1/+1
|
* autounmask_breakage_detected: disable backtrackZac Medico2011-05-261-1/+1
|
* discardBlocker: fix bug in slot match codeZac Medico2011-05-261-2/+3
|
* discardBlocker: fix cpv match so it worksZac Medico2011-05-261-2/+4
|
* Update timestamps in headers of modified files.Zac Medico2011-05-257-7/+6
|
* dblink.unmerge: always initialize myebuildpathZac Medico2011-05-251-10/+5
| | | | | This is required for the doebuild_environment() call. Also, set builddir_locked = True when appropriate.
* counter_tick: respect incrementing param alwaysZac Medico2011-05-251-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 okZac Medico2011-05-251-1/+13
| | | | This will fix bug #368725.
* unmerge: fix logging for unsupported EAPIZac Medico2011-05-251-20/+31
|
* rebuilt-binaries: prefer newer unbuiltZac Medico2011-05-251-1/+7
|
* writedict: use write_atomic for exceptionsZac Medico2011-05-252-17/+9
| | | | Also, fix calling code to handle InvalidLocation exceptions.
* treewalk: reset cloned config instancesZac Medico2011-05-251-0/+1
|
* dblink: use config._init_dirs() when necessaryZac Medico2011-05-251-3/+7
|
* writedict: raise any exceptionsZac Medico2011-05-251-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-251-3/+3
|
* vardbapi: use config._init_dirs() when necessaryZac Medico2011-05-251-5/+6
|
* cleanrm: handle UnsupportedAPIExceptionZac Medico2011-05-251-2/+5
|
* depgraph: detect deps broken by autounmaskZac Medico2011-05-251-1/+40
| | | | This will fix bug #368429.
* PackageUninstall: return early if pkg is missingZac Medico2011-05-251-0/+10
|
* test_merge_order: test asap PDEPEND (bug #180045)Zac Medico2011-05-252-0/+34
|
* treewalk: fix PORTAGE_BUILDIR_LOCKED stateZac Medico2011-05-251-1/+3
| | | | | This fixes breakage from commit f0f1bbe8fa9d3f698cbe529d2a11eec1ce437119.
* doebuild_environment: move EAPI code laterZac Medico2011-05-251-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 Medico2011-05-251-17/+34
| | | | This is preparation for asynchronous support.
* unmerge: split out _unmerge_display() functionZac Medico2011-05-251-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 constructorZac Medico2011-05-251-1/+1
|
* test_merge_order: add more asap libc depsZac Medico2011-05-251-6/+12
|
* _serialize_tasks: prefer unsatisfied asap childZac Medico2011-05-252-9/+28
| | | | | Optimally, satisfied deps are always merged after the asap nodes that depend on them.
* test_depth: use merge_order_assertionsZac Medico2011-05-251-1/+3
|
* _add_pkg_dep_string: handle satisfied virt_depZac Medico2011-05-252-3/+18
| | | | | 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-251-0/+44
|
* _validate_blockers: reference bug 128809Zac Medico2011-05-251-4/+7
|
* test_merge_order: test asap PORTAGE_PACKAGE_ATOMZac Medico2011-05-251-0/+22
|
* test_merge_order: test case for bug 250286Zac Medico2011-05-251-0/+28
|
* test_merge_order: test hard block resolutionZac Medico2011-05-251-0/+18
|
* test_merge_order: test many-to-one blocksZac Medico2011-05-252-8/+14
|
* Package: add new _gen_hash_key methodZac Medico2011-05-254-16/+39
|
* test_depth: use ambiguous_merge_orderZac Medico2011-05-251-2/+4
|
* ambiguous_merge_order: set match = False moreZac Medico2011-05-251-0/+2
|
* Fix spelling of "ambiguous".Zac Medico2011-05-253-10/+10
|
* DepPriority: remove "rebuild" attributeZac Medico2011-05-253-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-251-6/+5
|