Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
devflow
Commits
1296e42b
Commit
1296e42b
authored
Jun 05, 2013
by
Christos Stavrakakis
Browse files
Option for specifying debian branch to use
parent
b8f857f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
devflow/autopkg.py
View file @
1296e42b
...
...
@@ -140,6 +140,11 @@ def main():
action
=
"store_true"
,
help
=
"Specifies a source-only build, no binary packages"
" need to be made."
)
parser
.
add_option
(
"--debian-branch"
,
dest
=
"debian_branch"
,
default
=
None
,
help
=
"Use this debian branch, instead of"
"auto-discovering the debian branch to use"
)
(
options
,
args
)
=
parser
.
parse_args
()
...
...
@@ -193,7 +198,10 @@ def main():
versioning
.
get_python_version
()
# Get the debian branch
debian_branch
=
utils
.
get_debian_branch
(
branch
)
if
options
.
debian_branch
:
debian_branch
=
options
.
debian_branch
else
:
debian_branch
=
utils
.
get_debian_branch
(
branch
)
origin_debian
=
"origin/"
+
debian_branch
# Clone the repo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment