On Tue, Oct 25, 2016 at 03:33:25PM +0100, Peter Robinson wrote:
>> On Mon, Oct 24, 2016 at 05:00:21PM -0400, Josh Boyer wrote:
>> > > Please, no, don't do that. RPM is a standard, the changelog is
>> > > part of that. It would be pretty crappy to just declare we're
>> > > going to stop using RPM changelogs and bake some random new idea
>> > > into our distro's packaging tools instead.
>> > I agree with Adam here.
>>
>> Well, except -- it doesn't come for free. I was just talking to David
>> Shea about something different and he mentioned that changelogs
>> comprise about 40% of RPM metadata, both on disk and in-memory for
>> every transaction.
>
> How about we globally set:
>
> %global _changelog_trimtime %(date +%s -d "1 year ago")
>
> (or 6 months or whatever).
>
> Then git still has the full changelog for anyone that cares, but all
> the rpms have a trimmed changelog.
Yes! This was the parameter I couldn't remember above. I think this
makes sense. The full spec changelog is then kept in dist-git and just
trimmed as part of the build process. No loss and it's uniform.
FWIW, SUSE has a patch in rpm that trims only the changelog of binary rpms
and leaves the full changelog in the source rpms.
Cheers,
Michael.
--
Michael Schroeder mls(a)suse.de
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}