From: martin@piware.de <> Date: Mon, 4 Sep 2006 07:40:19 +0000 (+0200) Subject: requestsync: mention Debian component X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=06db2d424108f67678797849bffeecb5b1c7dc60;p=bin.git requestsync: mention Debian component --- 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