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 70f7a52 Make the KEYS file mandatory in the upload key form
70f7a52 is described below
commit 70f7a52b51261f7ef4f152daa43994f20cb5c542
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Jun 11 18:58:38 2025 +0100
Make the KEYS file mandatory in the upload key form
---
atr/routes/keys.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/atr/routes/keys.py b/atr/routes/keys.py
index 14d71d3..ce2a108 100644
--- a/atr/routes/keys.py
+++ b/atr/routes/keys.py
@@ -433,6 +433,7 @@ async def upload(session: routes.CommitterSession) -> str:
class UploadKeyForm(util.QuartFormTyped):
key = wtforms.FileField(
"KEYS file",
+ validators=[wtforms.validators.InputRequired("A KEYS file is
required")],
description=(
"Upload a KEYS file containing multiple PGP public keys."
" The file should contain keys in ASCII-armored format,
starting with"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]