You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/07/09 14:16:31 UTC
(tooling-trusted-releases) branch sbp updated (7ad6ddd3 -> c24f02f4)
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a change to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
from 7ad6ddd3 Log resource usage of the server and task workers
add 60ad2123 #1370 - initial admin page for renaming, moving and deleting projects
add dbb5c710 Update components (#1377)
add 085bc83f #1373 - sort order for committee projects
add 7090e86b #1358 - enforce JTI claim for workflow SSH keys
add b542ea5c #1373 - fix sort order for committee projects on other pages
new c24f02f4 Fix a database query bug in the API endpoint to start a vote
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
atr/admin/__init__.py | 306 +++++++++++++++++++
atr/admin/templates/admin-catalog.html | 11 +
atr/admin/templates/catalog-committee.html | 11 +
atr/admin/templates/catalog-confirm.html | 12 +
atr/api/__init__.py | 1 +
atr/db/interaction.py | 26 ++
atr/docs/authentication-security.md | 2 +
atr/docs/components.md | 50 ----
atr/docs/index.md | 2 +-
atr/docs/signing-artifacts.md | 2 +-
atr/docs/terminology.md | 66 ++++
atr/docs/user-guide.md | 54 +++-
atr/get/committees.py | 18 +-
atr/get/release.py | 2 +-
atr/jwtoken.py | 53 ++--
atr/models/sql.py | 9 +
atr/shared/repoint.py | 62 ++++
atr/storage/__init__.py | 1 +
atr/storage/writers/__init__.py | 2 +
atr/storage/writers/catalogue.py | 332 +++++++++++++++++++++
atr/storage/writers/release.py | 2 +-
atr/storage/writers/ssh.py | 14 +
atr/tasks/maintenance.py | 15 +-
atr/templates/committee-directory.html | 2 +-
atr/templates/committee-view.html | 2 +-
....29_ca1ec0de.py => 0105_2026.07.09_3414415d.py} | 31 +-
tests/unit/test_admin_catalog.py | 44 +++
.../unit/test_catalogue_shared.py | 25 +-
tests/unit/test_catalogue_writer.py | 297 ++++++++++++++++++
tests/unit/test_release_notification.py | 51 ++++
tests/unit/test_workflow_jti_replay.py | 139 +++++++++
31 files changed, 1534 insertions(+), 110 deletions(-)
create mode 100644 atr/admin/templates/admin-catalog.html
create mode 100644 atr/admin/templates/catalog-committee.html
create mode 100644 atr/admin/templates/catalog-confirm.html
delete mode 100644 atr/docs/components.md
create mode 100644 atr/docs/terminology.md
create mode 100644 atr/shared/repoint.py
create mode 100644 atr/storage/writers/catalogue.py
copy migrations/versions/{0099_2026.06.29_ca1ec0de.py => 0105_2026.07.09_3414415d.py} (52%)
create mode 100644 tests/unit/test_admin_catalog.py
copy atr/shared/activity.py => tests/unit/test_catalogue_shared.py (54%)
create mode 100644 tests/unit/test_catalogue_writer.py
create mode 100644 tests/unit/test_release_notification.py
create mode 100644 tests/unit/test_workflow_jti_replay.py
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org
(tooling-trusted-releases) 01/01: Fix a database query bug in the API endpoint to start a vote
Posted by sb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit c24f02f478c46ca7c8ca61b4e283e80ad5a67bcc
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Thu Jul 9 15:15:45 2026 +0100
Fix a database query bug in the API endpoint to start a vote
---
atr/api/__init__.py | 1 +
atr/storage/writers/release.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/atr/api/__init__.py b/atr/api/__init__.py
index d14f42b0..5ba05aae 100644
--- a/atr/api/__init__.py
+++ b/atr/api/__init__.py
@@ -1975,6 +1975,7 @@ async def vote_start(
data.subject,
data.body,
asf_uid,
+ permitted_recipients=permitted_recipients,
email_cc=data.email_cc,
email_bcc=data.email_bcc,
second_round_email_to=data.second_round_email_to,
diff --git a/atr/storage/writers/release.py b/atr/storage/writers/release.py
index 6a1e5544..c4034dde 100644
--- a/atr/storage/writers/release.py
+++ b/atr/storage/writers/release.py
@@ -1033,7 +1033,7 @@ class CommitteeParticipant(FoundationCommitter):
raise storage.AccessError("An error occurred while promoting the release candidate", status=500)
if result.rowcount != 1:
raise storage.AccessError("A newer revision appeared, please refresh and try again.", status=409)
- await self.__data.refresh(release_for_pre_checks)
+ await self.__data.refresh(release_for_pre_checks, attribute_names=list(values))
return release_for_pre_checks, vote_seq, vote_mode, revision_number
async def __required_concern_groups(self, release: sql.Release) -> list[util.ConcernGroup]:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org