Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. refactoring and enhancements to bootstrap_history #19

Merged
merged 9 commits into from
Dec 2, 2024

Conversation

jdavcs
Copy link
Member

@jdavcs jdavcs commented Dec 2, 2024

Misc. improvements:

  • Processing PRs that go into a release is super fast now: it takes less than a minute (used to be ~an hour)
  • Do not hardcode 3 releases per year into bootstrapping module
  • Do not guess release dates based on release version string (minor version no longer corresponds to month)
  • Do not guess future version release date (this estimate has proven to be useless; include only next version number)
  • Add dry-run option to echo release issue content before publishing to github
  • Update targeted Python version range: update min to 3.8, add 3.12
  • Misc. dev updates: tox, isort, etc; update dev-requirements
  • Add format target to Makefile
  • If release documentation directory not found because script was run outside of galaxy root and the galaxy-root option was not supplied, raise exception with helpful message
  • Add freeze-date option
  • Add release-date option (required for generating correct titles for release documentation; for example, version 23.2 released in January 2024)
  • Add next-version option (accommodates transitions where next version cannot be guessed, like 23.2 -> 24.0)
  • Verify that next-version > release-version
  • Add error handling for github authentication
  • Add ClickDate custom type to display dates correctly
  • Do not include micro version numbers in release publication issue (text + sample commands)
  • Misc. updates to release publication issue content
  • Do not write index file in create-changelog command (this was a noop)
  • N.N_announce.rst file: skip the if exists = false!` condition: we don't want to keep the old announcement content
  • Add tests

@jdavcs jdavcs requested a review from ahmedhamidawan December 2, 2024 16:57
galaxy_release_util/bootstrap_history.py Outdated Show resolved Hide resolved
Co-authored-by: Ahmed Hamid Awan <[email protected]>
@jdavcs jdavcs merged commit 4848558 into galaxyproject:main Dec 2, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants