-
Notifications
You must be signed in to change notification settings - Fork 6
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
Tracking CHANGES #157
Comments
Just for the record, almost every PR merged in this repo gets a tag since it is autodeployed so we need some kind of identifier to describe the deployment state. A few exceptions are PR that only update docs or comments. These PR do not get a tag when they merged. So a sort of change tracking is the release page https://github.com/bird-house/birdhouse-deploy/releases. That worked quite well so far when the PR branch is descriptive and detailed PR description is copy/paste into the merge description because then the same content shows up on that page if you expand the 3-dots next to the tag. But yes I am all for a more format change tracking if we can avoid depending on github release page and if it do not add too much more overhead. |
We could use the script that does this deployment to automatically run the bumpversion beforehand. That will not introduce extra overhead when merging PRs. @tlvu can you pinpoint where this deploy/tag operation occurs? The initial CHANGES should be populated from the descriptions provided via those releases notes. Any future updates would be placed in an |
I will have to deceive you for this one. I just The tagging policy numbering is here https://github.com/bird-house/birdhouse-deploy/blob/master/birdhouse/README.rst#tagging-policy |
So if I understand correctly, dev will prepare the changelog ahead of time (as they work on the PR) and will use the new changelog to populate the PR description? I like that idea. Since you're into a lot of github workflow automation, is there a way to auto-populate the PR description into the merge commit description? Here's why I like to do this:
|
I don't think there is an easy way to automate the PR from the changelog. This could be achieved with a Github Action, but it is probably not the most obvious workflow. Usually, I tend to properly define the changes/fixes in the CHANGES file, and practically copy-paste them in the PR description. |
If there is no other file to update for now, that is fine. We could actually add the latest version references/badges in the README similar to what Magpie does: That would already be 2 files to apply updates (README and CHANGES). |
Absolutely, I did not meant to automate from changelog to PR description. Manual copy/paste here is fine because the PR template is different than the changelog anyways. I meant automate from PR description into the merge commit description (this is the step were most user forget).
I guess yes. This repo will only have the "releases" badges. |
Oh I see! |
Oh that would be bad. It would be preferable for user to see the "enhanced comment" before clicking "Merge". And a |
add changes history to repo and tool to update new releases ### Changes - Add `bump2version` configuration to allow self-update of files that refer to new version releases and apply update of features listed in this changelog. - Add `CHANGES.md` file with all previous version details extracted for PR merge commit messages. - Add listing of change history to generated documentation on [bird-house/birdhouse-deploy ReadTheDocs](https://birdhouse-deploy.readthedocs.io/en/latest/). - Update `CONTRIBUTING.rst` file to include note about updating the new changelog for future PR. ### Fixes - Fixes #157 ### Notes - daccs-iac test `esgf-dap` is failing, but unrelated reason to these changes (affects docs only, which are properly updated on ReadTheDocs) (see test results: http://daccs-jenkins.crim.ca/job/PAVICS-e2e-workflow-tests/job/master/483/console)
Sorry, I didn't think about that before
bird-house/contributions-guideline
(#156) was merged... I would like to amend something.What came up and made it very obvious during PRs #152, #154, and probably more to come... is that it is not easy to know what changed between versions. There are effectively no easy way to retrieve full changelogs. With upcoming releases by tagged versions and different forks across organizations, these will become ever increasingly important.
Also, there is no specific guidelines about how changelogs should be tracked, so it is very free-for-all in the commits.
I know that @tlvu does very detailed descriptions in his PRs, but any other commit/PR contributors doesn't (including myself).
I don't think that is the usual (natural?) way for most developers also, and I find the process of opening individual commits to read descriptions very time wasting/frustrating when I want to find when a change was introduced.
For this reason, I would like to propose to have a standard CHANGES file, as most repos do, and have a proper listing of versions and relevant changes each time. The guideline would also add a requirement to list whatever was changed by each PR, making the info still easy to retrieve within individual merge commits.
The biggest advantages would be:
bumpversion
and other useful tools if the need arisesThanks for feedback and discussions.
Whomever it concerns: @huard @tlvu @dbyrns @matprov
(tag any others as needed)
The text was updated successfully, but these errors were encountered: