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

Re: Automatic trimming of changelogs in binary packages



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.

Cheers, Phil.

P.S. BTW the change Guillem suggests seems like a good idea anyway:
       treating changelogs as control files.

     debootstrap being able to exclude paths during installs (#811269)
     is also a good idea (as mentioned in the second thread Guillem
     referenced.) -- I'll see if I can nudge that towards fruition.
-- 
|)|  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: