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
7f654d49
Commit
7f654d49
authored
Apr 09, 2020
by
Lorenz Hüdepohl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mpcdf_common.py
mpcdf_common.py
+2
-2
No files found.
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