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

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git


The following commit(s) were added to refs/heads/main by this push:
     new 53e6f64  Remove the display of keys from project pages
53e6f64 is described below

commit 53e6f64abd2ee7bb8cb15dd5d8e56471713908c0
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu May 29 16:19:21 2025 +0100

    Remove the display of keys from project pages
---
 atr/db/models.py                |  1 +
 atr/templates/project-view.html | 35 -----------------------------------
 2 files changed, 1 insertion(+), 35 deletions(-)

diff --git a/atr/db/models.py b/atr/db/models.py
index 683cfea..3155d1f 100644
--- a/atr/db/models.py
+++ b/atr/db/models.py
@@ -323,6 +323,7 @@ Thanks,
     def policy_mailto_addresses(self) -> list[str]:
         if ((policy := self.release_policy) is None) or (not 
policy.mailto_addresses):
             # TODO: We actually need the top level project name here, not the 
project name
+            # Most ideally, we should use a definitive source
             return [f"dev@{self.name}.apache.org"]
         return policy.mailto_addresses
 
diff --git a/atr/templates/project-view.html b/atr/templates/project-view.html
index 32b93f7..52a0925 100644
--- a/atr/templates/project-view.html
+++ b/atr/templates/project-view.html
@@ -54,41 +54,6 @@
     </div>
   </div>
 
-  <div class="card mb-4">
-    <div class="card-header bg-light">
-      <h3 class="mb-2">Signing keys</h3>
-    </div>
-    <div class="card-body">
-      <!-- Or we could link to the relevant section in the keys review page -->
-      {% if project.committee.public_signing_keys %}
-        <div class="table-responsive mb-2">
-          <table class="table border table-striped table-hover table-sm">
-            <thead>
-              <tr>
-                <th class="px-2" scope="col">Fingerprint</th>
-                <th class="px-2" scope="col">Email</th>
-                <th class="px-2" scope="col">Apache UID</th>
-              </tr>
-            </thead>
-            <tbody>
-              {% for key in project.committee.public_signing_keys %}
-                <tr>
-                  <td class="text-break font-monospace px-2">
-                    <a href="{{ as_url(routes.keys.show_gpg_key, 
fingerprint=key.fingerprint) }}">{{ key.fingerprint[:16]|upper }}</a>
-                  </td>
-                  <td class="text-break px-2">{{ key.declared_uid or 'Not 
specified' }}</td>
-                  <td class="text-break px-2">{{ key.apache_uid }}</td>
-                </tr>
-              {% endfor %}
-            </tbody>
-          </table>
-        </div>
-      {% else %}
-        <div>No keys found.</div>
-      {% endif %}
-    </div>
-  </div>
-
   <div class="card mb-4">
     <div class="card-header bg-light d-flex justify-content-between 
align-items-center">
       <h3 class="mb-0">Release policy</h3>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to