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
Replace "Development snapshot (<hash>)" changelog with actual commit messages #738
Comments
Neat, sounds like a much better default behaviour.
we could also find the last tag in the branch and then just |
This seems like an interesting issue. Can I be assigned to this? |
How can I reproduce this issue and what code is responsible for generating the changelog. |
|
Thanks for your response @lachmanfrantisek . I have seen the piece of code that seems to be responsible for that but however I don't think I'm able to reproduce this yet. I've done the following
I checked CHANGELOG.md and there was no entry "Development Snapshot ". Here's my changelog file
|
OK.. there are two changelogs..;)
|
Use git-describe to get latest git tag and then using git-log obtain all commit messages b/w {last_tag}..HEAD and feed the output to %changelog * fall back to old behaviour when git-log or git-describe fails * former tests were too complicated - simplify them or merge into existing one Fixes packit#738 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
Use git-describe to get latest git tag and then using git-log obtain all commit messages b/w {last_tag}..HEAD and feed the output to %changelog * fall back to old behaviour when git-log or git-describe fails * former tests were too complicated - simplify them or merge into existing one Fixes packit#738 Carries packit#776 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
Use git-describe to get latest git tag and then using git-log obtain all commit messages b/w {last_tag}..HEAD and feed the output to %changelog * fall back to old behaviour when git-log or git-describe fails * former tests were too complicated - simplify them or merge into existing one Fixes packit#738 Carries packit#776 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
packit currently provides following changelog message: Development snapshot ()
It would be nice to replace it with an actual changelog, something like:
where commit_count is the number of commits from the last tag - parsed from
git describe --tags
When building from the tagged commit, you could either say 'New upstream release ' or provide all commit messages since the previous tagged release.
The text was updated successfully, but these errors were encountered: