summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Enable emerge --quiet-build by default.v2.2.0_alpha74Zac Medico2011-11-111-1/+2
| | | | | | See discussion on the gentoo-dev mailing list: http://archives.gentoo.org/gentoo-dev/msg_4f0401066abe2dc04458a952ac2a17bd.xml
* Use get(REQUIRED_USE) for emphasis.Zac Medico2011-11-091-3/+3
| | | | | None of these cases should raise KeyError, but use get(REQUIRED_USE) anyway to emphasize that care must be taken.
* depgraph: fix possible REQUIRED_USE KeyErrorZac Medico2011-11-081-1/+1
| | | | This goes with commit a0961708ced50c90497811058eda6f4513d2986d.
* depgraph._queue_disjunctive_deps(): Pass EAPI to portage.dep.Atom().Arfrever Frehtes Taifersar Arahesis2011-11-071-1/+1
|
* Allow repository dependencies in command line arguments for --config and ↵Arfrever Frehtes Taifersar Arahesis2011-11-072-2/+2
| | | | --info actions.
* Fix breakage from last commit.Zac Medico2011-11-071-1/+1
|
* REQUIRED_USE: don't save in built packagesZac Medico2011-11-073-4/+5
| | | | | | | It should be safe to assume that REQUIRED_USE is satisfied if the package is built, so it's a waste to save it. Also, fix code which assumes that built Package instances have a REQUIRED_USE key in their metadata.
* emerge --changelog: ChangeLog-YYYY, bug #389611Zac Medico2011-11-061-19/+30
|
* Respect --usepkgonly in suggestions, bug #389617Zac Medico2011-11-061-1/+2
|
* Add emerge --moo action for bug #389609.Zac Medico2011-11-061-16/+25
|
* git_sync_timestamps: validation_chf == mtimeZac Medico2011-10-291-2/+1
|
* Use dbapi._known_keys more.Zac Medico2011-10-291-2/+1
|
* action_metadata: clean up src entry validationZac Medico2011-10-291-34/+10
| | | | | This eliminates a bunch of redundant eclasses code that we handle with template.validate_entry() instead.
* EbuildMetadataPhase: use /dev/null for stdinZac Medico2011-10-292-7/+3
|
* actions.py: remove unused variablesZac Medico2011-10-291-9/+1
|
* action_metadata: use auxdbkeys to compare entriesZac Medico2011-10-291-7/+1
| | | | | This borrows the approach that egencache uses since commit 0e120da008c9d0d41c9372c81145c6e153028a6d.
* emerge --metadata: support md5-dictZac Medico2011-10-291-4/+32
| | | | | | This adds support to action_metadata() for use of arbitrary validation methods, which were introduced in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* git_sync_timestamps: fix breakageZac Medico2011-10-281-9/+18
| | | | | This has been broken since metadbmodule support was removed in commit d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6.
* Use EROOT to validate path arguments.Zac Medico2011-10-282-5/+5
|
* Use any() instead of list(filter()).Zac Medico2011-10-281-1/+1
|
* Check for bytes instead of unicode in args.Zac Medico2011-10-281-2/+1
| | | | | | This simplifies the checks since the bytes type is available in all supported python versions, while the unicode type is only available in python2.
* stacklevel=3 for properties warningsZac Medico2011-10-271-1/+1
| | | | There's an extra level for the @property wrapper.
* fix previous commit to call ensure_dirsZac Medico2011-10-271-1/+2
|
* Run pkg_pretend in PORTAGE_TMPDIR for bug #388593Zac Medico2011-10-271-1/+2
|
* Add emerge --check-news for bug #388233.Zac Medico2011-10-261-1/+14
|
* Add public news functions for bug #388233.Zac Medico2011-10-261-67/+11
| | | | | count_unread_news(portdb, vardb, repos=None, update=True) display_news_notifications(news_counts)
* Use EROOT instead of ROOT for keys everywhere.Zac Medico2011-10-258-95/+96
| | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty.
* create_trees: save target_root for later useZac Medico2011-10-251-7/+1
|
* Remove unused root parameters from doebuild callsZac Medico2011-10-242-3/+3
|
* deprecate "root" attributesZac Medico2011-10-242-3/+13
| | | | | | In preparation for prefix support, were EROOT will be used in place of ROOT in many places, deprecate unnecessary "root" attributes in order to eliminate them as a possible source of confusion.
* Skip global updates prior to sync (called after).Zac Medico2011-10-231-1/+2
|
* depgraph: fix installed masked warningZac Medico2011-10-201-7/+8
| | | | | This warning has been broken since commit 5f65c2294df592a6a4e0f0fff0bedec49ed3491a.
* resolver/output: use set for myfetchlist hashingZac Medico2011-10-191-2/+2
|
* resolver/output: display binary fetch sizeZac Medico2011-10-191-5/+14
|
* python3.2 fixes: "ResourceWarning: unclosed file"Zac Medico2011-10-171-3/+3
|
* EbuildMetadataPhase: avoid redundant EAPI parsingZac Medico2011-10-161-2/+4
|
* Add --binpkg-exclude optionSebastian Luther2011-10-163-6/+32
| | | | | This options disables creation of binary packages, no matter what enabled it in the first place. See bug 386903.
* MetadataRegen: remove unused importZac Medico2011-10-151-1/+0
|
* EbuildMetadataPhase: tweak metadata_callback usageZac Medico2011-10-151-3/+2
| | | | | For parse-eapi-ebuild-head, we want to assign self.metadata from the return value, for conformity with usage elsewhere.
* EbuildMetadataPhase: fix parse-eapi-ebuild-headZac Medico2011-10-151-2/+7
| | | | | This fixes bugs that can only be triggered by egencache since other callers handle parse-eapi-ebuild-head earlier.
* EbuildMetadataPhase: fix broken _metadata_callbackZac Medico2011-10-151-2/+2
| | | | | This fixes a regression in FEATURES=parse-eapi-ebuild-head support for egencache since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* EbuildMetadataPhase: use b''.join() for bytesZac Medico2011-10-151-3/+3
|
* emerge --metadata: fix empty INHERITED handlingZac Medico2011-10-141-3/+3
| | | | | | | | Since changes to eclass validation code in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212, validation of cache for packages with empty INHERITED metadata has been broken due to failure to distinguish between None and empty dict return values from eclass.cache.validate_and_rewrite_cache().
* emerge --metadata: fix breakageZac Medico2011-10-141-0/+4
| | | | | | The hunk that got removed from action_metadata in commit d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6 is actually needed when FEATURES=metadata-transfer is enabled.
* cache: rewrite to support arbitrary validation methodBrian Harring2011-10-143-18/+19
| | | | | | | | | | Specifically, the cache can use any portage supported checksum method, or use the standard mtime approach. In addition, support controlling whether or not paths are stored, and generally try to restore some of the centralization/encapsulation that was in place originally. (cherry picked from commit bc1aed614fb588f0ade5bcb5d1265a8db0f8d247) Change-Id: Ic38057e7dbb15063c64a93c99e66e113a7d4c70e
* cache.util: drop completely dead module/codeBrian Harring2011-10-141-21/+5
| | | | | | | Looks of it, this code was copied/mangled into action_metadata; the noise/callbacks in use don't do anything, so drop them, the dead code, and clean up the exception handling to reflect the new reality (cherry picked from commit 320890fadbedf678119ac06d458ed6086075431e)
* layout.conf: make the pregenerated cache format controllableBrian Harring2011-10-131-8/+0
| | | | | | | | | | | Controllable via 'cache-format', currently it supports only one cache; 'pms', and defaults to it. If an unsupported cache-format is specified, the cache is disabled. If pms is specified and metadata/cache directory doesn't exist, the cache is disabled. Finally, this rips out the best module support for locally overriding the cache format used for pregenerated caches; this functionality made zero sense (upstream determines the format, we use what is available).
* FakeVartree: disable match wrapper if necessaryv2.2.0_alpha66Zac Medico2011-10-101-2/+2
|
* FakeVartree: type from last commitZac Medico2011-10-101-1/+1
|
* FakeVartree: fix sync for --dynamic-deps=nZac Medico2011-10-101-1/+2
|