From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 013451389E2 for ; Fri, 28 Nov 2014 22:29:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 666B6E0810; Fri, 28 Nov 2014 22:29:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E164FE0712 for ; Fri, 28 Nov 2014 22:29:19 +0000 (UTC) Received: from localhost.localdomain (ip70-181-96-121.oc.oc.cox.net [70.181.96.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id B12E533FFDF; Fri, 28 Nov 2014 22:29:18 +0000 (UTC) From: Zac Medico To: gentoo-portage-dev@lists.gentoo.org Cc: Zac Medico Subject: [gentoo-portage-dev] [PATCH] emerge: warn about @installed, don't deprecate (387059) Date: Fri, 28 Nov 2014 14:29:06 -0800 Message-Id: <1417213746-12383-1-git-send-email-zmedico@gentoo.org> X-Mailer: git-send-email 2.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Archives-Salt: 3b0f55db-dd3e-4fb2-83af-eec746771c21 X-Archives-Hash: 91a8616aa7639676f19c71478b338547 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