For example, changelog in PR for packit-0.21.0 @ rawhide contains list of upstream commits since previous version instead of upstream spec changelog entry.
I don't remember any recent related change in packit or packit-service. Might this be a rebase-helper issue?
This is because of this change in our code (related docs PR).
Jirko, what would you prefer more?
Ok, I'm lazy to read all the issues leading to this change so I'll consider this a fact.
But unlike you I'd rather see a nice description with markdown then a huge list of commit messages, i.e I'm proposing to use copy_upstream_release_description=true in our config(s). So in this particular case we'd (as I understand it) have
* Wed Nov 25 2020 Packit Service <[email protected]> - 0.21.0-1
- If the first `Source` tag in a spec file is not indexed, it is always returned,
no matter the value of `source_name`.
- Sanitize potentially problematic characters in a branch name
before creating a copr project name from it.
- Default job now includes copr build as well.
instead of
* Wed Nov 25 2020 Packit Service <[email protected]> - 0.21.0-1
- pre-commit autoupdate (Jiri Popelka)
- 0.21.0 release (Release bot)
- parsing git remote URL: inform what's happening... (Tomas Tomecek)
- Revert "Allow recursive search for specfile in repository" (Matej Focko)
- Regenerate test_data for recursive (Matej Focko)
- Allow recursive search for specfile in repository (Matej Focko)
- cli.copr-build: replace / with - (Tomas Tomecek)
- copr, log CoprException.result when creating repo fails (Tomas Tomecek)
- Delete recipe-tests.yaml (Jiri Popelka)
- Add build to default jobs (lbarcziova)
- Add test case for Upstream._fix_spec_source() (Nikola Forr贸)
- Fix SpecFile.get_source() (Nikola Forr贸)
in the downstream spec changelog.
EDIT: I tried to add some markdown into a spec changelog and it breaks nothing, i.e. srpm build, rpm build, install, rpm -q --changelog
We didn't specify copy_upstream_release_description=true mainly because of the markdown, but if it doesn't break anything, I would go for changing it. The other thing is we have the version in the release description, so it would be there twice:
* Wed Nov 25 2020 Packit Service <[email protected]> - 0.21.0-1
# 0.21.0
- If the first `Source` tag in a spec file is not indexed, it is always returned,
no matter the value of `source_name`.
- Sanitize potentially problematic characters in a branch name
before creating a copr project name from it.
- Default job now includes copr build as well.
But it is still better than getting all commit messages since they can describe many non-user-related changes.
Can I update our configs then?
Closing, copy_upstream_release_description=true was added to the configs in Packit and Ogr, so the changelogs contain nicer descriptions now.
Most helpful comment
Ok, I'm lazy to read all the issues leading to this change so I'll consider this a fact.
But unlike you I'd rather see a nice description with markdown then a huge list of commit messages, i.e I'm proposing to use
copy_upstream_release_description=truein our config(s). So in this particular case we'd (as I understand it) haveinstead of
in the downstream spec changelog.
EDIT: I tried to add some markdown into a spec changelog and it breaks nothing, i.e. srpm build, rpm build, install, rpm -q --changelog