propose-update does not generate proper changelog from release tag
See original GitHub issueAs discussed in issue #298, the idea was that the changelog gets generated from the upstream release tag (or the github description, etc). I think that even worked right when I tested that, but it seems to have regressed. For cockpit-ostree 179 it now just generates:
--- a/cockpit-ostree.spec
+++ b/cockpit-ostree.spec
@@ -1,12 +1,17 @@
Name: cockpit-ostree
-Version: 178
+Version: 179
Release: 1%{?dist}
BuildArch: noarch
Summary: Cockpit user interface for rpm-ostree
License: LGPLv2+
Requires: cockpit-bridge >= 125
Requires: cockpit-system >= 125
-Requires: /usr/libexec/rpm-ostreed
+# On RHEL Atomic 7, the package name is different (curiously not on CentOS Atomic)
+%if 0%{?rhel} == 7
+Requires: rpm-ostree-client
+%else
+Requires: rpm-ostree
+%endif
# Download from https://github.com/cockpit-project/cockpit-ostree/releases
Source: cockpit-ostree-%{version}.tar.gz
@@ -27,6 +32,9 @@ find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs rm --verbose
%{_datadir}/cockpit/*
%changelog
+* Wed Jul 24 2019 Martin Pitt <martin@piware.de> - 179-1
+- new upstream release: 179
+
* Fri Jul 12 2019 Martin Pitt <martin@piware.de> - 178-1
- new upstream release: 178
(that’s just the .spec change, ignoring changes to sources and .gitignore).
This is a bit sad, the changelog should include some useful information, bug refs, etc. I did 178 with an earlier packit master as well, same problem (but that was after #298 landed).
❱❱❱ git -C ~/tmp/packit/ rev-parse HEAD
efb466df8567c2050b09f6854b515250ac1dfa7a
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (10 by maintainers)
Top Results From Across the Web
document how to include changelog in tagged release #94
I'm using a similar workaround (tag, build changelog, delete tag, commit changelog and tag again). It's not perfect but it works. The suggestion ......
Read more >Update changelog for a release tag - github - Stack Overflow
I am make a release tag with github actions as below: ... But I don't know whether this way was correct and how...
Read more >Reviewer Guide - OpenStack Releases
Releases for deliverables that do not have that governance tag can be approved at any time. Releases from master can be approved with...
Read more >2019 - Packit
packit propose-update to create a pull request in Fedora dist-git with the selected upstream release; packit build to build the new upstream release...
Read more >How To Automatically Generate A Helpful Changelog From ...
These types have no implicit effect on semantic versioning and are not part of the conventional commit specification. I also recommend reading How...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am not sure about the priority, but it looks still relevant to me.
Maybe I was just imagining that it worked before then? Ideally we want to copy the upstream git tag description, i. e. what can be seen on the GitHub /releases page. In this case:
If packit can’t or doesn’t want to (for clean architecture reasons) look at the tag, would it be possible to feed that in through an option?
Edit: @TomasTomecek highlighted the request a bit