Repository navigation
release: 2.2.0 - #6
Closed
CtrlAltDevelop wants to merge 8 commits into
Closed
CtrlAltDevelop wants to merge 8 commits into
CtrlAltDevelop wants to merge 8 commits into
Conversation
Tests-only gate (python-test.yml) on pull requests into main; nothing runs on any other branch or event. Publishing uses the shared python-publish.yml.
PyPI trusted publishing rejects the shared reusable publish workflow with invalid-publisher, so build and publish live in release.yml and run on a v* tag, as in mdp-outbox.
Keeps the trigger the last successful publish (2.1.1) used, so creating the release is the single step that ships it.
New optional feature app (DJANGO_WEBHOOKS_ENABLED). Accounts register https endpoints with subscribed event types and a per-endpoint secret. Deliveries are signed with HMAC-SHA256 over timestamp and body (X-Webhook-Signature), sent by the cron-run `manage.py webhooks_deliver` with exponential backoff, and every attempt is recorded. Private, loopback, link-local and reserved targets are refused at registration and again before every send; redirects are not followed. Published over REST, GraphQL and gRPC, and mirrored into the template.
New optional app apps.files (DJANGO_FILES_ENABLED): size limit checked before reading, content type sniffed from magic bytes and matched against the extension, random storage keys, owner-or-staff access (others get 404). Storage via Django's storage API; DJANGO_STORAGE_BACKEND=s3 uses django-storages (new [s3] extra). Shared naming/size/sniff helpers extracted from apps/support/uploads.py into infrastructure/common/uploads.py. Mirrored into the template.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
release.yml, on av*tag), since the shared reusable publish workflow fails PyPI trusted publishing withinvalid-publisher— same fix as mdp-outbox.Test plan
make checkmake test(3162 passed)v2.2.0publishes to PyPI