Commit e72b4c36 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

feat(deprecated-warnings): add url to impacted projects

parent 4fa67476af17
Pipeline #18789 passed with stages
in 4 minutes and 50 seconds
...@@ -139,7 +139,7 @@ for cube in get_all_cubes(): ...@@ -139,7 +139,7 @@ for cube in get_all_cubes():
continue continue
content = json.loads(content) content = json.loads(content)
all_artifacts[cube.name].extend(content) all_artifacts[cube].extend(content)
result: dict = defaultdict(lambda: {"count": 0, "path": [], "projects": defaultdict(int)}) result: dict = defaultdict(lambda: {"count": 0, "path": [], "projects": defaultdict(int)})
......
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
From those projects: From those projects:
<ul> <ul>
{% for project, count in warning_data["projects"]|dictsort %} {% for project, count in warning_data["projects"].items() %}
<li>{{ project }}: {{ count }}</li> <li><a target="_blank" href="{{ project.web_url }}">{{ project.name }}</a>: {{ count }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment