Hi,

Thanks for reporting!

I don't see any error messages in
https://lists.debian.org/debian-go/2026/03/msg00034.html, nor is there
any output from `git debpush` or something. The Bug#908747 does not
have the error message either and it does not differentiate between
/.gitignore and debian/.gitignore. The dh-make-golang package has been
generating a /.gitignore file in the project root for many years. The
change now is that it was moved to `debian/.gitignore` as Debian
packages should not be polluting the upstream "file namespace".

Is your suggestion to just stop having a `.gitignore` at all?

Searching https://codesearch.debian.net/search?q=debian%2F.gitignore&literal=1
yields quite a lot of packages having a `debian/.gitignore`. I don't
think it is a sensible stanze to take that such a file is forbidden.
It is a pity the dpkg maintainer hasn't responded to Bug#908747 since
2018 when it was filed..

Reply via email to