commit:     b5b0d117433843da6a8d695140a68c7f13cf72ac
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 28 22:27:18 2014 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Nov 29 18:04:01 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b5b0d117

emerge: warn about @installed, don't deprecate (387059)

The @installed set may have some legitimate uses. Therefore, change
the deprecation warning to a warning about unsolved blockers. The
warning will now appear as follows:

 * The @installed set is not recommended when updating
 * packages because it will often introduce unsolved blocker
 * conflicts. Please refer to bug #387059 for details.

X-Gentoo-Bug: 387059
X-Gentoo-Url: https://bugs.gentoo.org/show_bug.cgi?id=387059
Acked-by: Brian Dolbec <dolsen <AT> gentoo.org>

---
 pym/_emerge/actions.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index dec5b04..d9c45c1 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -3538,10 +3538,12 @@ def expand_set_arguments(myfiles, myaction, 
root_config):
                                        display_missing_pkg_set(root_config, s)
                                        return (None, 1)
                                if s == "installed":
-                                       msg = ("The @installed set is 
deprecated and will soon be "
-                                       "removed. Please refer to bug #387059 
for details.")
+                                       msg = ("The @installed set is not 
recommended when "
+                                               "updating packages because it 
will often "
+                                               "introduce unsolved blocker 
conflicts. Please "
+                                               "refer to bug #387059 for 
details.")
                                        out = portage.output.EOutput()
-                                       for line in textwrap.wrap(msg, 50):
+                                       for line in textwrap.wrap(msg, 57):
                                                out.ewarn(line)
                                setconfig.active.append(s)
 

Reply via email to