-
-
Notifications
You must be signed in to change notification settings - Fork 26k
MNT Add section on new changelog entries to v1.6.rst
#30135
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
Conversation
I prefer the initial proposal I have to admit: having a link (full URL) with maybe a short sentence for people that find having to open a link not quick enough. I get the point about helping during the transition but I mean |
My issue with putting this information only under the README is that it's hard to open it. We have a bunch of README files in the repo, which means |
|
Sure, I could live with that. But the original suggestion mentions towncrier, which is really a technical detail that contributors don't care about. I'd be happy to see what you suggest as an alternative @lesteve |
Something like this maybe? ..
TODO DELETE WHEN 1.6.0 IS RELEASED
Since October 2024, DO NOT add your changelog entry in this file.
Instead, create a file named `<PR_number>.<type>.rst` in the relevant sub-folder in
`doc/whats_new/upcoming_changes/`. For full details, see:
https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md I used a URL hoping that it is easier to navigate to it. |
doc/whats_new/v1.6.rst
Outdated
.. DELETE WHEN 1.6.0 IS RELEASED | ||
.. Changelog management has changed in v1.6.0. | ||
.. To add your changelog, create a file under the right folder under | ||
.. `doc/whats_new/upcoming_changes` with file format `<PULL REQUEST>.<TYPE>.rst`, where | ||
.. `<PULL REQUEST>` is a pull request number, and `<TYPE>` is one of: | ||
.. * `major-feature` | ||
.. * `feature` | ||
.. * `efficiency` | ||
.. * `enhancement` | ||
.. * `fix` | ||
.. * `api` | ||
.. Example of a changelog file: | ||
.. - :class:`ensemble.ExtraTreesClassifier` and :class:`ensemble.ExtraTreesRegressor` | ||
.. now supports missing values in the data matrix `X`. Missing-values are | ||
.. handled by randomly moving all of the samples to the left, or right child | ||
.. node as the tree is traversed. | ||
.. By :user:`Adam Li <adam2392>` | ||
.. See `doc/whats_new/upcoming_changes/README.md` for full details. | ||
.. Note only pull requests that result in a change relevant to users require a | ||
.. changelog entry (e.g., changes to private functions do not require a changelog). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#30135 (comment) was thumbed up by @adrinjalali so using this as a suggestion. @lucyleeow feel free to tweak it as you wish:
.. DELETE WHEN 1.6.0 IS RELEASED | |
.. Changelog management has changed in v1.6.0. | |
.. To add your changelog, create a file under the right folder under | |
.. `doc/whats_new/upcoming_changes` with file format `<PULL REQUEST>.<TYPE>.rst`, where | |
.. `<PULL REQUEST>` is a pull request number, and `<TYPE>` is one of: | |
.. * `major-feature` | |
.. * `feature` | |
.. * `efficiency` | |
.. * `enhancement` | |
.. * `fix` | |
.. * `api` | |
.. Example of a changelog file: | |
.. - :class:`ensemble.ExtraTreesClassifier` and :class:`ensemble.ExtraTreesRegressor` | |
.. now supports missing values in the data matrix `X`. Missing-values are | |
.. handled by randomly moving all of the samples to the left, or right child | |
.. node as the tree is traversed. | |
.. By :user:`Adam Li <adam2392>` | |
.. See `doc/whats_new/upcoming_changes/README.md` for full details. | |
.. Note only pull requests that result in a change relevant to users require a | |
.. changelog entry (e.g., changes to private functions do not require a changelog). | |
.. | |
TODO DELETE WHEN 1.6.0 IS RELEASED | |
Since October 2024, DO NOT add your changelog entry in this file. | |
Instead, create a file named `<PR_number>.<type>.rst` in the relevant sub-folder in | |
`doc/whats_new/upcoming_changes/`. For full details, see: | |
https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since October 2024, DO NOT add your changelog entry in this file
This is perfect, tells the user exactly when the change happened and includes nothing they don't need to know, i don't know why I didn't say this 😅
Note the extra ..
is because multiline comments do not seem to be able to contain blank lines
Reference Issues/PRs
Related to #30081 (comment)
What does this implement/fix? Explain your changes.
Adds minimal description of how to add new changelog entry file and points to full description README file.
cc @adrinjalali happy to change, to add more detail or less. (maybe I can list the change types?)
Any other comments?