Skip to content
Snippets Groups Projects
Commit 1d2a64f6 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Make skip messages consistent


Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent f46ce1d4
No related branches found
No related tags found
1 merge request!227trigger-updates: only trigger updates for stable releases
Pipeline #736238 passed
......@@ -50,8 +50,13 @@ def trigger_updates(gl, data, filterglob):
ref = report.get("base")["name"]
if report["branch"] not in trusted_sources.keys():
logging.info(
f'Skipping {package_name} {report["upstream"]["version"]} from {report["branch"]} because not in trusted sources'
print(
f"{path_with_namespace}:",
"Skip",
report["upstream"]["version"],
"from",
report["branch"],
"because not in trusted sources (whitelists.yaml)",
)
continue
......@@ -59,8 +64,13 @@ def trigger_updates(gl, data, filterglob):
if args.only_security:
if not report["branch"].endswith("-security"):
should_trigger_security = False
logging.debug(
f'Skipping {package_name} {report["upstream"]["version"]} from {report["branch"]} due to --only-security'
print(
f"{path_with_namespace}:",
"Skip",
report["upstream"]["version"],
"from",
report["branch"],
"due to --only-security",
)
print(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment