Open stsewd opened 6 years ago
Also the previous release contains invalid issues as changelog: #3416, #3415
How is the changelog generated?
The changelog is generated with a script that is under a private repository. It uses this tool in the back, https://github.com/agjohnson/github-changelog
This is relatively new and we are testing it. Nice you have found some issues! This will help us to tweak it a little more and make it more robust.
My above fork should be easy to modify. I think eventually we want the search to only include pull requests that have been merged. The script currently searches for anything that has been closed, which is noisy. I've been hand editing the list of issues on release for now.
Haven't looked at the code but the script should add only PR that has been merged to master branch, currently all the PR merged are listed.
There is an option for that already https://github.com/agjohnson/github-changelog/blob/1915b5b24d1b0840eb15f5e07bcce0cd8c5e08a7/index.js#L31, we only need to modify how the script is called
And we already pass that option https://github.com/rtfd/common/blob/ae892294342da555c90f69c6594277b0c546ede3/tasks.py#L89... @agjohnson how we really run the script?
@stsewd that switch checks for issues with merged PR not merged to master branch.
The current changelog contains PRs that just were closed too.
@stsewd the script is called via invoke prepare $RELEASE_VERSION
and that prepare
function is executed.
I take a look at the chagelog repo, the logic seems correct, but it is using a deprecated package to pull the information https://www.npmjs.com/package/github, maybe it was a bug or the api was changed. So, maybe we want to look for an alternative or use the latest version of the original repo.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Details
Chagelog http://docs.readthedocs.io/en/latest/changelog.html#version-2-1-4
Not merged PRs:
3444
3463
3377
2699
How is the changelog generated?