Proposed bug fix for 144244

This commit is contained in:
Siegfried-Angel Gevatter Pujals (RainCT) 2007-10-01 18:06:45 +02:00
parent 3af39d99b9
commit eca4d4e701
3 changed files with 21 additions and 2 deletions

6
README
View File

@ -23,7 +23,7 @@ mk-sbuild-lv
... will create LVM snapshot chroots via schroot and sbuild. It assumes that ... will create LVM snapshot chroots via schroot and sbuild. It assumes that
sbuild has not be installed and configured before. sbuild has not be installed and configured before.
pbuilder-dist [create|update|build|clean|login|execute] pbuilder-dist [withlog] [create|update|build|clean|login|execute]
... is a wrapper to use pbuilder with many different distributions / versions. ... is a wrapper to use pbuilder with many different distributions / versions.
It has to be renamed to something like pbuilder-feisty, pbuilder-gutsy, etc. It has to be renamed to something like pbuilder-feisty, pbuilder-gutsy, etc.
@ -37,6 +37,10 @@ pull-debian-debdiff <package> <version>
... will attempt to find and download a specific version of a Debian package ... will attempt to find and download a specific version of a Debian package
and its immediate parent to generate a debdiff. and its immediate parent to generate a debdiff.
requestsync [-n|-s] <source package> <target release> [base version]
... will fill a sync for a package from Debian by sending a bug report to
Launchpad.
suspicious-source suspicious-source
... will output a list of files which are not common source files. This should be ... will output a list of files which are not common source files. This should be
run in the root of a source tree to find files which might not be the "prefered run in the root of a source tree to find files which might not be the "prefered

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
ubuntu-dev-tools (0.16) UNRELEASED; urgency=low
* requestsync: allow to customize the SMTP server (LP: #144244)
* Add a short description for requestsync to the README file.
-- Siegfried-Angel Gevatter Pujals (RainCT) <siggi.gevatter@gmail.com> Mon, 1 Oct 2007 18:04:14 +0200
ubuntu-dev-tools (0.15) gutsy; urgency=low ubuntu-dev-tools (0.15) gutsy; urgency=low
[ Laurent Bigonville ] [ Laurent Bigonville ]

View File

@ -173,8 +173,16 @@ Subject: Please sync %s (%s) from Debian unstable (%s)
print mail print mail
print 'Press enter to file this bug, Control-C to abort' print 'Press enter to file this bug, Control-C to abort'
sys.stdin.readline() sys.stdin.readline()
s = smtplib.SMTP('fiordland.ubuntu.com') # get server address
mailserver = os.getenv('DEBSMTP')
if mailserver:
print 'Using custom SMTP server:', mailserver
else :
mailserver = 'fiordland.ubuntu.com'
s = smtplib.SMTP(mailserver)
s.sendmail(myemailaddr, to, mail) s.sendmail(myemailaddr, to, mail)
s.quit() s.quit()