Lintian reports P: no-upstream-changelog even though its intended in Ubuntu

Luke Faraone luke at faraone.cc
Sat Jan 15 15:43:30 UTC 2011


On 01/15/2011 04:38 AM, Bilal Akhtar wrote:
> Hello all!
> 	During this cycle, the Ubuntu build environment was so modified to not
> install debian changelogs in the binary packages [1]. This change was
> made to reduce the size of binary packages. Also this change was
> reverted later on (IIRC). It now appears that dh_installchangelogs
> doesn't pick up the *upstream* changelog file from the source root and
> install it in /usr/share/doc/pkg/changelog.gz .
> 
> Moreover, Lintian still reports the P: no-upstream-changelog tag for all
> packages build in an Ubuntu environment. The downside of reporting this
> tag is that it confuses new packagers, who wish to fix it by overriding
> dh_installchangelogs in debian/rules and manually installing the
> upstream changelog file. This does work, and lintian doesn't show this
> error anymore.
> 
> We definitely don't want to have upstream changelogs in binary packages.
> So I guess the proper 'fix' to the above scenario would be to modify
> lintian to not report that tag?

Why do you say that? Upstream changelogs are recommended by policy;
nothing in pkgbinarymangler removes them as far as I know.

This tag is flagged "pedantic" for a reason; lack of it is not
justification to reject a package, and it's something nice to have,
rather than something essential.

-- 
Luke Faraone;; Debian & Ubuntu Developer; Sugar Labs, Systems
lfaraone on irc.[freenode,oftc].net -- http://luke.faraone.cc
PGP fprint: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20110115/8272b969/attachment.pgp>


More information about the ubuntu-devel mailing list