From 06db2d424108f67678797849bffeecb5b1c7dc60 Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Mon, 4 Sep 2006 09:40:19 +0200 Subject: [PATCH] requestsync: mention Debian component --- requestsync | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/requestsync b/requestsync index 0759263..42b7499 100755 --- a/requestsync +++ b/requestsync @@ -44,6 +44,9 @@ if len(sys.argv) != 3: (srcpkg, release) = sys.argv[1:] (cur_ver, component) = cur_version_component(srcpkg, release) +# TODO: figure this out from packages.qa.debian.org; changelogs.d.n only works +# for main ATM anyway, though +debiancomponent = 'main' # generate bug report report = '' @@ -54,7 +57,7 @@ report += ''' affects distros/ubuntu/%s ''' % srcpkg -report += 'Please sync %s (%s) from Debian unstable.\n' % (srcpkg, component) +report += 'Please sync %s (%s) from Debian unstable (%s).\n' % (srcpkg, component, debiancomponent) ubuntuchanges = False base_ver = cur_ver @@ -87,9 +90,9 @@ to = 'new@bugs.launchpad.net' mail = '''From: %s To: %s -Subject: Please sync %s (%s) from unstable +Subject: Please sync %s (%s) from unstable (%s) -%s''' % (myemailaddr, to, srcpkg, component, signed_report) +%s''' % (myemailaddr, to, srcpkg, component, debiancomponent, signed_report) print mail -- 2.39.5