* requestsync: Guard some calls when -n is specified

* suspicious-source: Add *.hs *.el *.css to whitelist
This commit is contained in:
Iain Lane 2009-08-08 16:03:28 +01:00
parent 97bed31aa1
commit 39594f64e0
3 changed files with 13 additions and 5 deletions

6
debian/changelog vendored
View File

@ -15,7 +15,11 @@ ubuntu-dev-tools (0.76) UNRELEASED; urgency=low
* Drop python-launchpad-bugs from Depends.
* buildd: Add a --batch mode for batch retrying/rescoring of packages.
-- Michael Bienia <geser@ubuntu.com> Wed, 29 Jul 2009 23:14:22 +0200
[ Iain Lane ]
* requestsync: Guard some calls when -n is specified
* suspicious-source: Add *.hs *.el *.css to whitelist
-- Iain Lane <laney@ubuntu.com> Sat, 08 Aug 2009 16:02:25 +0100
ubuntu-dev-tools (0.75) karmic; urgency=low

View File

@ -501,7 +501,11 @@ if __name__ == '__main__':
sys.exit(1)
# -s flag not specified - check if we do need sponsorship.
if not sponsorship: sponsorship = checkNeedsSponsorship(srcpkg)
if (not newsource):
if (not sponsorship):
sponsorship = checkNeedsSponsorship(srcpkg)
else:
sponsorship = LpApiWrapper.isLpTeamMember('motu') # assume going to universe
# Check for existing package reports.
if not newsource and use_lp_bugs: checkExistingReports(srcpkg)
@ -566,7 +570,7 @@ if __name__ == '__main__':
if force_base_ver:
base_ver = force_base_ver
report += 'Changelog since current %s version %s:\n\n' % (release, cur_ver)
if not newsource: report += 'Changelog since current %s version %s:\n\n' % (release, cur_ver)
report += debian_changelog(srcpkg, debiancomponent, base_ver) + '\n'
if need_interaction:

View File

@ -26,9 +26,9 @@ FILES="*.h *.c *.cc *.cpp *.py *.sh *.txt *.text *.3 *.m4 *.xml *.html *.php \
depcomp *.docbook *.desktop *.menu AUTHORS INSTALL NEWS README TODO \
COPYING LICENSE ChangeLog *.ui *.glade *.gladep *.po *.pot *.ts *.pro \
*.svg *.png *.bmp *.gif *.xpm *.hh *.in *.cs *.1 *.2 *.3 *.4 *.5 *.6 \
*.7 *.8 *.9"
*.7 *.8 *.9 *.hs *.el *.css"
IGNORE=".bzr CVS .svn debian"
IGNORE=".bzr CVS .svn debian .git"
COMMAND=(find ! \( )