Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcdf
obs
osc-plugins
Commits
fd21090f
Commit
fd21090f
authored
Jul 10, 2019
by
Lorenz Huedepohl
Browse files
Less output for unchanged packages
parent
3f823b5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
fd21090f
...
...
@@ -365,6 +365,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, filter_r
new_pkg_meta
=
ElementTree
.
tostring
(
root
,
encoding
=
osc
.
core
.
ET_ENCODING
)
if
pkg_meta
!=
new_pkg_meta
:
print
(
"Updating repositories for"
,
package
)
osc
.
core
.
edit_meta
(
"pkg"
,
(
project
,
package
),
data
=
new_pkg_meta
)
return
True
...
...
@@ -572,7 +573,6 @@ Macros:
def
work
(
packagelist
):
for
package
in
packagelist
:
print
(
"Updating repositories for"
,
package
)
if
not
mpcdf_enable_repositories
(
api_url
,
project
,
package
,
filter_repos
=
filter_repos
):
print
(
"ATTENTION: Not changing unmanaged package {0}"
.
format
(
package
))
...
...
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