Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
installer
Commits
2933d5f0
Commit
2933d5f0
authored
Jul 13, 2021
by
Paul McCarthy
🚵
Browse files
DOC: remove example manifest from code, as it will just go out of date all the time
parent
ee18a195
Changes
1
Hide whitespace changes
Inline
Side-by-side
fslinstaller.py
View file @
2933d5f0
...
@@ -373,50 +373,9 @@ class Context(object):
...
@@ -373,50 +373,9 @@ class Context(object):
about available FSL vesrions, and the most recent version number of the
about available FSL vesrions, and the most recent version number of the
installer (this script).
installer (this script).
The manifest file is a JSON file with the following structure (lines
The manifest file is a JSON file. Lines beginning
beginning with two forward-slashes are ignored):
with a double-forward-slash are ignored. See test/data/manifes.json
for an example.
{
"installer" : {
// Latest version of installer script
"version" : "1.2.3",
// URL to download installer script
"url" : "http://abc.com/fslinstaller.py"
// SHA256 checksum of installer script
"sha256" : "ab238........."
},
"versions" : {
// Latest must be present, and must
// contain the version number of the
// latest release
"latest" : "6.1.0",
"6.1.0" : {
'linux-64' : {
"environment" : "http;//abc.com/fsl-6.1.0-linux-64.yml",
"sha256" : "ab23456...",
}
'macos-64' : {
"environment" : "http;//abc.com/fsl-6.1.0-macos-64.yml",
"sha256" : "ab23456...",
}
'linux-64-cuda9.2' : {
"environment" : "http;//abc.com/fsl-6.1.0-linux-64-cuda9.2.yml",
"sha256" : "ab23456...",
}
'linux-64-cuda10.2' : {
"environment" : "http;//abc.com/fsl-6.1.0-linux-64-cuda10.2.yml",
"sha256" : "ab23456...",
}
}
"6.1.1" : {
...
}
}
}
"""
"""
log
.
debug
(
'Downloading FSL installer manifest from %s'
,
url
)
log
.
debug
(
'Downloading FSL installer manifest from %s'
,
url
)
...
...
Write
Preview
Supports
Markdown
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