mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-11 17:01:31 +00:00
Promote WORKDIR to UBUNTUTOOLS
This commit is contained in:
parent
2c1e1c8727
commit
98061bc423
@ -105,7 +105,7 @@ The default value for \fB\-\-builder\fR.
|
|||||||
.BR BACKPORTPACKAGE_UPDATE_BUILDER ", " UBUNTUTOOLS_UPDATE_BUILDER
|
.BR BACKPORTPACKAGE_UPDATE_BUILDER ", " UBUNTUTOOLS_UPDATE_BUILDER
|
||||||
The default value for \fB--update\fR.
|
The default value for \fB--update\fR.
|
||||||
.TP
|
.TP
|
||||||
.B BACKPORTPACKAGE_WORKDIR
|
.BR BACKPORTPACKAGE_WORKDIR ", " UBUNTUTOOLS_WORKDIR
|
||||||
The default value for \fB--workdir\fR.
|
The default value for \fB--workdir\fR.
|
||||||
.TP
|
.TP
|
||||||
.BR BACKPORTPACKAGE_LPINSTANCE ", " UBUNTUTOOLS_LPINSTANCE
|
.BR BACKPORTPACKAGE_LPINSTANCE ", " UBUNTUTOOLS_LPINSTANCE
|
||||||
|
@ -51,21 +51,23 @@ As in
|
|||||||
|
|
||||||
.SH PACKAGE\-WIDE VARIABLES
|
.SH PACKAGE\-WIDE VARIABLES
|
||||||
The currently recognised package\-wide variables are:
|
The currently recognised package\-wide variables are:
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B UBUNTUTOOLS_BUILDER
|
.B UBUNTUTOOLS_BUILDER
|
||||||
This specifies the preferred test\-builder, one of
|
This specifies the preferred test\-builder, one of
|
||||||
.BR pbuilder " (default), " sbuild ", " pbuilder\-dist .
|
.BR pbuilder " (default), " sbuild ", " pbuilder\-dist .
|
||||||
|
|
||||||
.TP
|
|
||||||
.B UBUNTUTOOLS_UPDATE_BUILDER
|
|
||||||
Whether or not to update the test\-builder before each test build.
|
|
||||||
.RB "One of " yes " or " no " (default).
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B UBUNTUTOOLS_LPINSTANCE
|
.B UBUNTUTOOLS_LPINSTANCE
|
||||||
The launchpad instance to communicate with. e.g. \fBproduction\fR
|
The launchpad instance to communicate with. e.g. \fBproduction\fR
|
||||||
(default) or \fBstaging\fR.
|
(default) or \fBstaging\fR.
|
||||||
|
.TP
|
||||||
|
.B UBUNTUTOOLS_UPDATE_BUILDER
|
||||||
|
Whether or not to update the test\-builder before each test build.
|
||||||
|
.RB "One of " yes " or " no " (default).
|
||||||
|
.TP
|
||||||
|
.B UBUNTUTOOLS_WORKDIR
|
||||||
|
The directory to use for preparing source packages etc.
|
||||||
|
When unset, defaults to a directory in \fI/tmp/\fR named after the
|
||||||
|
script.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR devscripts (1),
|
.BR devscripts (1),
|
||||||
|
@ -29,10 +29,13 @@ class UDTConfig(object):
|
|||||||
environment variable parsing.
|
environment variable parsing.
|
||||||
"""
|
"""
|
||||||
no_conf = False
|
no_conf = False
|
||||||
|
# Package wide configuration variables.
|
||||||
|
# These are reqired to be used by at least two scripts.
|
||||||
defaults = {
|
defaults = {
|
||||||
'BUILDER': 'pbuilder',
|
'BUILDER': 'pbuilder',
|
||||||
'UPDATE_BUILDER': False,
|
|
||||||
'LPINSTANCE': 'production',
|
'LPINSTANCE': 'production',
|
||||||
|
'UPDATE_BUILDER': False,
|
||||||
|
'WORKDIR': None,
|
||||||
}
|
}
|
||||||
# Populated from the configuration files:
|
# Populated from the configuration files:
|
||||||
config = {}
|
config = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user