submittodebian: rephrase boilerplate text to be more polite, add reminder

to explain the patch sufficiently and add necessary information.
This commit is contained in:
Daniel Holbach 2010-11-30 11:56:36 +01:00
parent 0dd7a86948
commit a7677ff836
2 changed files with 15 additions and 3 deletions

6
debian/changelog vendored
View File

@ -19,7 +19,11 @@ ubuntu-dev-tools (0.107) UNRELEASED; urgency=low
* syncpackage: Fix error message for failed downloads.
* sponsor-patch: Support building with sbuild (LP: #681242).
-- Stefano Rivera <stefanor@ubuntu.com> Sat, 27 Nov 2010 18:38:32 +0200
[ Daniel Holbach ]
* submittodebian: rephrase boilerplate text to be more polite, add reminder
to explain the patch sufficiently and add necessary information.
-- Daniel Holbach <daniel.holbach@ubuntu.com> Tue, 30 Nov 2010 11:55:24 +0100
ubuntu-dev-tools (0.106) experimental; urgency=low

View File

@ -41,9 +41,17 @@ def get_most_recent_debian_version(changelog):
return v.full_version
def get_bug_body(changelog):
return '''In Ubuntu, we've applied the attached patch to achieve the following:
return '''In Ubuntu, the attached patch was applied to achieve the following:
## ---------------- REPLACE THIS WITH ACTUAL INFORMATION ---------------------
## Please add all necessary information about why the change needed to go in
## Ubuntu, quote policy, spec or any other background material and why it can
## and should be used in Debian too.
## ---------------- REPLACE THIS WITH ACTUAL INFORMATION ---------------------
%s
We thought you might be interested in doing the same.
Thanks for considering the patch.
''' % ("\n".join([a for a in changelog._blocks[0].changes()]))
def gen_debdiff(changelog):