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
mpcdf
obs
osc-plugins
Commits
7f654d49
Commit
7f654d49
authored
Apr 09, 2020
by
Lorenz Hüdepohl
Browse files
Fix console messages of mpcdf_sync
parent
1e89a179
Pipeline
#72665
passed with stage
in 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
7f654d49
...
...
@@ -886,10 +886,10 @@ def sync_projects(api_url, package=None, from_project="software", to_projects=No
enable_repos
=
get_attribute_values
(
api_url
,
from_project
,
orig_package
,
"MPCDF:enable_repositories"
)
if
orig_package
not
in
to_packages
:
if
len
(
enable_repos
)
==
0
:
print
(
"Not branching package {0}, is disabled"
.
format
(
package
))
print
(
"Not branching package {0}, is disabled"
.
format
(
orig_
package
))
continue
elif
enable_repos
==
[
"system"
]:
print
(
"Not branching package {0}, is only enabled for 'system'"
.
format
(
package
))
print
(
"Not branching package {0}, is only enabled for 'system'"
.
format
(
orig_
package
))
continue
filelist
=
osc
.
core
.
meta_get_filelist
(
api_url
,
from_project
,
orig_package
)
if
"_link"
in
filelist
:
...
...
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