public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] emerge: warn about @installed, don't deprecate (387059)
@ 2014-11-28 22:29 Zac Medico
  0 siblings, 0 replies; only message in thread
From: Zac Medico @ 2014-11-28 22:29 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Zac Medico

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
---
 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)
 
-- 
2.0.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-28 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 22:29 [gentoo-portage-dev] [PATCH] emerge: warn about @installed, don't deprecate (387059) Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox