Path: csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Simon Richter Newsgroups: linux.debian.devel Subject: Re: apt-listchanges: appropriate heuristic for ignoring sub-packages with symlinked /usr/share/doc directories Date: Tue, 10 Oct 2023 08:20:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-devel-request@lists.debian.org Tue Oct 10 06:18:56 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/357519 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/8c7a0f3b-0059-43c3-8c04-f699a17e5d77@debian.org Approved: robomod@news.nic.it Lines: 15 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 10 Oct 2023 15:18:30 +0900 X-Original-Message-ID: <8c7a0f3b-0059-43c3-8c04-f699a17e5d77@debian.org> X-Original-References: <4aae33b6-aace-42d8-8410-0e8ff9e5bd9e@kamens.us> Xref: csiph.com linux.debian.devel:109512 Hi, On 10/10/23 06:24, Jonathan Kamens wrote: > * binary package name different from source name > * deb contains no changelog or NEWS files in /usr/share/doc > * creates a symlink in /usr/share/doc with the binary package name as > its name, pointing at another directory in /usr/share/doc I'd go an easier way: if the changelog is a symlink, its target is the changelog to use, so the same changelog (with the same file name) will be used by multiple packages, and all that's left is to deduplicate this list. Simon