Repository navigation
Release notes: drop the fix(#N): prefix of a title and a second bare (#N) after the pull request number - #467
Merged
Conversation
…(#N) after the pull request number A dry run for 26.12.1 listed 'fix(#412): the native bytes cache ...' and 'JVM: to_json_list() ... (#452) (#456)'. The prefix carries an issue number and a process word that a reader of a release does not need, and the bare number next to the number of the pull request is an issue reference of the same kind as the (refs #N) notes that are already left out. A title that is nothing but such text is kept as it is.
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.
What does this PR do?
A second dry run of
scripts/release_notes.py 26.12.1againstmain(after #459) still listed lines that carry process text for the people on the project and not for a reader of a release.clean_titlenow also does two things.fix(#412):,docs(#431):, alsofeat,perf,chore,ci,test,refactor). A lower-case first word becomes a sentence start; an identifier such asfind_nearest(...)orto_arrowstays as written.(#N)that stands next to the number of the pull request, as in... as the native wheel does (#452) (#456): the first one is an issue reference of the same kind as the(refs #N)notes that Release notes: leave out the issue notes of a title and the merges of a release line #459 leaves out.A title that is nothing but such text is kept as it is, as before. The existing test row for
fix(#423): find_nearest(...)pinned the old behaviour and now expects the title without the prefix; four rows are new.I ran the old and the new
clean_titleon the titles of the 87 merged pull requests of the milestone26.12.1: 9 lines change, 8 by the prefix and 1 by the bare number.Related issues
None. It follows from the dry run of the 26.12.1 notes.
Docs
The script describes itself in its docstring, which says nothing on titles, so nothing to change there.
Checklist
clean_titlereturns the prefix and the second number, so they fail on it by construction)uvx pre-commit run --files <changed files>passes