You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ar...@apache.org on 2026/04/17 09:11:52 UTC
(tooling-trusted-releases) branch arm updated (31d133a6 -> 8fe9234b)
This is an automated email from the ASF dual-hosted git repository.
arm pushed a change to branch arm
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
discard 31d133a6 #510 - any PMC member can delete a project
add a75f5bb0 Check that ssh connections are still active
add 8d9c8067 Classify npm archives as binaries based on archive content
new 8fe9234b #510 - any PMC member can delete a project
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (31d133a6)
\
N -- N -- N refs/heads/arm (8fe9234b)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
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/attestable.py | 29 +++++---
atr/classify.py | 53 ++++++++++++++-
atr/ssh.py | 2 +
atr/storage/readers/releases.py | 2 +-
atr/storage/writers/revision.py | 5 +-
atr/tasks/checks/__init__.py | 2 +-
atr/tasks/checks/paths.py | 12 ++--
tests/unit/test_attestable.py | 8 +--
tests/unit/test_classify.py | 133 ++++++++++++++++++++++++++++---------
tests/unit/test_create_revision.py | 7 +-
10 files changed, 200 insertions(+), 53 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org
(tooling-trusted-releases) 01/01: #510 - any PMC member can delete a project
Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
arm pushed a commit to branch arm
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit 8fe9234bf1e68c2ee18b840f0a8b8869c07a8b5f
Author: Alastair McFarlane <ar...@apache.org>
AuthorDate: Thu Apr 16 17:44:37 2026 +0100
#510 - any PMC member can delete a project
---
atr/storage/writers/project.py | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/atr/storage/writers/project.py b/atr/storage/writers/project.py
index 2b532b8f..92781615 100644
--- a/atr/storage/writers/project.py
+++ b/atr/storage/writers/project.py
@@ -28,7 +28,6 @@ import atr.models.safe as safe
import atr.models.sql as sql
import atr.registry as registry
import atr.storage as storage
-import atr.util as util
class GeneralPublic:
@@ -195,14 +194,6 @@ class CommitteeMember(CommitteeParticipant):
if not project:
raise storage.AccessError(f"Project '{project_key}' not found.")
- # Check for ownership or admin status
- # TODO: Should use FoundationCommitter for the latter check
- is_owner = project.created_by == self.__asf_uid
- is_privileged = util.is_user_viewing_as_admin(self.__asf_uid)
-
- if not (is_owner or is_privileged):
- raise storage.AccessError(f"You do not have permission to delete project '{project_key}'.")
-
# Prevent deletion if there are associated releases or channels
if project.releases:
raise storage.AccessError(f"Cannot delete project '{project_key}' because it has associated releases.")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org