This is an automated email from the ASF dual-hosted git repository.
sbp pushed a change to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
from 5e288b2d Set CodeQL to ignore permissions because ATR release data is
public
add 46e8fadf Remove check for task running and add unique constraint, for
which we try to catch the IntegrityError. Include in playwright tests and don't
use revision number to filter individual check results.
add ca1db4ae Change attestable hashes to dict and reuse to resolve TOCTOU
of check result. Use attestable hashes for check reports. Add version to cache
key. Add file hash to hash and signature check and github SHA to source_tree.
add ffd5e8fe Move github model into general models out of SBOM models
add 21042a35 Remove cache ignore logic since we can't have an empty cache
key now. Add policy dependencies to license and RAT checks. Enable local/global
caching switch. Fix bug with task list.
add 9b963ade Refactor check get logic to a shared method and remove some
extra places where we still used release_name or version. Remove bulk-delete of
check results. Update documentation.
add 9e18e43e #725 - make sure failures are logged from PAT failure and
they include the user
new e77fbe04 Add a database model for the quarantined upload phase
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/admin/__init__.py | 5 +-
atr/api/__init__.py | 22 +---
atr/attestable.py | 32 +++--
atr/db/__init__.py | 3 +
atr/db/interaction.py | 85 ++++++++++----
atr/docs/checks.md | 4 +-
atr/get/checks.py | 5 +-
atr/get/result.py | 2 -
atr/jwtoken.py | 39 +------
atr/models/__init__.py | 16 ++-
atr/models/attestable.py | 5 +
atr/{sbom => }/models/github.py | 4 +-
atr/models/sql.py | 88 +++++++++++++-
atr/post/draft.py | 56 ++++-----
atr/sbom/models/__init__.py | 4 +-
atr/shared/web.py | 20 ++--
atr/storage/readers/checks.py | 52 +--------
atr/storage/readers/releases.py | 7 +-
atr/storage/writers/release.py | 9 --
atr/storage/writers/revision.py | 9 +-
atr/storage/writers/tokens.py | 13 +++
atr/tasks/__init__.py | 102 +++++++++-------
atr/tasks/checks/__init__.py | 129 +++++++++++----------
atr/tasks/checks/compare.py | 7 +-
atr/tasks/checks/hashing.py | 5 +-
atr/tasks/checks/license.py | 6 +-
atr/tasks/checks/paths.py | 9 +-
atr/tasks/checks/rat.py | 5 +-
atr/tasks/checks/signature.py | 5 +-
atr/tasks/checks/targz.py | 5 +-
atr/tasks/checks/zipformat.py | 5 +-
atr/templates/check-selected.html | 23 ++--
atr/worker.py | 1 +
....17_7406bb29.py => 0051_2026.02.17_12ac0c6b.py} | 19 ++-
migrations/versions/0051_2026.02.23_5e288b2d.py | 60 ++++++++++
migrations/versions/0052_2026.02.20_96e1972f.py | 33 ++++++
playwright/test.py | 52 +++++++++
tests/unit/recorders.py | 6 +-
tests/unit/test_checks_compare.py | 22 ++--
tests/unit/test_create_revision.py | 2 -
40 files changed, 604 insertions(+), 372 deletions(-)
rename atr/{sbom => }/models/github.py (95%)
copy migrations/versions/{0050_2026.02.17_7406bb29.py =>
0051_2026.02.17_12ac0c6b.py} (57%)
create mode 100644 migrations/versions/0051_2026.02.23_5e288b2d.py
create mode 100644 migrations/versions/0052_2026.02.20_96e1972f.py
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]