Skip to content
GitLab
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
9f071f14
Commit
9f071f14
authored
Apr 08, 2021
by
Lorenz Hüdepohl
Browse files
Put obsolete repositories to the end
parent
be5fb0eb
Pipeline
#97888
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
9f071f14
...
...
@@ -839,8 +839,16 @@ Macros:
new_prj
=
ElementTree
.
tostring
(
root
,
encoding
=
osc
.
core
.
ET_ENCODING
)
for
name
in
sorted
(
prjconf_repos
.
keys
()):
prjconf_ours
.
extend
(
prjconf_repos
[
name
])
if
name
not
in
old_repos
:
prjconf_ours
.
extend
(
prjconf_repos
[
name
])
prjconf_ours
.
append
(
""
)
if
not
remove_old
:
prjconf_ours
.
append
(
"# Obsolete repos: "
)
prjconf_ours
.
append
(
""
)
for
name
in
sorted
(
old_repos
):
prjconf_ours
.
extend
(
prjconf_repos
[
name
])
prjconf_ours
.
append
(
""
)
prjconf_ours
.
append
(
prjconf_end_marker
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment