El martes, 28 de abril de 2026 a las 16:52, Shengjing Zhu <[email protected]>
escribió:
> This is not the right assumption. dh-golang doesn't create symlinks
> for the source package, it copies files to builddir. You should add
> all embedded files to DH_GOLANG_INSTALL_EXTRA. Sure dh-golang should
> be smarter to copy all files listed in go:embed, patches are welcome.
Thanks a lot Shengjing Zhu and Otto for the clarifications.
1. Regarding the correction on dh-golang, then I understand that it copies
files to builddir rather than creating symlinks, and that
DH_GOLANG_INSTALL_EXTRA is the mechanism for go:embed. Is that correct?
I intend then to migrate syft to dh-golang. Before doing so, could you clarify:
should I first unvendor the ~210 dependencies already packaged in Debian
(adding them as Build-Depends), or is it acceptable to use dh-golang with the
full vendor/ directory and -mod=vendor for now?
2. I will be registering next on flight-deck.debian.net to create the team
namespace repos.
Much appreciated,
Juan