public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] emerge: deprecate --changelog option (bug 693096)
@ 2019-08-30  3:32 Zac Medico
  0 siblings, 0 replies; only message in thread
From: Zac Medico @ 2019-08-30  3:32 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Zac Medico

The emerge --changelog option is not very useful since the
gentoo repository no longer includes ChangeLog files.

Bug: https://bugs.gentoo.org/693096
Signed-off-by: Zac Medico <zmedico@gentoo.org>
---
 lib/_emerge/actions.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/_emerge/actions.py b/lib/_emerge/actions.py
index 6ca323501..705a3ff1c 100644
--- a/lib/_emerge/actions.py
+++ b/lib/_emerge/actions.py
@@ -2908,6 +2908,11 @@ def run_action(emerge_config):
 
 	adjust_configs(emerge_config.opts, emerge_config.trees)
 
+	if "--changelog" in emerge_config.opts:
+		writemsg_level(
+			" %s The emerge --changelog (or -l) option is deprecated\n" %
+			warn("*"), level=logging.WARNING, noiselevel=-1)
+
 	if profile_check(emerge_config.trees, emerge_config.action) != os.EX_OK:
 		return 1
 
-- 
2.21.0



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

only message in thread, other threads:[~2019-08-30  3:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-30  3:32 [gentoo-portage-dev] [PATCH] emerge: deprecate --changelog option (bug 693096) Zac Medico

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