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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
b84b7359
Commit
b84b7359
authored
Jul 25, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'slapgrid_only'
parents
7684152a
d2d044d4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
17 deletions
+33
-17
slapos/console.py
slapos/console.py
+4
-4
slapos/format.py
slapos/format.py
+6
-6
slapos/grid/SlapObject.py
slapos/grid/SlapObject.py
+1
-1
slapos/grid/__init__.py
slapos/grid/__init__.py
+1
-1
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+21
-5
No files found.
slapos/console.py
View file @
b84b7359
slapos/format.py
View file @
b84b7359
slapos/grid/SlapObject.py
View file @
b84b7359
slapos/grid/__init__.py
View file @
b84b7359
slapos/grid/slapgrid.py
View file @
b84b7359
...
...
@@ -123,6 +123,20 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
help
=
"Launch slapgrid without delay."
)
parser
.
add_argument
(
"--develop"
,
action
=
"store_true"
,
default
=
False
,
help
=
"Launch slapgrid in develop mode. In develop mode, slapgrid-sr ignores .completed file"
)
parser
.
add_argument
(
"--only_sr"
,
help
=
"Force the update of a single software release (use url hash),"
+
\
"event if is already installed. This option will make all others "
+
\
"sofware releases be ignored"
)
parser
.
add_argument
(
"--only_cp"
,
help
=
"Update a single or a list of computer partition (ie.:slappartX, slappartY),"
+
\
"this option will make all others sofware releases be ignored"
)
parser
.
add_argument
(
"--only_sr"
,
help
=
"Force the update of a single software release (use url hash),"
+
\
"event if is already installed. This option will make all others "
+
\
"sofware releases be ignored"
)
parser
.
add_argument
(
"--only_cp"
,
help
=
"Update a single or a list of computer partitions (ie.:slappartX, slappartY),"
+
\
"this option will make all others computer partitions be ignored"
)
# Parses arguments
if
argument_tuple
==
():
...
...
@@ -354,7 +368,9 @@ class Slapgrid(object):
shacache_key_file
=
None
,
shadir_cert_file
=
None
,
shadir_key_file
=
None
,
develop
=
False
):
develop
=
False
,
software_release_filter_list
=
None
,
computer_partition_filter_list
=
None
):
"""Makes easy initialisation of class parameters"""
# Parses arguments
self
.
software_root
=
os
.
path
.
abspath
(
software_root
)
...
...
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