summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Task.__eq__: allow _hash_key as inputZac Medico2011-05-211-1/+3
| | | | This is used by depgraph._pkg() for lookups.
* test_merge_order: test hard blocker resolutionZac Medico2011-05-201-2/+1
|
* Fix grammar in previous commit.Zac Medico2011-05-201-1/+1
|
* depclean: adjust failure message wrt --with-bdepsZac Medico2011-05-201-9/+21
| | | | | We need to be more explicit about using --with-bdeps=y, since this subtlety often leads to confusion.
* Task: optimize == and != _hash_key comparisonZac Medico2011-05-201-2/+8
|
* Add FEATURES=distcc-pump support.MATSUU Takuto2011-05-201-1/+1
| | | | This will fix bug #288597.
* Task: precalculate _hash_valueZac Medico2011-05-193-3/+2
|
* Task: remove unnecessary _get_hash_key() methodZac Medico2011-05-193-28/+12
|
* Package: precalculate _hash_keyMarat Radchenko2011-05-191-11/+9
| | | | | This eliminates an expensive getattr call in _get_hash_key(), which greatly improves depgraph performance on a weak ARM cpu.
* _pkg_visibility_check: if in graph then visibleZac Medico2011-05-171-0/+9
|
* _LockProcess.unlock: assert successful returncodeZac Medico2011-05-171-0/+3
|
* --autounmask-write: use CONFIGROOT moreZac Medico2011-05-171-1/+3
|
* Fix a typo in a comment.Zac Medico2011-05-171-1/+1
|
* depgraph._resolve: use temp set for autounmaskZac Medico2011-05-171-4/+8
|
* display_autounmask: optimize check_if_latestZac Medico2011-05-171-15/+16
|
* test_asynchronous_lock: simulate SIGINT from ttyZac Medico2011-05-171-2/+2
|
* AsynchronousTask: tweak poll() logicZac Medico2011-05-171-2/+3
|
* AsynchronousLock: implement _poll() and testZac Medico2011-05-172-0/+12
|
* Update timestamps in headers of modified files.Zac Medico2011-05-171-1/+1
|
* --autounmask-write: don't write hidden filesZac Medico2011-05-171-0/+6
|
* --autounmask-write: use CONFIGROOT and EROOTZac Medico2011-05-171-4/+9
|
* --autounmask-write: handle non-existent fileZac Medico2011-05-161-2/+20
|
* --autounmask-write: only prompt when necessaryZac Medico2011-05-161-1/+1
|
* --autounmask-write: handle config file recursionZac Medico2011-05-161-12/+24
|
* Document that --autounmask is enabled by default.Zac Medico2011-05-161-4/+5
|
* Enable --autounmask by defaultSebastian Luther2011-05-161-2/+2
|
* --autounmask-write: respect --askSebastian Luther2011-05-161-36/+64
|
* BinpkgFetcher: handle AsynchronousLock failureZac Medico2011-05-161-1/+6
|
* EbuildBuildDir: handle AsynchronousLock failureZac Medico2011-05-161-9/+18
|
* _LockProcess: handle process failure moreZac Medico2011-05-151-11/+28
|
* _LockProcess: handle process failure if cancelledZac Medico2011-05-151-3/+10
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2011-05-153-12/+12
|
* --autounmask: Treat missing keywords as masksSebastian Luther2011-05-151-0/+9
|
* --autounmask: Allow package.mask changesSebastian Luther2011-05-152-22/+85
|
* Implement --autounmask-writeSebastian Luther2011-05-153-76/+212
| | | | | Enabling this option together with --autounmask writes proposed changes to config files, honoring CONFIG_PROTECT.
* EbuildMerge: inherit from CompositeTaskZac Medico2011-05-153-14/+12
|
* EbuildPhase: fix locking for setup phaseZac Medico2011-05-151-1/+1
|
* EbuildPhase: AsynchronousLock for ebuild-locksZac Medico2011-05-151-9/+21
|
* Use vardbapi.lock() where applicable.Zac Medico2011-05-142-7/+8
|
* --autounmask: Use >= atoms if possibleSebastian Luther2011-05-141-3/+49
| | | | | | | | | If the package is the latest avaiable it now uses >=cat/pkg-ver instead of =cat/pkg-ver. If the package is not the latest, but the latest in its slot, >=cat/pkg-ver:slot is used. In all other case =cat/pkg-ver is used. Rational is that it's more likely that newer versions, added in the future, will work with the same configuration changes as the currently latest version than not.
* preserve-libs: preserve during uninstallZac Medico2011-05-142-2/+6
| | | | | | This will fix bug #286714. The emerge --depclean-lib-check option will now be ignored when FEATURES=preserve-libs is enabled, since any libraries that have consumers will simply be preserved.
* EbuildPhase: extract binpkg env for pkg_pretendZac Medico2011-05-111-1/+1
| | | | This will fix bug #366939.
* unmerge: use frozenset for syslistZac Medico2011-05-111-0/+1
|
* depgraph: in complete mode respect --with-bdepsZac Medico2011-05-112-8/+7
| | | | | If you want the graph as complete as possible, now you'll have to use --with-bdeps=y together with --complete-graph.
* dep_check_composite_db: return early from cp_listZac Medico2011-05-101-1/+4
| | | | | Since this implementation is only intended to check for existence of new-style virtuals, it's a waste of time to return more than one cpv.
* depgraph: traverse ignored DEPEND if "complete"Zac Medico2011-05-101-2/+5
|
* Strip build-time dependencies when they're ignored and we're not in ↵David James2011-05-101-0/+5
| | | | | | | | | | | --rebuild mode. This should improve depgraph calculation performance. TEST=Ran test suite. BUG=chromium-os:15144 Change-Id: I9e06817201d7a17ae9b44b424d01c1a2bd89210a
* depgraph: don't clear vardbapi cache in _load_vdbZac Medico2011-05-091-8/+0
| | | | | | Most of the memory is probably held on the heap by the installed package instances anyway, and the cache is useful for being inherited by subprocess in MergeProcess.
* dep_check_composite_db: remove unused _dep_expandZac Medico2011-05-091-43/+1
| | | | | | | | This code has been unused since dep_check started passing token_class=Atom to use_reduce in commit c9f7930883d62fc26af72bff0c4623db0bbc8221. Since then, any atoms without categories are dropped by dep_check because it returns early after catching an InvalidDependString exception.