* backportpackage

- Prompt to delete existing workdirs (LP: #885514)
  - Support a BACKPORTPACKAGE_UPLOAD configuration/enviornment variable
    (LP: #693217)
This commit is contained in:
Stefano Rivera 2012-03-28 23:25:33 +02:00
parent 3c81209b34
commit 18f3109cee
3 changed files with 9 additions and 1 deletions

View File

@ -127,6 +127,8 @@ def parse(args):
opts.workdir = config.get_value('WORKDIR')
if opts.lpinstance is None:
opts.lpinstance = config.get_value('LPINSTANCE')
if opts.upload is None:
opts.upload = config.get_value('UPLOAD')
if not opts.upload and not opts.workdir:
parser.error('Please specify either a working dir or an upload target!')
if opts.upload and opts.upload.startswith('ppa:'):

5
debian/changelog vendored
View File

@ -5,7 +5,10 @@ ubuntu-dev-tools (0.140) UNRELEASED; urgency=low
* Update machine-readable copyright Format to 1.0.
* pbuilder-dist: Use the same chroot, whether the system-architecture was
the supplied architecture or was chosen by default (LP: #943435)
* backportpackage: Prompt to delete existing workdirs (LP: #885514)
* backportpackage
- Prompt to delete existing workdirs (LP: #885514)
- Support a BACKPORTPACKAGE_UPLOAD configuration/enviornment variable
(LP: #693217)
[ Daniel Hahler ]
* ubuntutools/archive.py: use ProxyHandler in _download_file.

View File

@ -129,6 +129,9 @@ The default value for \fB\-\-builder\fR.
.BR BACKPORTPACKAGE_UPDATE_BUILDER ", " UBUNTUTOOLS_UPDATE_BUILDER
The default value for \fB--update\fR.
.TP
.B BACKPORTPACKAGE_UPLOAD
The default value for \fB--upload\fR.
.TP
.BR BACKPORTPACKAGE_WORKDIR ", " UBUNTUTOOLS_WORKDIR
The default value for \fB--workdir\fR.
.TP