You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ak...@apache.org on 2026/05/07 19:42:59 UTC
(tooling-trusted-releases) branch api-auth-decorators-1169 updated (87d2038e -> 5252fde9)
This is an automated email from the ASF dual-hosted git repository.
andrewmusselman pushed a change to branch api-auth-decorators-1169
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
omit 87d2038e Validate Trusted Publisher tokens in @api.auth.body_oidc; add registry (#1169)
omit 34474ab7 Consolidate Bearer JWT auth into @api.auth.bearer (#1169)
omit 6ae482b1 Add explicit auth level decorators for API endpoints (scaffolding, #1169)
add 0d6e9554 Don't take project models and merge, fetch and use.
add 4c25f752 Allow a special archive suffix due to Maven source releases
add 151a1041 Add the FreeBSD checksum formatting convention
add d81b2def Wait longer for uploads to complete
add dbcc26f6 Convert storage access errors into the relevant HTTP errors
add c937d3e2 Add a regression test for API storage access error statuses
add d315ea63 Improve trusted publishing error reporting
add 029c1802 Restore tracebacks to the display of all unexpected errors
add 2842f821 Fix a duplicate route and add duplicate route detection
add 306337a7 Fix a problem with showing the files of finished releases
add 3f3c0658 Add a regression test for an error in displaying finished release files
add 66d5b15d Remove the unused Python wheelhouse
add 06b1281e Fix a problem with generating hash files from signatures
add a4ccdf7f Rename the button to return to the upload form on failure
add 7ba383d5 Add a field to allow OpenPGP public key upload by file
add b354ad00 Detect accidental private key upload
add f9a074b9 Add the request ID to error messages
add ef9c4393 Allow https URLs in Apache License 2.0 text, per ASF policy
add 7c161aee Use Noisy Secret tokens for PATs
add 5de09d3a Fix problems associated with manual vote mode
add ee7ff15f Warn when OpenPGP keys are uploaded for a different or unknown user
add 163a2a77 Update mako - fix CVE issue
add cabfa02f Fix function order
add 919d2223 Allow release managers to receive a reminder when a vote finishes
add aa2c8e44 #912 - database changes for project cycles
add 8d95a92a #912 - allow archived date to be stored for a release
add aee2210a #912/#914 - generate CLE doc from project lifecycle
add f3550ae3 Add API support for the trusted vote mode
add 837830e8 Fix a project display name bug
add 75c4967a Add explicit auth level decorators for API endpoints (scaffolding, #1169)
add 3b1377f0 Consolidate Bearer JWT auth into @api.auth.bearer (#1169)
add 5252fde9 Validate Trusted Publisher tokens in @api.auth.body_oidc; add registry (#1169)
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 (87d2038e)
\
N -- N -- N refs/heads/api-auth-decorators-1169 (5252fde9)
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.
No new revisions were added by this update.
Summary of changes:
.pre-commit-config.yaml | 2 +-
atr/api/__init__.py | 310 +++++++++--
atr/blueprints/api.py | 47 +-
atr/cle.py | 293 +++++++++++
atr/config.py | 2 +
atr/cycles.py | 61 +++
atr/db/__init__.py | 27 +
atr/db/interaction.py | 233 +++++++--
atr/docs/authentication-security.md | 1 +
atr/docs/checks.md | 2 +-
atr/errors.py | 80 +++
atr/get/compose.py | 4 +-
atr/get/download.py | 9 +-
atr/get/file.py | 27 +-
atr/get/manual.py | 4 +-
atr/get/resolve.py | 72 +--
atr/get/root.py | 10 +-
atr/get/vote.py | 13 +
atr/get/voting.py | 32 ++
atr/log.py | 14 +
atr/models/api.py | 71 ++-
atr/models/args.py | 14 +
atr/models/results.py | 11 +
atr/models/sql.py | 192 ++++++-
atr/post/compose.py | 22 +-
atr/post/draft.py | 4 +-
atr/post/finish.py | 25 +-
atr/post/keys.py | 117 ++++-
atr/post/projects.py | 43 +-
atr/post/tokens.py | 7 +-
atr/post/upload.py | 21 +-
atr/post/voting.py | 17 +
atr/server.py | 169 ++++--
atr/shared/keys.py | 19 +-
atr/shared/voting.py | 5 +
atr/static/js/src/upload-progress-ui.js | 2 +-
atr/storage/__init__.py | 57 ++-
atr/storage/writers/announce.py | 27 +-
atr/storage/writers/cache.py | 6 +-
atr/storage/writers/checks.py | 14 +-
atr/storage/writers/distributions.py | 10 +-
atr/storage/writers/keys.py | 52 +-
atr/storage/writers/mail.py | 6 +-
atr/storage/writers/policy.py | 21 +-
atr/storage/writers/project.py | 40 +-
atr/storage/writers/release.py | 98 ++--
atr/storage/writers/revision.py | 16 +-
atr/storage/writers/sbom.py | 6 +-
atr/storage/writers/ssh.py | 10 +-
atr/storage/writers/tokens.py | 12 +-
atr/storage/writers/user.py | 8 +-
atr/storage/writers/vote.py | 116 +++--
atr/storage/writers/workflowstatus.py | 6 +-
atr/tasks/__init__.py | 92 ++--
atr/tasks/checks/hashing.py | 17 +-
atr/tasks/checks/license.py | 14 +-
atr/tasks/checks/targz.py | 2 +-
atr/tasks/checks/zipformat.py | 2 +-
atr/tasks/vote.py | 119 +++++
atr/templates/error.html | 12 +-
atr/templates/notfound.html | 12 +-
atr/util.py | 30 +-
atr/web.py | 10 +
migrations/versions/0074_2026.05.04_0d6e9554.py | 100 ++++
migrations/versions/0075_2026.05.04_97e3037f.py | 29 ++
migrations/versions/0076_2026.05.06_e5fa9b30.py | 86 ++++
pip-audit.requirements | 16 +-
tests/unit/test_admin_delete_committee_keys.py | 2 +-
tests/unit/test_archive_root_variants.py | 29 ++
tests/unit/test_blueprints.py | 101 +++-
tests/unit/test_checks_hashing.py | 76 +++
tests/unit/test_checks_license.py | 13 +
tests/unit/test_cle.py | 401 +++++++++++++++
tests/unit/test_cycles.py | 55 ++
tests/unit/test_get_file.py | 58 +++
tests/unit/test_interaction_check_results.py | 110 ++++
tests/unit/test_keys_post.py | 66 +++
tests/unit/test_keys_writer.py | 4 +-
tests/unit/test_release_writer_hashgen.py | 2 +
tests/unit/test_trusted_publisher.py | 43 ++
tests/unit/test_upload_json.py | 39 +-
tests/unit/test_vote_end_notify.py | 653 ++++++++++++++++++++++++
tests/unit/test_vote_rendering.py | 74 +++
tests/unit/test_vote_resolution.py | 14 +-
uv.lock | 112 ++--
wheelhouse/rpgp-py-v0.19.6.html | 15 -
wheelhouse/rpgp-py-v0.19.7.html | 15 -
87 files changed, 4236 insertions(+), 674 deletions(-)
create mode 100644 atr/cle.py
create mode 100644 atr/cycles.py
create mode 100644 atr/errors.py
create mode 100644 migrations/versions/0074_2026.05.04_0d6e9554.py
create mode 100644 migrations/versions/0075_2026.05.04_97e3037f.py
create mode 100644 migrations/versions/0076_2026.05.06_e5fa9b30.py
create mode 100644 tests/unit/test_checks_hashing.py
create mode 100644 tests/unit/test_cle.py
create mode 100644 tests/unit/test_cycles.py
create mode 100644 tests/unit/test_get_file.py
create mode 100644 tests/unit/test_interaction_check_results.py
create mode 100644 tests/unit/test_keys_post.py
create mode 100644 tests/unit/test_trusted_publisher.py
create mode 100644 tests/unit/test_vote_end_notify.py
delete mode 100644 wheelhouse/rpgp-py-v0.19.6.html
delete mode 100644 wheelhouse/rpgp-py-v0.19.7.html
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org