summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Package: precalculate _hash_keyMarat Radchenko2011-05-251-4/+3
| | | | | This eliminates an expensive getattr call in _get_hash_key(), which greatly improves depgraph performance on a weak ARM cpu.
* Fix typos in comments.Arfrever Frehtes Taifersar Arahesis2011-05-251-3/+3
|
* _find_libs_to_preserve: always return setZac Medico2011-05-251-1/+1
|
* preserve-libs: check for broken linkmap moreZac Medico2011-05-251-3/+6
|
* _pkg_visibility_check: if in graph then visibleZac Medico2011-05-251-1/+10
|
* _LockProcess.unlock: assert successful returncodeZac Medico2011-05-251-0/+3
|
* Fix a typo in a comment.Zac Medico2011-05-251-1/+1
|
* digraph: implement __bool__Zac Medico2011-05-251-1/+9
|
* depgraph._resolve: use temp set for autounmaskZac Medico2011-05-251-3/+7
|
* display_autounmask: optimize check_if_latestZac Medico2011-05-251-15/+16
|
* test_asynchronous_lock: simulate SIGINT from ttyZac Medico2011-05-252-3/+35
|
* AsynchronousTask: tweak poll() logicZac Medico2011-05-251-2/+3
|
* AsynchronousLock: implement _poll() and testZac Medico2011-05-253-0/+14
|
* test_asynchronous_lock: test returncode moreZac Medico2011-05-251-4/+8
|
* test_asynchronous_lock: test wait and cancelZac Medico2011-05-251-0/+22
|
* test_asynchronous_lock: test waitingZac Medico2011-05-251-0/+25
|
* BinpkgFetcher: handle AsynchronousLock failureZac Medico2011-05-251-1/+6
|
* EbuildBuildDir: handle AsynchronousLock failureZac Medico2011-05-251-9/+18
|
* _LockProcess: handle process failure moreZac Medico2011-05-251-11/+28
|
* _LockProcess: handle process failure if cancelledZac Medico2011-05-251-3/+10
|
* preserve-libs: lock vardb for removeFromContentsZac Medico2011-05-251-11/+20
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2011-05-258-20/+20
|
* Use vardbapi.lock() where applicable.Zac Medico2011-05-252-7/+8
|
* movefile: handle EEXIST when os.symlink failsZac Medico2011-05-251-1/+2
|
* _LibGraphNode: re-use the _key attributeZac Medico2011-05-252-6/+13
| | | | | | This allows us to avoid repeating any previous stat calls, which helps to avoid potential race conditions due to inconsistent stat results when the file system is being modified concurrently.
* Fix a typo in a comment.Arfrever Frehtes Taifersar Arahesis2011-05-251-1/+1
|
* find_unused_preserved_libs: fix unmerge handlingZac Medico2011-05-251-15/+31
| | | | | | | Since commit c64d4abee145d083c70273be8fd23bd56dffe7ec (bug #286714), preserved libs have not been properly garbage collected when packages are unmerged without replacement, due to a difference in LinkageMap state. It should behave correcly now.
* prune_plib_registry: display preserved libsZac Medico2011-05-251-0/+7
| | | | | | Since commit c64d4abee145d083c70273be8fd23bd56dffe7ec, sometimes we preserve libs for unmerged packages here (bug #286714), so we should display them like we do in _add_preserve_libs_to_contents().
* treewalk: fix plib_collisions with same cpvZac Medico2011-05-251-8/+14
|
* --autounmask: Use >= atoms if possibleSebastian Luther2011-05-251-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-253-21/+78
| | | | | | 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.
* cache.sqlite: handle readonly morev2.1.9.49Zac Medico2011-05-121-1/+1
|
* porttree: use pure volatile cache if necessaryZac Medico2011-05-121-6/+12
|
* cache.volatile: discard "perms" paramZac Medico2011-05-121-1/+2
|
* cache.sqlite: handle readonlyZac Medico2011-05-121-2/+3
|
* expand_new_virt: return early for non-virtual catZac Medico2011-05-121-0/+5
|
* expand_new_virt: skip match for non-virtual catZac Medico2011-05-121-1/+2
|
* dblink: fix broken counter referencesZac Medico2011-05-111-2/+2
|
* treewalk: fix inverted counter init logicZac Medico2011-05-111-1/+1
|
* portdbapi: tweak cache permission handlingZac Medico2011-05-111-8/+12
| | | | | | This is a reponse to the following issue: http://code.google.com/p/chromium-os/issues/detail?id=15234
* 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
|
* dep_check_composite_db: return early from cp_listZac Medico2011-05-111-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: don't clear vardbapi cache in _load_vdbZac Medico2011-05-111-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.
* get_counter_tick_core: use cpv_allZac Medico2011-05-111-9/+7
| | | | | It's more efficient to use cpv_all since cp_all calls cpv_all anyway, and calls to cp_list induce additional stat calls.
* Cache counter values, avoiding I/O when it doesn't change.David James2011-05-111-33/+38
| | | | | | | | | | This improves merge times by up to 25%, since looping over the vardb for each package install is slow. TEST=Emerge a bunch of packages, notice 25% speed improvement. BUG=chromium-os:15112 Change-Id: I51dd617219cd1820ceeb702291bd790990995be4
* vardbapi: acquire lock during counter_tick_coreZac Medico2011-05-111-9/+17
|
* dep_check_composite_db: remove unused _dep_expandZac Medico2011-05-111-41/+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.
* dep_check_composite_db: implement cp_listZac Medico2011-05-111-0/+17
| | | | | This is used by dep_check since commit 6f9ee9c508c1506cdf8eb0dc46796dbe30f268db.
* config: call _populate_treeVirtuals directlyZac Medico2011-05-111-1/+1
|