On Sun, Apr 7, 2024 at 5:48 PM Tom Hughes via devel
<devel@lists.fedoraproject.org> wrote:
>
> On 07/04/2024 16:15, Zbigniew Jędrzejewski-Szmek wrote:
>
> > I think it's time to switch to rpmautospec completely.
> > Thus, the proposal:
> > - new packages MUST use rpmautospec
> > - packagers SHOULD convert their packages
> > - provenpackagers MAY convert existing packages
> >    (e.g. when they want to push some fix or separately from other
> >     work)
> > - people submitting pull requests against src.fp.o MAY also
> >    include a conversion in the pull request and packagers SHOULD
> >    merge it.
>
> -1 for existing packages certainly - none of my git commit logs
> are written with the expectation that they will double as package
> changelogs so doing so may break the changelog.
>
> I don't really want it for new packages either but at least
> there I would know I needed to use the commit log in that way.

It looks like there's a misunderstanding about how "rpmautospec convert" works.
The existing changelog (i.e. the contents of %changelog) is moved to a
"changelog" file (and replaced with %autochangelog). And only commits
made *after* the "changelog" file is created and / or changed are used
for generating *new* changelog entries.
Changelog entries that predate the rpmautospec conversion are
preserved and remain unchanged.

All commits that change the "changelog" file cause "stop generating
changelog entries starting from this commit", so this mechanism can
also be used to amend changelog entries - generate the changelog, fix
things, move it into the "changelog" file.

Fabio
--
_______________________________________________
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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to