Allow for just building the source package without a test build or

upload (LP: #691896)
This commit is contained in:
Evan Broder 2010-12-18 12:32:48 -08:00
parent 735ac962c3
commit cbe6726eb3
2 changed files with 4 additions and 2 deletions

View File

@ -105,8 +105,8 @@ def parse(args):
opts, args = p.parse_args(args)
if len(args) != 1:
p.error('You must specify a single source package or a .dsc URL/path')
if not opts.upload and not opts.build:
p.error('Nothing to do')
if not opts.upload and not opts.workdir:
p.error('Please specify either a working dir or an upload target')
return opts, args

2
debian/changelog vendored
View File

@ -19,6 +19,8 @@ ubuntu-dev-tools (0.108) UNRELEASED; urgency=low
[ Evan Broder ]
* backportpackage: new script for testing backport requests in a PPA.
- Include -y option to skip prompts (LP: #691895)
- Allow for just building the source package without a test build or
upload (LP: #691896)
* sponsor-patch: Add --update option to make sure build environment is
up to date (LP: #689605)