This is an automated email from the ASF dual-hosted git repository.

wave pushed a commit to branch remove-artifacts-path-from-projects-compose-form
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to 
refs/heads/remove-artifacts-path-from-projects-compose-form by this push:
     new c30faaee Remove artifacts paths from project compose form
c30faaee is described below

commit c30faaee15bf27c5c9b3d7991b1e0d4ec4553009
Author: Dave Fisher <[email protected]>
AuthorDate: Fri Mar 20 11:14:32 2026 -0700

    Remove artifacts paths from project compose form
---
 atr/get/projects.py    |  2 --
 atr/shared/projects.py | 10 ----------
 2 files changed, 12 deletions(-)

diff --git a/atr/get/projects.py b/atr/get/projects.py
index 8f1215a9..b9460b0b 100644
--- a/atr/get/projects.py
+++ b/atr/get/projects.py
@@ -354,11 +354,9 @@ def _render_compose_form(project: sql.Project) -> 
htm.Element:
             submit_label="Save",
             defaults={
                 "project_key": str(project.key),
-                "source_artifact_paths": 
"\n".join(project.policy_source_artifact_paths),
                 "license_check_mode": project.policy_license_check_mode,
                 "source_excludes_lightweight": 
"\n".join(project.policy_source_excludes_lightweight),
                 "source_excludes_rat": 
"\n".join(project.policy_source_excludes_rat),
-                "binary_artifact_paths": 
"\n".join(project.policy_binary_artifact_paths),
                 "file_tag_mappings": atr_tag_yaml,
                 "strict_checking": project.policy_strict_checking,
             },
diff --git a/atr/shared/projects.py b/atr/shared/projects.py
index 470a32f9..e027ee11 100644
--- a/atr/shared/projects.py
+++ b/atr/shared/projects.py
@@ -108,11 +108,6 @@ class AddProjectForm(form.Form):
 class ComposePolicyForm(form.Form):
     variant: COMPOSE = form.value(COMPOSE)
     project_key: safe.ProjectKey = form.label("Project name", 
widget=form.Widget.HIDDEN)
-    source_artifact_paths: str = form.label(
-        "Source artifact paths",
-        "Paths to source artifacts to be included in the release.",
-        widget=form.Widget.TEXTAREA,
-    )
     license_check_mode: form.Enum[sql.LicenseCheckMode] = form.label(
         "Source artifact license checker",
         "Only affects source artifacts. Lightweight checks ALWAYS RUN on 
binary artifacts.",
@@ -129,11 +124,6 @@ class ComposePolicyForm(form.Form):
         "RAT exclude file contents for source artifacts. Used only when no 
.rat-excludes file exists in the archive.",
         widget=form.Widget.TEXTAREA,
     )
-    binary_artifact_paths: str = form.label(
-        "Binary artifact paths",
-        "Paths to binary artifacts to be included in the release.",
-        widget=form.Widget.TEXTAREA,
-    )
     file_tag_mappings: str = form.label(
         "Tagging spec",
         "Spec for which files should be tagged for release in specific 
distribution types, YAML format",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to