Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
slapos.core
Commits
a9076ca0
Commit
a9076ca0
authored
Sep 06, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added option --all to proceed as in develop
parent
8abdb6c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+6
-0
No files found.
slapos/grid/slapgrid.py
View file @
a9076ca0
...
@@ -116,6 +116,9 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
...
@@ -116,6 +116,9 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
parser
.
add_argument
(
"--develop"
,
action
=
"store_true"
,
default
=
False
,
parser
.
add_argument
(
"--develop"
,
action
=
"store_true"
,
default
=
False
,
help
=
"Launch slapgrid in develop mode. In develop mode, slapgrid "
help
=
"Launch slapgrid in develop mode. In develop mode, slapgrid "
"will process all Softare Releases and/or Computer Partitions."
)
"will process all Softare Releases and/or Computer Partitions."
)
parser
.
add_argument
(
"--all"
,
action
=
"store_true"
,
default
=
False
,
help
=
"Launch slapgrid to process all Softare Releases"
"and/or Computer Partitions."
)
parser
.
add_argument
(
"--only_sr"
,
parser
.
add_argument
(
"--only_sr"
,
help
=
"Force the update of a single software release (use url hash),"
help
=
"Force the update of a single software release (use url hash),"
"event if is already installed. This option will make all others "
"event if is already installed. This option will make all others "
...
@@ -163,6 +166,9 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
...
@@ -163,6 +166,9 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
if
not
mandatory_parameter
in
option_dict
:
if
not
mandatory_parameter
in
option_dict
:
missing_mandatory_parameter_list
.
append
(
mandatory_parameter
)
missing_mandatory_parameter_list
.
append
(
mandatory_parameter
)
if
'all'
in
option_dict
:
option_dict
.
set
(
'develop'
,
True
)
repository_required
=
False
repository_required
=
False
if
'key_file'
in
option_dict
:
if
'key_file'
in
option_dict
:
repository_required
=
True
repository_required
=
True
...
...
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