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-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new e7d8f06  Remove the unfinished route to delete a candidate release
e7d8f06 is described below

commit e7d8f0605e929814d4ba2b19374df2b280bd247c
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Nov 13 11:03:32 2025 +0000

    Remove the unfinished route to delete a candidate release
---
 atr/post/__init__.py  |  2 --
 atr/post/candidate.py | 28 ----------------------------
 2 files changed, 30 deletions(-)

diff --git a/atr/post/__init__.py b/atr/post/__init__.py
index 4d5209c..2fad021 100644
--- a/atr/post/__init__.py
+++ b/atr/post/__init__.py
@@ -18,7 +18,6 @@
 from typing import Final, Literal
 
 import atr.post.announce as announce
-import atr.post.candidate as candidate
 import atr.post.distribution as distribution
 import atr.post.draft as draft
 import atr.post.finish as finish
@@ -42,7 +41,6 @@ ROUTES_MODULE: Final[Literal[True]] = True
 
 __all__ = [
     "announce",
-    "candidate",
     "distribution",
     "draft",
     "finish",
diff --git a/atr/post/candidate.py b/atr/post/candidate.py
deleted file mode 100644
index 8eefe62..0000000
--- a/atr/post/candidate.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-import atr.blueprints.post as post
-import atr.web as web
-
-
[email protected]("/candidate/delete")
-async def delete(session: web.Committer) -> web.WerkzeugResponse:
-    """Delete a release candidate."""
-    import atr.get as get
-
-    # TODO: We need to never retire revisions, if allowing release deletion
-    return await session.redirect(get.root.index, error="Not yet implemented")


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

Reply via email to