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 c6eee0f Split candidate draft file tables into two separate tables
c6eee0f is described below
commit c6eee0fa918ebed32bf90dedb3b0745e2d57df43
Author: Sean B. Palmer <[email protected]>
AuthorDate: Tue Mar 25 14:07:53 2025 +0200
Split candidate draft file tables into two separate tables
---
atr/templates/committee-directory.html | 2 +-
atr/templates/files-list.html | 43 ++++++++++++++++++++++++++++++----
2 files changed, 39 insertions(+), 6 deletions(-)
diff --git a/atr/templates/committee-directory.html
b/atr/templates/committee-directory.html
index b8a9a98..6199122 100644
--- a/atr/templates/committee-directory.html
+++ b/atr/templates/committee-directory.html
@@ -9,7 +9,7 @@
{% endblock description %}
{% block content %}
- <h1>Project directory</h1>
+ <h1>Committee directory</h1>
<p class="intro">Current ASF committees and their projects:</p>
<div class="mb-3">
diff --git a/atr/templates/files-list.html b/atr/templates/files-list.html
index d018335..bba4cbe 100644
--- a/atr/templates/files-list.html
+++ b/atr/templates/files-list.html
@@ -56,7 +56,42 @@
<table class="table table-striped table-hover">
<thead>
<tr>
- <th>Filename</th>
+ <th>Path</th>
+ <th>Warnings</th>
+ <th>Errors</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for path in paths %}
+ <tr>
+ <td>
+ {% if path in artifacts %}
+ <strong><a href="{{ url_for('root_download',
phase='candidate-draft', project=release.project.name, version=release.version,
path=path) }}">{{ path }}</a></strong>
+ {% elif path in metadata %}
+ <em><a href="{{ url_for('root_download',
phase='candidate-draft', project=release.project.name, version=release.version,
path=path) }}">{{ path }}</a></em>
+ {% else %}
+ <a href="{{ url_for('root_download',
phase='candidate-draft', project=release.project.name, version=release.version,
path=path) }}">{{ path }}</a>
+ {% endif %}
+ </td>
+ <td>
+ {% for warning in warnings[path] %}<div class="alert
alert-warning p-0 px-2 mt-2 mb-0">{{ warning }}</div>{% endfor %}
+ </td>
+ <td>
+ {% for error in errors[path] %}<div class="alert
alert-danger p-0 px-2 mt-2 mb-0">{{ error }}</div>{% endfor %}
+ </td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+ </div>
+
+ <p>Debugging information:</p>
+
+ <div class="table-responsive mt-4">
+ <table class="table table-striped table-hover">
+ <thead>
+ <tr>
+ <th>Path</th>
<th>Template</th>
<th>Substitutions</th>
</tr>
@@ -68,12 +103,10 @@
{% if path in artifacts %}
<strong><a href="{{ url_for('root_download',
phase='candidate-draft', project=release.project.name, version=release.version,
path=path) }}">{{ path }}</a></strong>
{% elif path in metadata %}
- <em>{{ path }}</em>
+ <em><a href="{{ url_for('root_download',
phase='candidate-draft', project=release.project.name, version=release.version,
path=path) }}">{{ path }}</a></em>
{% else %}
- {{ path }}
+ <a href="{{ url_for('root_download',
phase='candidate-draft', project=release.project.name, version=release.version,
path=path) }}">{{ path }}</a>
{% endif %}
- {% for error in errors[path] %}<div class="alert
alert-danger p-0 px-2 mt-2 mb-0">{{ error }}</div>{% endfor %}
- {% for warning in warnings[path] %}<div class="alert
alert-warning p-0 px-2 mt-2 mb-0">{{ warning }}</div>{% endfor %}
</td>
<td>{{ templates[path] }}</td>
<td>{{ substitutions[path] }}</td>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]