Re: Convenience changes for Go

2021-07-02 Thread Aaron Bieber
Daniel Jakots writes: > On Wed, 30 Jun 2021 14:24:24 -0600, Aaron Bieber > wrote: > > Thanks for working on it! I see a few possible improvements: > >> -# modgo-gen-modules will output MODGO_MODULES and MODGO_MODFILES >> +# modgo-gen-modules will output MODGO_MODULES and MODGO_MODFILES for >> +#

Re: Convenience changes for Go

2021-06-30 Thread Daniel Jakots
On Wed, 30 Jun 2021 14:24:24 -0600, Aaron Bieber wrote: Thanks for working on it! I see a few possible improvements: > -# modgo-gen-modules will output MODGO_MODULES and MODGO_MODFILES > +# modgo-gen-modules will output MODGO_MODULES and MODGO_MODFILES for > +# the latest version of a given MODG

Re: Convenience changes for Go

2021-06-30 Thread Aaron Bieber
Aaron Bieber writes: > Marc Espie writes: > >> On Wed, Jun 23, 2021 at 07:48:01AM -0600, Aaron Bieber wrote: >>> Hi, >>> >>> Here is a diff that adds: >>> >>> - -trimpath to MODGO_FLAGS: This removes paths like >>>"/build/pobj/blablablablbal" from the resulting binary. >>> - Teaches modgo-g

Re: Convenience changes for Go

2021-06-30 Thread Aaron Bieber
Marc Espie writes: > On Wed, Jun 23, 2021 at 07:48:01AM -0600, Aaron Bieber wrote: >> Hi, >> >> Here is a diff that adds: >> >> - -trimpath to MODGO_FLAGS: This removes paths like >>"/build/pobj/blablablablbal" from the resulting binary. >> - Teaches modgo-gen-modules-helper how to pass a v

Re: Convenience changes for Go

2021-06-29 Thread Marc Espie
On Wed, Jun 23, 2021 at 07:48:01AM -0600, Aaron Bieber wrote: > Hi, > > Here is a diff that adds: > > - -trimpath to MODGO_FLAGS: This removes paths like >"/build/pobj/blablablablbal" from the resulting binary. > - Teaches modgo-gen-modules-helper how to pass a version to the >get_dist_in

Re: Convenience changes for Go

2021-06-23 Thread Aaron Bieber
Paco Esteban writes: > On Wed, 23 Jun 2021, Aaron Bieber wrote: > >> Hi, >> >> Here is a diff that adds: >> >> - -trimpath to MODGO_FLAGS: This removes paths like >>"/build/pobj/blablablablbal" from the resulting binary. >> - Teaches modgo-gen-modules-helper how to pass a version to the >>

Re: Convenience changes for Go

2021-06-23 Thread Paco Esteban
On Wed, 23 Jun 2021, Aaron Bieber wrote: > Hi, > > Here is a diff that adds: > > - -trimpath to MODGO_FLAGS: This removes paths like >"/build/pobj/blablablablbal" from the resulting binary. > - Teaches modgo-gen-modules-helper how to pass a version to the >get_dist_info stuff. > - Adds a

Convenience changes for Go

2021-06-23 Thread Aaron Bieber
Hi, Here is a diff that adds: - -trimpath to MODGO_FLAGS: This removes paths like "/build/pobj/blablablablbal" from the resulting binary. - Teaches modgo-gen-modules-helper how to pass a version to the get_dist_info stuff. - Adds a new make target: "modgo-gen-current-modules". This will