Re: [gentoo-dev] [PATCH 1/3] eclass/go-module: add support for building based on go.sum

2020-02-16 Thread Robin H. Johnson
Stay tuned for v2 with major improvements based on talking to upstream. - Dropped an entire distfile per golang module (down to 1-2 files per module in go.sum) - Better Go 1.13 support (some semantics changed slightly from 1.12) - Easier way to track & include licenses of all the modules On

Re: [gentoo-dev] [PATCH 1/3] eclass/go-module: add support for building based on go.sum

2020-02-13 Thread Michał Górny
On Sun, 2020-02-09 at 12:31 -0800, Robin H. Johnson wrote: > EGO_SUM mode now supplements the existing EGO_VENDOR mode. > > EGO_SUM should be populated by the maintainer, directly from the go.sum > file of the root package. See eclass and conversion example > (dev-go/go-tour &

Re: [gentoo-dev] [PATCH 1/3] eclass/go-module: add support for building based on go.sum

2020-02-09 Thread William Hubbs
On Sun, Feb 09, 2020 at 11:35:25PM +, Robin H. Johnson wrote: > On Sun, Feb 09, 2020 at 04:11:28PM -0600, William Hubbs wrote: > > On Sun, Feb 09, 2020 at 12:31:19PM -0800, Robin H. Johnson wrote: > > > +# "go.mod" only: > > > +# - Populate EGO_VENDOR > > go.mod without go.sum can mean that

Re: [gentoo-dev] [PATCH 1/3] eclass/go-module: add support for building based on go.sum

2020-02-09 Thread Robin H. Johnson
On Sun, Feb 09, 2020 at 04:11:28PM -0600, William Hubbs wrote: > On Sun, Feb 09, 2020 at 12:31:19PM -0800, Robin H. Johnson wrote: > > +# "go.mod" only: > > +# - Populate EGO_VENDOR > go.mod without go.sum can mean that there are no external dependencies, so > there > shouldn't be a reason to

Re: [gentoo-dev] [PATCH 1/3] eclass/go-module: add support for building based on go.sum

2020-02-09 Thread William Hubbs
On Sun, Feb 09, 2020 at 12:31:19PM -0800, Robin H. Johnson wrote: > EGO_SUM mode now supplements the existing EGO_VENDOR mode. > > EGO_SUM should be populated by the maintainer, directly from the go.sum > file of the root package. See eclass and conversion example > (dev-go/go-tour &

[gentoo-dev] [PATCH 1/3] eclass/go-module: add support for building based on go.sum

2020-02-09 Thread Robin H. Johnson
EGO_SUM mode now supplements the existing EGO_VENDOR mode. EGO_SUM should be populated by the maintainer, directly from the go.sum file of the root package. See eclass and conversion example (dev-go/go-tour & app-admin/kube-bench) for further details. The go-module_set_globals function performs