[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatic trimming of changelogs in binary packages



Michael Biebl <biebl@debian.org> writes:

> Am 19.08.22 um 10:35 schrieb Philip Hands:
>> Paul Wise <pabs@debian.org> writes:
>> 
>>> On Thu, 2022-08-18 at 21:18 +0200, Gioele Barabucci wrote:
>>>
>>>> Does anybody have objective objections against activating automatic
>>>> changelog trimming in binary packages?
>>>
>>> Before we consider enabling this by default, first we need a way for
>>> `apt changelog` to download the full changelog rather than loading the
>>> changelog from /usr/share/doc in the currently installed package.
>>>
>>> Otherwise people who want to look at the full changelog for the
>>> currently installed version of the package will have no easy way to do
>>> so. They will have to manually find it instead, which isn't exactly an
>>> easy process if you do not know where the changelogs are stored online.
>> 
>> How about making the end of the trimmed file be a standard footer
>> including a hint about how one can get hold of the rest of the
>> changelog, and then have `apt changelog` look out for that footer in the
>> local copies in order to know that they've been trimmed, and that it
>> should therefore try to download the full version.
>
> If we enable trimming by default (for all packages), then apt can just 
> go directly to query the changelog online.
> What would be the benefit for "apt changelog" to look for such a footer?

I was assuming that life's a bit more messy than that, and that one
might want apt to use the local copy if it's complete, and download
otherwise -- if that's not the case, fine.

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature


Reply to: