Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | depgraph._resolve: use temp set for autounmask | Zac Medico | 2011-05-17 | 1 | -4/+8 | |
| | ||||||
* | display_autounmask: optimize check_if_latest | Zac Medico | 2011-05-17 | 1 | -15/+16 | |
| | ||||||
* | test_asynchronous_lock: simulate SIGINT from tty | Zac Medico | 2011-05-17 | 1 | -2/+2 | |
| | ||||||
* | AsynchronousTask: tweak poll() logic | Zac Medico | 2011-05-17 | 1 | -2/+3 | |
| | ||||||
* | AsynchronousLock: implement _poll() and test | Zac Medico | 2011-05-17 | 2 | -0/+12 | |
| | ||||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-05-17 | 1 | -1/+1 | |
| | ||||||
* | --autounmask-write: don't write hidden files | Zac Medico | 2011-05-17 | 1 | -0/+6 | |
| | ||||||
* | --autounmask-write: use CONFIGROOT and EROOT | Zac Medico | 2011-05-17 | 1 | -4/+9 | |
| | ||||||
* | --autounmask-write: handle non-existent file | Zac Medico | 2011-05-16 | 1 | -2/+20 | |
| | ||||||
* | --autounmask-write: only prompt when necessary | Zac Medico | 2011-05-16 | 1 | -1/+1 | |
| | ||||||
* | --autounmask-write: handle config file recursion | Zac Medico | 2011-05-16 | 1 | -12/+24 | |
| | ||||||
* | Document that --autounmask is enabled by default. | Zac Medico | 2011-05-16 | 1 | -4/+5 | |
| | ||||||
* | Enable --autounmask by default | Sebastian Luther | 2011-05-16 | 1 | -2/+2 | |
| | ||||||
* | --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 | |
| | ||||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2011-05-15 | 3 | -12/+12 | |
| | ||||||
* | --autounmask: Treat missing keywords as masks | Sebastian Luther | 2011-05-15 | 1 | -0/+9 | |
| | ||||||
* | --autounmask: Allow package.mask changes | Sebastian Luther | 2011-05-15 | 2 | -22/+85 | |
| | ||||||
* | Implement --autounmask-write | Sebastian Luther | 2011-05-15 | 3 | -76/+212 | |
| | | | | | Enabling this option together with --autounmask writes proposed changes to config files, honoring CONFIG_PROTECT. | |||||
* | 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 | |
| | ||||||
* | --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 | 2 | -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_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 | 2 | -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_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 | |||||
* | 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. | |||||
* | 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. | |||||
* | dep_check_composite_db: implement cp_list | Zac Medico | 2011-05-09 | 1 | -0/+17 | |
| | | | | | This is used by dep_check since commit 6f9ee9c508c1506cdf8eb0dc46796dbe30f268db. | |||||
* | display_news_notification: don't populate virts | Zac Medico | 2011-05-08 | 1 | -4/+0 | |
| | | | | | This typically isn't useful anymore, since Gentoo has stopped using old-style virtuals. | |||||
* | unmerge: skip getvirtuals() if cat is not virtual | Zac Medico | 2011-05-08 | 1 | -2/+8 | |
| | | | | | This allows us to avoid triggering the old-style virtual code which scans /var/db/pkg/*/*/PROVIDE. | |||||
* | unmerge: use expand_new_virt for sys pkg warnings | Zac Medico | 2011-05-08 | 2 | -63/+10 | |
| | ||||||
* | merge_wait_queue: use deque.clear() | Zac Medico | 2011-05-08 | 1 | -1/+1 | |
| | ||||||
* | resume_depgraph: don't call break_refs in loop | Zac Medico | 2011-05-08 | 1 | -2/+1 | |
| | | | | | | | | | | The break_refs call was unnecessary and it broke the state of the frozen_config instance, causing the following error: File "pym/_emerge/depgraph.py", line 1290, in _wrapped_add_pkg_dep_string inst_pkgs = vardb.match_pkgs(atom) AttributeError: 'vardbapi' object has no attribute 'match_pkgs' | |||||
* | Use new vardbapi lock function in FakeVartree. | David James | 2011-05-07 | 1 | -11/+6 | |
| | | | | | | | BUG=none TEST=Merged some packages with new code. Ran test suite. Change-Id: Ibb9380122631bf6c79e39691233cfd641931b75a | |||||
* | Be careful with system pkgs + parallel-install. | Zac Medico | 2011-05-07 | 1 | -10/+18 | |
| | | | | | This should prevent FEATURES=parallel-install from interfering with the fixes from bug #256616 and bug #259954. | |||||
* | Use EROOT with VDB_PATH in recent changes. | Zac Medico | 2011-05-07 | 1 | -2/+2 | |
| | ||||||
* | Scheduler: add queue for ebuild-locks | Zac Medico | 2011-05-07 | 1 | -2/+11 | |
| | | | | | | | | Use a separate queue for ebuild-locks when the merge queue allows more than 1 job (due to parallel-install), since the portage.locks module does not behave as desired if we try to lock the same file multiple times concurrently from the same process. | |||||
* | Add FEATURES=parallel-install for finer locks. | Zac Medico | 2011-05-07 | 1 | -1/+2 | |
| | ||||||
* | Rename FEATURES=no-ebuild-locks to ebuild-locks. | Zac Medico | 2011-05-07 | 1 | -5/+8 | |
| | ||||||
* | Use finer grained locks for install. | David James | 2011-05-07 | 2 | -1/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Narrow scope of merge locks to improve performance. Instead of locking the DB for the entire package merge, just lock it when we actually need to do so. Also add locks around conf_mem_file updating and pkg_* phases. Locking in pkg_* phases can be turned off with FEATURES="no-ebuild-locks" if you use ebuilds that are careful not to mess with each other during theses phases. The default is to leave this locking enabled. Given this new locking, I've improved the scheduler to run merge jobs in parallel. Time required for merging 348 packages with --usepkgonly: - Before patch: 29m50s - After patch: 10m2s - After patch w/o locks: 7m9s Change-Id: I63588c4cc59fa6fe2f8327ea1e4a9e71b241d4fe Review URL: http://gerrit.chromium.org/gerrit/498 | |||||
* | Remove redundant pruneNonExisting() call. | Zac Medico | 2011-05-06 | 1 | -1/+0 | |
| | | | | | | Since commit f36b9fa38b5268c2a5579db62acec026625f84a9, the PreservedLibsRegistry automatically prunes itself each time that it is loaded. |