Repository navigation
Conversation
Closed
8 tasks
This branch has not been deployed
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.
Refs #1356.
The previous one-time correction scripts were removed in #1339 and the previous workflow in #1172. This manual CLI uses the existing SQLAlchemy-CUBRID extractor and a read-only diff by default. The normal release and PyPI workflows are untouched.
The CLI targets one published stable tag and release ID. Applying an edit requires a clean checkout at the approved SHA, the expected hashes of both bodies, explicit body-only approval, a durable backup directory, and a maintainer-confirmed exclusive editing window. It backs up the complete original Release JSON without overwriting an earlier backup, re-reads the target, PATCHes only the body, then re-reads the public record and checks the body and metadata. GitHub has no atomic Release-body compare-and-swap, so the editing-window requirement remains operational.
Adapted from cubrid-lab/pycubrid#1347. The SQLAlchemy-CUBRID checks include the existing first-tag extraction rule, tag-matching title and a changed remote body that already equals the proposed text. All 12 tests passed offline with mocked GitHub operations. Ruff checks and formatting passed. No write was attempted against a published Release. Please independently review before merge or use.