Instead of adding this via a new setting, why not make dh-golang install
these files by default?

I think installing everything one can legitimately call program source code
is fair game. The tricky part is identifying files which are necessary for
test cases.

The reason why dh-golang doesn’t just install all files is because that
might generate lintian warnings about extra LICENSE files, extra README
files not being marked as docs, random non-executable shell scripts, etc.

That said, I’m not very happy with the current need to specify the
install_all option in many cases, and any improvements over that (using
more introspection? using a blacklist instead of a whitelist?) are very
welcome.

On Wed, Jul 29, 2015 at 10:53 PM, Alexandre Viau <
alexan...@alexandreviau.net> wrote:

> Hello,
>
> This is new dh-golang feature should allow to include more files to the
> install in an easier way. It should be useful, for example, with cgo
> projects.
>
> DH_GOLANG_INSTALL_EXTRA_EXTENSIONS := .cgo,.h,.c
>
> Will include all files with .cgo, .h and .c extensions.
>
> I have had this issue (not just with cgo projects) a couple times last
> week so I thought this would be useful.
>
> I have never done perl before, feel free to comment on the code.
>
> --
> Alexandre Viau
> alexan...@alexandreviau.net
>
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
>



-- 
Best regards,
Michael
_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to