Re: [OE-core] Status of Go support

2020-06-28 Thread Robert Berger
Hi, My comments are in-line. On 23/06/2020 19:37, Stefan Herbrechtsmeier wrote: Hi, because of the changes to the 'GO111MODULE' variable in go-dep and glide, I wonder if Go is ready for use. I would have expected the variable GO111MODULE to be set to 'off' within the go.bbclass because go

Re: [OE-core] Status of Go support

2020-06-25 Thread Stefan Herbrechtsmeier
Am 25.06.20 um 20:43 schrieb Paul Barker: On Thu, 25 Jun 2020 at 16:36, Stefan Herbrechtsmeier wrote: Am 24.06.20 um 22:24 schrieb Otavio Salvador: Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier escreveu: The go-mod.bbclass download data from the internet during do_compile.

Re: [OE-core] Status of Go support

2020-06-25 Thread Stefan Herbrechtsmeier
Am 25.06.20 um 20:40 schrieb Otavio Salvador: Em qui., 25 de jun. de 2020 às 15:35, Stefan Herbrechtsmeier escreveu: Am 25.06.20 um 18:43 schrieb Otavio Salvador: Offline build, using go mod, I can only envision if we somehow provide a local server which uses the bitbake cache as source.

Re: [OE-core] Status of Go support

2020-06-25 Thread Paul Barker
On Thu, 25 Jun 2020 at 16:36, Stefan Herbrechtsmeier wrote: > > Am 24.06.20 um 22:24 schrieb Otavio Salvador: > > Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier > > escreveu: > >> The go-mod.bbclass download data from the internet during do_compile. If > >> you cut the internet

Re: [OE-core] Status of Go support

2020-06-25 Thread Otavio Salvador
Em qui., 25 de jun. de 2020 às 15:35, Stefan Herbrechtsmeier escreveu: > > Am 25.06.20 um 18:43 schrieb Otavio Salvador: > > Offline build, using go mod, I can only envision if we somehow provide > > a local server which uses the bitbake cache as source. This by itself > > is not a small project.

Re: [OE-core] Status of Go support

2020-06-25 Thread Stefan Herbrechtsmeier
Am 25.06.20 um 18:43 schrieb Otavio Salvador: Em qui., 25 de jun. de 2020 às 12:36, Stefan Herbrechtsmeier escreveu: Am 24.06.20 um 22:24 schrieb Otavio Salvador: Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier escreveu: The go-mod.bbclass download data from the internet during

Re: [OE-core] Status of Go support

2020-06-25 Thread Khem Raj
On 6/25/20 9:43 AM, Otavio Salvador wrote: > Em qui., 25 de jun. de 2020 às 12:36, Stefan Herbrechtsmeier > escreveu: >> Am 24.06.20 um 22:24 schrieb Otavio Salvador: >>> Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier >>> escreveu: The go-mod.bbclass download data from the

Re: [OE-core] Status of Go support

2020-06-25 Thread Otavio Salvador
Em qui., 25 de jun. de 2020 às 12:36, Stefan Herbrechtsmeier escreveu: > Am 24.06.20 um 22:24 schrieb Otavio Salvador: > > Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier > > escreveu: > >> The go-mod.bbclass download data from the internet during do_compile. If > >> you cut the

Re: [OE-core] Status of Go support

2020-06-25 Thread Stefan Herbrechtsmeier
Am 24.06.20 um 22:24 schrieb Otavio Salvador: Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier escreveu: The go-mod.bbclass download data from the internet during do_compile. If you cut the internet connection after a do_fetch the do_compile failed: Yes, this was the better we

Re: [OE-core] Status of Go support

2020-06-24 Thread Otavio Salvador
Em qua., 24 de jun. de 2020 às 17:17, Stefan Herbrechtsmeier escreveu: > The go-mod.bbclass download data from the internet during do_compile. If > you cut the internet connection after a do_fetch the do_compile failed: Yes, this was the better we could get without hacking go mod tool itself. It

Re: [OE-core] Status of Go support

2020-06-24 Thread Stefan Herbrechtsmeier
Am 23.06.20 um 21:56 schrieb Khem Raj: On 6/23/20 11:35 AM, Stefan Herbrechtsmeier wrote: Am 23.06.20 um 20:16 schrieb Khem Raj: On Tue, Jun 23, 2020 at 9:47 AM Otavio Salvador > wrote:     Hello Stefan,     Em ter., 23 de jun. de 2020 às 13:37,

Re: [OE-core] Status of Go support

2020-06-23 Thread Khem Raj
On 6/23/20 11:35 AM, Stefan Herbrechtsmeier wrote: Hi, Am 23.06.20 um 20:16 schrieb Khem Raj: On Tue, Jun 23, 2020 at 9:47 AM Otavio Salvador > wrote:     Hello Stefan,     Em ter., 23 de jun. de 2020 às 13:37, Stefan Herbrechtsmeier    

Re: [OE-core] Status of Go support

2020-06-23 Thread Stefan Herbrechtsmeier
Hi, Am 23.06.20 um 20:16 schrieb Khem Raj: On Tue, Jun 23, 2020 at 9:47 AM Otavio Salvador > wrote: Hello Stefan, Em ter., 23 de jun. de 2020 às 13:37, Stefan Herbrechtsmeier mailto:ste...@herbrechtsmeier.net>> escreveu: > because

Re: [OE-core] Status of Go support

2020-06-23 Thread Khem Raj
On Tue, Jun 23, 2020 at 9:47 AM Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > Hello Stefan, > > Em ter., 23 de jun. de 2020 às 13:37, Stefan Herbrechtsmeier > escreveu: > > because of the changes to the 'GO111MODULE' variable in go-dep and > > glide, I wonder if Go is ready for

Re: [OE-core] Status of Go support

2020-06-23 Thread Otavio Salvador
Hello Stefan, Em ter., 23 de jun. de 2020 às 13:37, Stefan Herbrechtsmeier escreveu: > because of the changes to the 'GO111MODULE' variable in go-dep and > glide, I wonder if Go is ready for use. I would have expected the > variable GO111MODULE to be set to 'off' within the go.bbclass because go

[OE-core] Status of Go support

2020-06-23 Thread Stefan Herbrechtsmeier
Hi, because of the changes to the 'GO111MODULE' variable in go-dep and glide, I wonder if Go is ready for use. I would have expected the variable GO111MODULE to be set to 'off' within the go.bbclass because go could bypass the fetch task unobserved otherwise. Regards Stefan