Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable --autounmask by default | Sebastian Luther | 2011-05-16 | 8 | -6/+13 |
| | |||||
* | --autounmask-write: respect --ask | Sebastian Luther | 2011-05-16 | 1 | -36/+64 |
| | |||||
* | BinpkgFetcher: handle AsynchronousLock failure | Zac Medico | 2011-05-16 | 1 | -1/+6 |
| | |||||
* | EbuildBuildDir: handle AsynchronousLock failure | Zac Medico | 2011-05-16 | 1 | -9/+18 |
| | |||||
* | _LockProcess: handle process failure more | Zac Medico | 2011-05-15 | 1 | -11/+28 |
| | |||||
* | _LockProcess: handle process failure if cancelled | Zac Medico | 2011-05-15 | 1 | -3/+10 |
| | |||||
* | preserve-libs: lock vardb for removeFromContents | Zac Medico | 2011-05-15 | 1 | -11/+20 |
| | |||||
* | Revert "counter_tick_core: don't lock if parallel-install" | Zac Medico | 2011-05-15 | 1 | -14/+2 |
| | | | | | | This reverts commit 405ad9eed65393205ec28af8772f7ea45ce0371e. The root problem is fixed by commit 8380ec9d7590a47b912e0d1e1db2ebb6049b903b. | ||||
* | treewalk: unlockdb/lockdb typo triggers EDEADLK | Zac Medico | 2011-05-15 | 1 | -1/+1 |
| | |||||
* | make.conf.txt: remove because unused/unmaintained | Zac Medico | 2011-05-15 | 1 | -719/+0 |
| | |||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2011-05-15 | 15 | -39/+39 |
| | |||||
* | --autounmask: Treat missing keywords as masks | Sebastian Luther | 2011-05-15 | 3 | -0/+29 |
| | |||||
* | --autounmask: Allow package.mask changes | Sebastian Luther | 2011-05-15 | 5 | -25/+118 |
| | |||||
* | Implement --autounmask-write | Sebastian Luther | 2011-05-15 | 4 | -76/+216 |
| | | | | | Enabling this option together with --autounmask writes proposed changes to config files, honoring CONFIG_PROTECT. | ||||
* | counter_tick_core: don't lock if parallel-install | Zac Medico | 2011-05-15 | 1 | -2/+14 |
| | | | | | This is the same as commit 461564ae94ff936918eeaa18493bc1da3846796f but this time with comments that make sense. | ||||
* | EbuildMerge: inherit from CompositeTask | Zac Medico | 2011-05-15 | 3 | -14/+12 |
| | |||||
* | EbuildPhase: fix locking for setup phase | Zac Medico | 2011-05-15 | 1 | -1/+1 |
| | |||||
* | EbuildPhase: AsynchronousLock for ebuild-locks | Zac Medico | 2011-05-15 | 1 | -9/+21 |
| | |||||
* | Use vardbapi.lock() where applicable. | Zac Medico | 2011-05-14 | 2 | -7/+8 |
| | |||||
* | movefile: handle EEXIST when os.symlink fails | Zac Medico | 2011-05-14 | 1 | -1/+2 |
| | |||||
* | Revert "counter_tick_core: don't lock if parallel-install" | Zac Medico | 2011-05-14 | 1 | -11/+2 |
| | | | | | | This reverts commit 461564ae94ff936918eeaa18493bc1da3846796f. Disabling the lock here doesn't really make sense, and I'm still triggering EDEADLK is some other places. | ||||
* | preserve-libs: use vardbapi _fs_lock/unlock | Zac Medico | 2011-05-14 | 1 | -0/+6 |
| | | | | | The preserve-libs code is too dependent on the filesystem state to allow merging/unmerge/env_update to execute concurrently. | ||||
* | vardbapi: add reentrant _fs_lock/unlock methods | Zac Medico | 2011-05-14 | 1 | -22/+43 |
| | |||||
* | _LibGraphNode: re-use the _key attribute | Zac Medico | 2011-05-14 | 2 | -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. | ||||
* | counter_tick_core: don't lock if parallel-install | Zac Medico | 2011-05-14 | 1 | -2/+11 |
| | | | | | | | | Hopefully this avoids the following exception: File "/usr/lib/portage/pym/portage/locks.py", line 138, in lockfile fcntl.lockf(myfd, fcntl.LOCK_EX) IOError: [Errno 35] Resource deadlock avoided | ||||
* | Fix a typo in a comment. | Arfrever Frehtes Taifersar Arahesis | 2011-05-15 | 1 | -1/+1 |
| | |||||
* | find_unused_preserved_libs: fix unmerge handling | Zac Medico | 2011-05-14 | 1 | -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 libs | Zac Medico | 2011-05-14 | 1 | -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 cpv | Zac Medico | 2011-05-14 | 1 | -8/+14 |
| | |||||
* | --autounmask: Use >= atoms if possible | Sebastian Luther | 2011-05-14 | 1 | -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 uninstall | Zac Medico | 2011-05-14 | 4 | -22/+82 |
| | | | | | | 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.2.0_alpha33 | Zac Medico | 2011-05-12 | 1 | -1/+1 |
| | |||||
* | porttree: use pure volatile cache if necessary | Zac Medico | 2011-05-12 | 1 | -6/+12 |
| | |||||
* | cache.volatile: discard "perms" param | Zac Medico | 2011-05-12 | 1 | -1/+2 |
| | |||||
* | cache.sqlite: handle readonly | Zac Medico | 2011-05-12 | 1 | -2/+3 |
| | |||||
* | expand_new_virt: return early for non-virtual cat | Zac Medico | 2011-05-12 | 1 | -0/+5 |
| | |||||
* | expand_new_virt: skip match for non-virtual cat | Zac Medico | 2011-05-12 | 1 | -1/+2 |
| | |||||
* | treewalk: fix inverted counter init logic | Zac Medico | 2011-05-11 | 1 | -1/+1 |
| | |||||
* | portdbapi: tweak cache permission handling | Zac Medico | 2011-05-11 | 1 | -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_pretend | Zac Medico | 2011-05-11 | 1 | -1/+1 |
| | | | | This will fix bug #366939. | ||||
* | unmerge: use frozenset for syslist | Zac Medico | 2011-05-11 | 1 | -0/+1 |
| | |||||
* | depgraph: in complete mode respect --with-bdeps | Zac Medico | 2011-05-11 | 3 | -8/+9 |
| | | | | | 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_list | Zac Medico | 2011-05-10 | 1 | -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 Medico | 2011-05-10 | 1 | -2/+5 |
| | |||||
* | Strip build-time dependencies when they're ignored and we're not in ↵ | David James | 2011-05-10 | 1 | -0/+5 |
| | | | | | | | | | | | --rebuild mode. This should improve depgraph calculation performance. TEST=Ran test suite. BUG=chromium-os:15144 Change-Id: I9e06817201d7a17ae9b44b424d01c1a2bd89210a | ||||
* | MergeProcess: lock vdb earlier when appropriate | Zac Medico | 2011-05-10 | 1 | -1/+29 |
| | |||||
* | depgraph: don't clear vardbapi cache in _load_vdb | Zac Medico | 2011-05-09 | 1 | -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_all | Zac Medico | 2011-05-09 | 1 | -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 James | 2011-05-09 | 2 | -34/+40 |
| | | | | | | | | | | 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 | ||||
* | dep_check_composite_db: remove unused _dep_expand | Zac Medico | 2011-05-09 | 1 | -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. |