summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
Commit message (Collapse)AuthorAgeFilesLines
* Update unread news items in --pretend mode.Zac Medico2011-09-041-4/+17
| | | | | | | | | This has been disabled since commit c7faa634369e61b87a40172ceb0a5cb9494fd518, but the only reason cited was to avoid permissions issues. So, go ahead and enable it, and handle PermissionDenied just in case. NOTE: The NewsManager typically handles permission errors by returning silently, so PermissionDenied won't necessarily be raised even if we do trigger a permission error.
* Respect package.env buildpkg FEATURES settings.Zac Medico2011-08-301-0/+3
| | | | This will fix bug #318897.
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-261-1/+2
|
* action_info: don't mix print with writemsg_stdoutZac Medico2011-08-041-46/+45
| | | | | This should prevent strange output buffering/order issues reported when piping output to head.
* LinkageMapELF: add getOwners() method and use itZac Medico2011-07-221-1/+9
| | | | | | This preserves the owner information inside LinkageMap.rebuild() and uses it to implement a getOwners() method, which makes it possible to efficiently lookup owners of library providers and consumers.
* Make emerge --noreplace identical to --selective.Zac Medico2011-07-191-4/+4
| | | | | | This removes a very subtle difference in --noreplace package selection logic which is not very useful and triggers strange package selection choices in some cases, as reported in bug #375571.
* Use portage.subprocess_getstatusoutput() more.Zac Medico2011-07-121-5/+2
|
* unmerge: reject USE conditionals in argumentsZac Medico2011-07-121-2/+12
|
* getportageversion: omit implicit -r0 for libcZac Medico2011-07-081-1/+4
|
* Use bool(digraph) instead of empty()/is_empty().Zac Medico2011-06-021-1/+1
|
* depclean: warn for each unmatched argumentZac Medico2011-05-271-1/+4
| | | | This output is similar to that produced by unmerge().
* Fix grammar in previous commit.Zac Medico2011-05-201-1/+1
|
* depclean: adjust failure message wrt --with-bdepsZac Medico2011-05-201-9/+21
| | | | | We need to be more explicit about using --with-bdeps=y, since this subtlety often leads to confusion.
* preserve-libs: preserve during uninstallZac Medico2011-05-141-1/+2
| | | | | | 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.
* display_news_notification: don't populate virtsZac Medico2011-05-081-4/+0
| | | | | This typically isn't useful anymore, since Gentoo has stopped using old-style virtuals.
* unmerge: use expand_new_virt for sys pkg warningsZac Medico2011-05-081-62/+2
|
* Cleanup preserved lib locking in portage.David James2011-05-061-7/+0
| | | | | | | | | | | | This change makes preserved lib modification atomic, and prepares us for narrowing the scope of the merge lock. BUG=chromium-os:14983 TEST=Ran test suite and some example emerges. Change-Id: I39abb6a5ec72be3274e508ef807ac1d9e69db1a8 Review URL: http://gerrit.chromium.org/gerrit/417
* action_info: eliminate duplicate info_pkgs matchZac Medico2011-04-291-10/+21
| | | | | | | | | | Currently, sys-kernel/linux-headers is matched by both a plain sys-kernel/linux-headers atom and by the virtual/os-headers new-style virtual. For backward compatibility, we're going to have duplicates like this for at least a few months (see bug #364673, comment #5). Therefore, automatically eliminate duplicates in the display. Entries that include virtual provider info are preferred over those that do not.
* expand_new_virt: don't traverse blockersZac Medico2011-04-271-0/+6
|
* expand_new_virt: validate EAPI, IUSE and USEZac Medico2011-04-271-4/+25
|
* expand_new_virt: eliminate cpv_getkeyZac Medico2011-04-271-2/+1
|
* expand_new_virt: use stack for recursionZac Medico2011-04-261-24/+25
|
* Fix a typo.Arfrever Frehtes Taifersar Arahesis2011-04-261-1/+1
|
* emerge --info: support new-style virtualsZac Medico2011-04-261-23/+62
| | | | This will fix bug #364673.
* unmerge: fix PORTAGE_BACKGROUND logicZac Medico2011-03-261-0/+7
|
* chk_updated_cfg_files: fix whitespace in messageZac Medico2011-03-201-1/+2
| | | | Thanks to Dennis Schridde in bug #359681.
* action_deselect: expand cat against world atomsZac Medico2011-03-011-12/+24
|
* action_sync: handle IPv6 [ip] in SYNC some moreZac Medico2011-02-241-4/+14
| | | | This will fix bug #356375 some more.
* action_sync: handle IPv6 [ip] in SYNCZac Medico2011-02-241-1/+2
| | | | This will fix bug #356375.
* chk_updated_cfg_files: don't display ._cfg0000_Zac Medico2011-02-211-1/+4
|
* chk_updated_cfg_files: fix plurality of messageZac Medico2011-02-211-2/+8
| | | | This will fix bug #355803.
* emerge: fix --sync cvs error messageZac Medico2011-02-181-2/+2
|
* emerge: warn to stderr if post_* hooks failZac Medico2011-02-181-1/+3
|
* emerge --sync: display message when cvs failsZac Medico2011-02-171-0/+2
|
* action_uninstall: allow repo with wildcard atomZac Medico2011-02-031-1/+1
|
* action_info: fix noiselevel for repo/set displaysZac Medico2011-01-281-4/+4
|
* action_info: use _ENABLE_SET_CONFIG for setsZac Medico2011-01-281-6/+8
|
* --info: Show installed sets (bug 282250)Sebastian Luther2011-01-281-1/+10
|
* Wildcard support for -c/-CSebastian Luther2011-01-241-1/+24
|
* Tweak PollScheduler signal handling.Zac Medico2011-01-151-30/+8
|
* Remove duplicate Scheduler constructor call.Zac Medico2011-01-151-3/+0
|
* Add PollScheduler.terminate() for interruption.Zac Medico2011-01-151-11/+56
| | | | | This allows PollScheduler instances to do basic cleanup and terminate gracefully when SIGINT or SIGTERM signals are received.
* Split out pkg_use_display() from action_info().Zac Medico2011-01-041-56/+4
|
* action_sync: preserved leading / in ssh uriZac Medico2010-11-241-1/+1
|
* Support syncing over ssh with ssh://host//path.Michał Górny2010-11-191-3/+6
|
* Fix emerge --sync PORTDIR creation.Zac Medico2010-11-191-1/+7
|
* calc_depclean: use depgraph._pkg()Zac Medico2010-11-041-9/+9
|
* calc_depclean: fix broken pkg hash keysZac Medico2010-11-041-3/+4
| | | | | This should fix bug 344179. These hash keys were broken by reposyntax changes.
* Fix broken spawn_bash() call.Zac Medico2010-10-241-2/+3
|
* Cleanup CVS calls in 'sync' action.Michał Górny2010-10-241-2/+4
| | | | | Use 'exec' to avoid unnecessary redundant processes. Update the checkout code to use spawn_bash() like update does.