[pkg-go] FYI: “Go += Package Versioning” by Russ Cox
Shengjing Zhu
i at zhsj.me
Fri Feb 23 12:29:25 UTC 2018
On Thu, Feb 22, 2018 at 3:34 PM, Michael Stapelberg
<stapelberg at debian.org> wrote:
> Here are my thoughts on what this means for us (so far):
> https://docs.google.com/document/d/1XpiOBCLgqG8pKcz3cb6q45mDevCSOTb3AssSUzaujKI/edit
>
> Please feel free to comment/make suggestions either on the document or in
> this email thread.
>
> Eventually (likely by the time Go actually ships this), I’ll freeze the
> document and add it to our website.
>
>
In the new posts from Russ https://research.swtch.com/vgo-repro
`vgo build` creates the binary with building info embedded. With
`goversion -mh` one can view the version of modules used when
building. dh-golang's Built-Using is similar to this.
I find vgo puts module src in `$GOPATH/v/path at version`. We can benefit
from this, to ship multiple versions of a module together.
--
Best regards,
Shengjing Zhu
More information about the Pkg-go-maintainers
mailing list