Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osc-plugins
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpcdf
obs
osc-plugins
Commits
8dae68a5
Commit
8dae68a5
authored
4 years ago
by
Lorenz Hüdepohl
Browse files
Options
Downloads
Patches
Plain Diff
Allow branching of 'system' package to home: projects
parent
e0618d8f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mpcdf_common.py
+1
-1
1 addition, 1 deletion
mpcdf_common.py
with
1 addition
and
1 deletion
mpcdf_common.py
+
1
−
1
View file @
8dae68a5
...
...
@@ -912,7 +912,7 @@ def sync_projects(api_url, package=None, from_project="software", to_projects=No
if
len
(
enable_repos
)
==
0
:
print
(
"
Not branching package {0}, is disabled
"
.
format
(
orig_package
))
continue
elif
enable_repos
==
[
"
system
"
]:
elif
enable_repos
==
[
"
system
"
]
and
"
System
"
not
in
osc
.
core
.
get_repositories_of_project
(
api_url
,
to_project
)
:
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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment