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
manifest-rules
Commits
39db8c4a
Commit
39db8c4a
authored
Jul 30, 2021
by
Paul McCarthy
🚵
Browse files
BF: Some bugs in load_previous_manifest
parent
8c6b527b
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifest_rules/generate_manifest_file.py
View file @
39db8c4a
...
...
@@ -68,10 +68,12 @@ def load_previous_manifest(release_info):
# the environment file is not available
versions
=
dict
(
manifest
.
get
(
'versions'
,
{}))
for
version
,
builds
in
versions
.
items
():
if
version
==
'latest'
:
continue
for
i
,
build
in
enumerate
(
list
(
builds
)):
try
:
with
tempdir
():
download_file
(
build
[
'
url
'
],
'env.yml'
)
download_file
(
build
[
'
environment
'
],
'env.yml'
)
except
Exception
:
print
(
f
'WARNING: Build environment file '
f
'is not available:
{
build
}
'
)
...
...
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