[pkg-go] Bug#904261: dh-golang: Don't install files listed in DH_GOLANG_EXCLUDES to dev pacakge

Shengjing Zhu i at zhsj.me
Sun Jul 22 12:58:52 BST 2018


Package: dh-golang
Severity: wishlist

Dear Maintainer,

In install phase, dh-golang just calls `cp -r -T src/$ENV{DH_GOPKG} $dest_src`,
which installs DH_GOLANG_EXCLUDES files to /usr/share/gocode/src/.

Shouldn't these files not be installed as well?

A real example is, paride asked on irc that why golang-github-prometheus-client-golang
installs `examples` files twice in -dev package, (once installed by dh-golang,
once installed by dh_installexamples).

-- 
Best regards,
Shengjing Zhu



More information about the Pkg-go-maintainers mailing list