Package: dh-golang Version: 1.62 Severity: wishlist X-Debbugs-Cc: denis.mane...@automatic-server.com
Dear Maintainer, Can we consider to install files referenced by //go:embed automatically or by a env (e.g. DH_GOLANG_INSTALL_EMBED) to the build directory? This reduces manual corrections with DH_GOLANG_INSTALL_[EXTRA/ALL] and is probably more future-proof. Example: golang-google-protobuf https://salsa.debian.org/go-team/packages/golang-google-protobuf/-/commit/4e6acb3b273c64905dfdf67cc3977629ad8fdd6e Author had to initially add and now change the path since the package has moved. This could be automated if the embedded file list can be parsed/accessed in some way: https://salsa.debian.org/go-team/packages/golang-google-protobuf/-/blob/cf9838f774366ec018ecdf0bc975d08c30d1c879/internal/editiondefaults/defaults.go#L11 -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-21-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages dh-golang depends on: ii debhelper 13.15.3 ii libdpkg-perl 1.22.6 ii perl 5.38.2-4 dh-golang recommends no packages. dh-golang suggests no packages. -- no debconf information