summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
Commit message (Collapse)AuthorAgeFilesLines
* emerge --info: show linker version, bug #436294v2.2.0_alpha142Zac Medico2012-10-261-0/+18
|
* actions.py: use _pkg_str for EAPI 5 sub-slotZac Medico2012-10-171-12/+4
|
* emerge: optimize --moo, remove deprecated mooZac Medico2012-10-161-26/+2
| | | | | The --moo action is fast like --help now. The "moo" argument has been deprecated since bug #389609, and is now removed.
* run_action: gc locals of calling funcZac Medico2012-10-161-1/+8
|
* emerge_main: split out run_actionZac Medico2012-10-161-39/+738
| | | | Also move post_emerge and chk_updated_cfg_files to separate files.
* Bug #434970: Disable some warnings during `emerge --sync`.Arfrever Frehtes Taifersar Arahesis2012-10-141-0/+1
|
* Substitute SchedulerInterface for PollScheduler.Zac Medico2012-10-071-6/+8
| | | | | | SchedulerInterface suffices for all of these cases. EventLoop(main=False) is used for thread safety where API consumers may be using threads.
* action_uninstall: use PollScheduler not SchedulerZac Medico2012-10-071-14/+15
| | | | | The PollScheduler class suffices here, if we just add a small amount of logic to calculate the _background attribute from the emerge opts.
* MetadataRegen: inherit AsyncSchedulerZac Medico2012-10-061-2/+4
|
* Use constants for hardcoded *DEPEND lists.Zac Medico2012-09-251-2/+1
|
* Add experimental EAPI 5-hdepend support.Ambroz Bizjak2012-09-241-1/+2
|
* Add preserve-libs for stable branch (not default)Zac Medico2012-09-211-2/+3
| | | | | | | | | EAPI 5 supports automatic rebuilds via the slot-operator and sub-slots, which makes preserve-libs much more user-friendly, since it makes @preserved-rebuild unnecessary (also see bug #364425 for explanation of @preserved-rebuild shortcomings). Therefore, enable preserve-libs for the stable branch, but not by default. After EAPI 5 is widely adopted, we can consider enabling preserve-libs by default.
* Add _DEPCLEAN_LIB_CHECK_DEFAULT constant.Zac Medico2012-09-211-2/+2
| | | | | This will allow for the option to be available in the stable branch without changing the default --depclean behavior.
* Fix extended atom match for =* operator.Zac Medico2012-07-181-7/+21
|
* Enable /etc/portage/sets for stable, bug #384061.Zac Medico2012-06-221-9/+21
|
* getportageversion: handle repo: in parent fileZac Medico2012-06-221-0/+15
|
* action_build: always display_problemsZac Medico2012-06-211-0/+10
|
* Don't write or trust cache for unsupported EAPIs.Zac Medico2012-05-101-8/+0
| | | | | | Since we're supposed to be able to efficiently obtain the EAPI from _parse_eapi_ebuild_head, we don't need to write or trust cache entries for unsupported EAPIs.
* Parse EAPI with pattern from PMS section 7.3.1.Zac Medico2012-05-091-6/+2
| | | | | | | | This implements the specification that was approved in Gentoo's council meeting on May 8, 2012 (see bug #402167). The parse-eapi-ebuild-head FEATURES setting is now enabled by default, and causes non-conformant ebuilds to be treated as invalid. This behavior will soon become enabled unconditionally.
* Scheduler: optimize action_uninstallZac Medico2012-04-051-1/+1
|
* Localize config update messages, bug #409835.Greg Turner2012-03-271-7/+9
|
* unmerge: fix return code for bug #409647Zac Medico2012-03-251-7/+3
|
* Exit status 128 + SIGINT for --ask 'no' answer.Zac Medico2012-03-251-5/+5
| | | | This will fix bug #409647.
* emerge --sync: use yellow for portage update msgZac Medico2012-03-251-4/+5
|
* Map emerge --buildpkg=n to FEATURES=-buildpkg.Zac Medico2012-03-211-1/+4
| | | | This will fix bug #409085.
* Use Popen to avoid unnecessary shell.Zac Medico2012-03-081-8/+45
|
* action_build: return 1 for "no" --ask answerZac Medico2012-02-291-1/+1
|
* Add --human-readable to rsync opts for bug 269410Zac Medico2012-01-121-0/+1
|
* Fix some warnings found by pylint.Arfrever Frehtes Taifersar Arahesis2011-12-181-11/+8
|
* load_emerge_config: change order of code backZac Medico2011-12-101-7/+6
| | | | | A couple of recent commits touched this function, and code got moved around unnecessarily.
* config: init data/output modules in constructorZac Medico2011-12-101-4/+0
| | | | | The first constructed config object initializes these modules, and subsequent calls to the _init() functions have no effect.
* actions.py: fix grammar in commentZac Medico2011-12-101-1/+1
|
* Use portage.shutil for safer unicode handling.Zac Medico2011-12-101-1/+1
|
* Delete portage.dbapi.porttree._repo_info class and _repo_info attribute ofArfrever Frehtes Taifersar Arahesis2011-12-091-1/+1
| | | | | portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories attribute of portage.dbapi.porttree.portdbapi objects.
* load_emerge_config: init portage.data earlierZac Medico2011-12-081-7/+10
| | | | | The portage_uid initialization here must to happend before the _init_dirs() calls.
* Enable PORTAGE_GRPNAME/USERNAME in make.conf.Zac Medico2011-12-081-0/+1
| | | | | | | | This is handy for prefix installs, since it allows these variables to be set in make.conf rather than having them hardcoded. Eventually, the corresponding portage.data constants may be deprecated in favor of config attributes, since it's conceivable that multiple configurations with different constants could be used simultaneously.
* action_sync: fix git_sync_timestamps KeyErrorZac Medico2011-12-061-8/+15
| | | | This fixes the case where $PORTDIR doesn't exist prior to sync.
* action_depclean: fix return codeZac Medico2011-12-021-4/+9
| | | | | | The fixes some cases where emerge.log would show that depclean was unsuccessful when it was really successful but there was nothing to remove.
* emerge --quiet-build: don't set PORTAGE_QUIETZac Medico2011-11-161-1/+1
| | | | | | | The PORTAGE_QUIET controls lots of stuff that really should only be controlled by --quiet, especially now that --quiet-build is enabled by default. For example, PORTAGE_QUIET supresses the successful checksum display that is produced by emerge --fetchonly.
* Allow repository dependencies in command line arguments for --config and ↵Arfrever Frehtes Taifersar Arahesis2011-11-071-1/+1
| | | | --info actions.
* 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-291-6/+0
|
* 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-281-1/+1
|
* 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)