You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ar...@apache.org on 2026/07/28 11:53:53 UTC

(tooling-trusted-releases) 08/08: #1460 - KEYS download link

This is an automated email from the ASF dual-hosted git repository.

alitheg pushed a commit to branch arm
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit 3e995a72f67fe380a119bd4106ec9a2e895b1766
Author: Alastair McFarlane <ar...@apache.org>
AuthorDate: Tue Jul 28 12:53:28 2026 +0100

    #1460 - KEYS download link
---
 atr/catalog_site.py                             | 4 ++++
 atr/templates/catalog_site/project.html         | 3 ++-
 atr/templates/catalog_site/project_archive.html | 3 ++-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/atr/catalog_site.py b/atr/catalog_site.py
index 8bf61318..d86aa217 100644
--- a/atr/catalog_site.py
+++ b/atr/catalog_site.py
@@ -303,6 +303,8 @@ async def _write_project(
 
     project_dir = site_dir / committee.key / project.key
     retired = project.status not in _LIVE_PROJECT_STATUSES
+    # The signing keys are published per committee, beside the release files themselves
+    keys_url = paths.committee_keys_url(committee)
     cle_document = await _project_cle_document(data, project, now)
     await _write(project_dir / "cle.json", json.dumps(cle_document, indent=2, default=str))
     await _write(
@@ -313,6 +315,7 @@ async def _write_project(
             versions=current,
             has_archive=bool(archived),
             retired=retired,
+            keys_url=keys_url,
             root="../../",
         ),
     )
@@ -323,6 +326,7 @@ async def _write_project(
             project=project,
             versions=archived,
             retired=retired,
+            keys_url=keys_url,
             root="../../",
         ),
     )
diff --git a/atr/templates/catalog_site/project.html b/atr/templates/catalog_site/project.html
index 19e25b0f..f6f3e7af 100644
--- a/atr/templates/catalog_site/project.html
+++ b/atr/templates/catalog_site/project.html
@@ -9,7 +9,8 @@
   <div class="d-flex justify-content-between align-items-center flex-wrap gap-2 mb-3">
     <h1 class="mb-0">{{ project.display_name }}</h1>
     <span>
-      <a class="btn btn-sm btn-outline-secondary" href="cle.json">Project CLE</a>
+      <a class="btn btn-sm btn-outline-secondary" href="{{ keys_url }}">Public KEYS</a>
+      <a class="btn btn-sm btn-outline-secondary ms-2" href="cle.json">Project CLE</a>
       {# A retired project has nothing current, so the archive is always the way on #}
       {% if has_archive or retired %}
         <a class="btn btn-sm btn-outline-secondary ms-2" href="archive.html">Archived releases</a>
diff --git a/atr/templates/catalog_site/project_archive.html b/atr/templates/catalog_site/project_archive.html
index 5bc02360..6ec616e7 100644
--- a/atr/templates/catalog_site/project_archive.html
+++ b/atr/templates/catalog_site/project_archive.html
@@ -9,7 +9,8 @@
   <div class="d-flex justify-content-between align-items-center flex-wrap gap-2 mb-3">
     <h1 class="mb-0">{{ project.display_name }} &ndash; archived releases</h1>
     <span>
-      <a class="btn btn-sm btn-outline-secondary" href="cle.json">Project CLE</a>
+      <a class="btn btn-sm btn-outline-secondary" href="{{ keys_url }}">Public KEYS</a>
+      <a class="btn btn-sm btn-outline-secondary ms-2" href="cle.json">Project CLE</a>
       <a class="btn btn-sm btn-outline-secondary ms-2" href="index.html">Current releases</a>
     </span>
   </div>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org