Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
osc-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
mpcdf
obs
osc-plugins
Commits
a1962aaf
Commit
a1962aaf
authored
Apr 01, 2020
by
Lorenz Hüdepohl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nasty bug in mpcdf_enable_repositories
parent
5a5fc9a7
Pipeline
#71969
passed with stage
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mpcdf_enable_repositories.py
mpcdf_enable_repositories.py
+2
-1
No files found.
mpcdf_enable_repositories.py
View file @
a1962aaf
...
...
@@ -92,7 +92,8 @@ def do_mpcdf_enable_repositories(self, subcmd, opts, *args):
if
opts
.
recreate
or
opts
.
set
or
opts
.
disable
:
mpcdf_common
.
mpcdf_enable_repositories
(
api_url
,
project
,
package
,
verbose
=
True
,
dry_run
=
opts
.
dry_run
)
enabled
=
mpcdf_common
.
get_attribute_values
(
api_url
,
project
,
package
,
"MPCDF:enable_repositories"
)
if
project
==
"software"
and
enabled
!=
[
"system"
]
and
len
(
enabled
)
>
1
and
not
opts
.
dry_run
:
raise
1
if
project
==
"software"
and
enabled
!=
[
"system"
]
and
len
(
enabled
)
>
0
and
not
opts
.
dry_run
:
mpcdf_common
.
sync_projects
(
api_url
,
package
,
verbose
=
True
)
elif
(
opts
.
compiler_modules
or
opts
.
mpi_modules
or
opts
.
cuda_modules
):
...
...
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