Haricharanpanjwani opened a new pull request, #749:
URL: https://github.com/apache/burr/pull/749

   Part of #715.
   Closes #717.
   
   ## Summary
   
   - add a new `promote` subcommand to `scripts/apache_release.py` to promote a 
voted RC from Apache SVN `dist/dev` to `dist/release`
   - validate the expected source archive, sdist, wheel, and matching `.asc` / 
`.sha512` files before promotion
   - remove the current `dist/release` contents before copying in the promoted 
artifacts, matching ASF "latest only" release policy
   - print the final `twine upload` command for the promoted release artifacts
   - support `--dry-run` so the command shows the intended release cleanup, 
copy, and commit steps without committing
   - support incubating -> TLP path transitions through `--dev-svn-root` and 
`--release-svn-root` overrides
   - document the new promotion flow in `scripts/README.md`
   - add focused pytest coverage for RC parsing, artifact validation, rename 
behavior, PyPI command rendering, and dry-run orchestration
   
   ## How I tested this
   
   - ran `python3 -m pytest tests/test_apache_release.py`
   - ran `python3 -m py_compile scripts/apache_release.py 
tests/test_apache_release.py`
   - ran `python3 scripts/apache_release.py promote --help`
   
   ## Notes
   
   - the promotion flow is implemented in `scripts/apache_release.py` rather 
than as a separate script so it stays alongside the existing release build, 
upload, and verification commands
   - the command defaults to incubator SVN paths today, but accepts 
`--dev-svn-root` and `--release-svn-root` so it can handle the post-incubation 
TLP path change without code changes
   - I did not run a full end-to-end `promote --dry-run` against live SVN in 
this environment; I do not have the Apache ID / release-manager environment 
needed to validate the real SVN checkout path end-to-end here
   
   ## Checklist
   
   - [x] PR has an informative and human-readable title
   - [x] Changes are limited to a single goal
   - [x] Any _change_ in functionality is tested
   - [x] Project documentation has been updated for the new command
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to