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/23 13:12:01 UTC
(tooling-trusted-releases) branch sbp updated: Move download path suffix to the top of the policy form
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
The following commit(s) were added to refs/heads/sbp by this push:
new 827d4073 Move download path suffix to the top of the policy form
827d4073 is described below
commit 827d40730fa234f737231828afd1d4f0e848822e
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Thu Jul 23 14:11:34 2026 +0100
Move download path suffix to the top of the policy form
---
atr/shared/projects.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/atr/shared/projects.py b/atr/shared/projects.py
index 6db4bfa6..ee85dc5d 100644
--- a/atr/shared/projects.py
+++ b/atr/shared/projects.py
@@ -376,6 +376,13 @@ class EditVersionSchemeForm(form.Form):
class FinishPolicyForm(form.Form):
variant: FINISH = form.value(FINISH)
project_key: safe.ProjectKey = form.label("Project name", widget=form.Widget.HIDDEN)
+ download_path_suffix: str = form.label(
+ "Default download path suffix",
+ "Pre-fills the SVN publish path. May use {{MAJOR_VERSION}}, {{PROJECT_KEY}}, and {{VERSION}}."
+ " Leave empty for the default (project root for a top-level project,"
+ " {{PROJECT_KEY}}-{{VERSION}} for a subproject).",
+ default="",
+ )
archive_prior_release: form.Bool = form.label(
"Allow auto-archive",
"If enabled, allows a new release to auto archive the prior release in the cycle",
@@ -398,13 +405,6 @@ class FinishPolicyForm(form.Form):
)
email_cc: form.StrList = form.label("Default CC")
email_bcc: form.StrList = form.label("Default BCC")
- download_path_suffix: str = form.label(
- "Default download path suffix",
- "Pre-fills the SVN publish path. May use {{MAJOR_VERSION}}, {{PROJECT_KEY}}, and {{VERSION}}."
- " Leave empty for the default (project root for a top-level project,"
- " {{PROJECT_KEY}}-{{VERSION}} for a subproject).",
- default="",
- )
@pydantic.field_validator("download_path_suffix", mode="before")
@classmethod
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org