summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
Commit message (Collapse)AuthorAgeFilesLines
* Use unicode_literals more.Zac Medico2013-01-181-9/+14
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* emerge --info: show free ram/swap, bug #451048Zac Medico2013-01-161-0/+13
|
* emerge --depclean: show atoms in verbose outputZac Medico2013-01-021-11/+17
|
* resume_depgraph: check for alternative installedZac Medico2013-01-021-2/+8
| | | | | | | When pruning packages from the merge list, only prune them if the relevant dependency is not satisfied by an alternative package which is already installed. This should fix bug #448176, and now there's also reasons logged for why a particular package is dropped.
* emerge --depclean: clarify unsatisfied atomsZac Medico2012-12-311-1/+6
| | | | | If the atom is unsatisfied due to a USE dep that's only visible in the unevaluated form, then display the unevaluated form.
* Use run_main_scheduler where possible.Zac Medico2012-12-281-28/+4
|
* depclean warning: count nested sets, bug #298298Zac Medico2012-12-171-3/+11
|
* depclean summary: count nested sets, bug #298298Zac Medico2012-12-171-4/+10
|
* emerge --info: handle bug #446358 morev2.2.0_alpha146Zac Medico2012-12-091-6/+9
| | | | | - old-style virtuals - masked packages
* emerge --info: don't error for existing packagesZac Medico2012-12-071-5/+5
| | | | This will fix bug #446358.
* emerge --sync: search PATH for rsync binaryZac Medico2012-12-031-2/+3
| | | | This allows to use rsync from prefix when necessary.
* Add --oneshot to the portage update suggestion.Michał Górny2012-11-301-1/+1
| | | | | Most users probably have it in the @world already but I don't think everybody needs it there explicitly.
* Rename Package.metadata to _metadata.Zac Medico2012-11-261-4/+4
| | | | | The raw metadata is considered a private low-level internal. This makes the Package class consistent with the _pkg_str class.
* emerge --info: search similar names, bug #444596Zac Medico2012-11-241-2/+33
|
* emerge --info: report unmatched atom, bug #444596Zac Medico2012-11-241-34/+47
|
* 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.