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 d603720 Do not show committees without releases on the keys upload
page
d603720 is described below
commit d60372018bad135f00bddf685b499003c7642e7a
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Jun 12 16:22:20 2025 +0100
Do not show committees without releases on the keys upload page
---
atr/routes/keys.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/atr/routes/keys.py b/atr/routes/keys.py
index ce2a108..bfe2779 100644
--- a/atr/routes/keys.py
+++ b/atr/routes/keys.py
@@ -443,7 +443,9 @@ async def upload(session: routes.CommitterSession) -> str:
submit = wtforms.SubmitField("Upload KEYS file")
selected_committees = wtforms.SelectMultipleField(
"Associate keys with committees",
- choices=[(c.name, c.display_name) for c in user_committees],
+ choices=[
+ (c.name, c.display_name) for c in user_committees if (not
util.committee_without_releases(c.name))
+ ],
coerce=str,
option_widget=wtforms.widgets.CheckboxInput(),
widget=wtforms.widgets.ListWidget(prefix_label=False),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]