On Fri, 10 Jan 2020 at 17:45, Pierre-Yves Chibon <pin...@pingoured.fr> wrote:
>
> With the changelog it becomes a little bit more tricky.
> We currently have 3 changelogs in Fedora with 3 different target audience 
> (this
> is how I understand them):
>   - One for the files in the git repository, meant to be "consumed" by our
>     fellow packagers, not meant to leave the Fedora infrastructure
>   - One in the spec file describing the changes applied to it. This one is 
> meant
>     to be accessible to sysadmins who want to know/check what changed in a 
> package
>   - One in bodhi, meant for end-user consumption and which should give some
>     explanation as to why the package was updated or where information about 
> the
>     update can be found
>
> So we need to, somehow, merge two changelogs into one while realizing that 
> some
> information in one may not be desirable in the other (for example the world
> famous commit message: "oops I've forgot to upload the sources" does not need 
> to
> appear in the RPM's changelog).
> Would it be easier to merge the git changelog with the spec changelog or the
> spec changelog with the bodhi notes?
>
> For the former one easy way to achieve this is to consider all the commits 
> since
> the last successful build and have a magic keyword to either include or 
> exclude
> a commit message in the changelog.
> For the latter, we discussed the idea of using annotated git tags this fall.

Most of the time, I end up copying the spec changelog in the commit
message and I don't change the update template, so the bodhi changelog
is also the same. The spec changelog is a pain for me, so I'd vote for
git commit messages + tags (unnanotated; otherwise, I don't see much
benefit).

-- 
Iñaki Úcar
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to