Hi Andrew, Regarding moby/moby specifically, it is currently shipped in the docker.io package. Upstream only recently adopted Go modules, so it remains a multi-upstream-tarball (MUT) package that I would eventually like to see split up and packaged individually.
I haven't fully designed how this transition would work for Docker 29 in practice. For reference, Juan has been tracking the required package upgrades on Salsa: https://salsa.debian.org/mendezr/docker/-/wikis/Docker29Transition Given the complexity, I suggest we evaluate docker.io version 29 separately rather than using it to drive a team-wide decision on how to handle submodules versus main repositories in general. Best, Reinhard On Tue, Nov 3, 2026 at 11:41 AM Andrew Lee <[email protected]> wrote: > Hi Thorsten, > > On Tue, Nov 3, 2026 at 5:14 PM Thorsten Alteholz <[email protected]> > wrote: > > On 03.11.26 15:43, Andrew Lee wrote: > > > I think we should have a general guideline or preference for packaging > > > the main repo of a Go project as a whole, rather than splitting out > > > individual submodules, unless there is a strong reason to do so. > > > > I am afraid this is not something that the go-team can decide. According > > to Debian policy 4.13 embedded code copies should be avoided. > > Thank you for the clarification. However, my question was not about > embedded or vendored code, but rather about individual submodules > within a Go monorepo. Monorepos with multiple Go modules are very > common in the Go ecosystem. > > For example, in the repository https://github.com/moby/moby, there is > a main module at the root with its own go.mod file, alongside several > submodules located in subdirectories such as api/go.mod, > client/go.mod, and man/go.mod. > > Could someone explain how we should handle packaging the main > repository as a single source package in Debian when its individual > submodules have already been packaged as separate source packages? How > to track the separate individual submodules source package update all > at once with a new upstream releases? > > Best regards, > -- > -Andrew > > -- regards, Reinhard
