From 464652ab8513d6e1fb474b5a61dbe858cc7c2383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 5 May 2015 14:01:10 +0200 Subject: [PATCH] show possible used incident projects on "maintained" command FATE#318944 --- NEWS | 1 + osc/commandline.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 0441c131..3f251e14 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ 0.152 - support buildtime source services - add support searching for groups via "group:" prefix + - show possible used incident projects on "maintained" command 0.151 - fixed shell command injection via crafted _service files (CVE-2015-0778) diff --git a/osc/commandline.py b/osc/commandline.py index 80c56472..33e1a6a4 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -3062,7 +3062,10 @@ Please submit there instead, or use --nodevelproject to force direct submission. if opts.dryrun: for r in result.findall('package'): - print("%s/%s"%(r.get('project'), r.get('package'))) + line="%s/%s"%(r.get('project'), r.get('package')) + for d in r.findall('devel'): + line+=" using sources from %s/%s"%(d.get('project'), d.get('package')) + print(line) return apiopt = ''