Re: [go-nuts] go install, replace directive any ongoing discussions?

2021-03-07 Thread James Lawrence
I'm actually making the argument that the error is in fact incorrect as the replace directive has always been about compilation and therefore they should always apply when installing a module's main package whether its remoting fetching the module via go install or when compiling a module

Re: [go-nuts] go install, replace directive any ongoing discussions?

2021-03-07 Thread 'Dan Kortschak' via golang-nuts
On Sun, 2021-03-07 at 07:57 +, Paul Jolly wrote: > Erroring on replace directives is an intentional decision for now: > https://github.com/golang/go/issues/40276#issue-659471259 > > But might be relaxed in the future: > > > Parts of this proposal are more strict than is technically > >

Re: [go-nuts] go install, replace directive any ongoing discussions?

2021-03-07 Thread James Lawrence
well an issue was filed, and promptly closed. On Sun, Mar 7, 2021 at 6:36 AM James Lawrence wrote: > I read through those issues Paul, I found them less than convincing for > the global go install use case. regardless I'll file an issue. I didn't >

Re: [go-nuts] go install, replace directive any ongoing discussions?

2021-03-07 Thread James Lawrence
I read through those issues Paul, I found them less than convincing for the global go install use case. regardless I'll file an issue. I didn't want to file an issue because of how long and pointless most of the conversation around the global install replace directive usage seemed. I'll file

Re: [go-nuts] go install, replace directive any ongoing discussions?

2021-03-07 Thread 'Axel Wagner' via golang-nuts
I wasn't aware that this restriction is intentional. I wasn't part of that discussion and it seems too long for me to read after the fact, so I probably shouldn't comment on it. I'm admittedly a bit befuddled by the design decisions, though (as I understand them). On Sun, Mar 7, 2021 at 8:57 AM

Re: [go-nuts] go install, replace directive any ongoing discussions?

2021-03-06 Thread Paul Jolly
>> I missed the conversation originally. however go install has been left in a >> unfortunate state where it bewilderingly errors out when the main module >> contains a replace directive. > > This sounds like a bug. I would file an issue with an easy reproduction case. Erroring on replace

Re: [go-nuts] go install, replace directive any ongoing discussions?

2021-03-06 Thread 'Axel Wagner' via golang-nuts
On Sun, Mar 7, 2021 at 3:45 AM James Lawrence wrote: > I missed the conversation originally. however go install has been left in > a unfortunate state where it bewilderingly errors out when the main module > contains a replace directive. > This sounds like a bug. I would file an issue with an

[go-nuts] go install, replace directive any ongoing discussions?

2021-03-06 Thread James Lawrence
I missed the conversation originally. however go install has been left in a unfortunate state where it bewilderingly errors out when the main module contains a replace directive. I'm primarily wondering where I should be going to contribute to that conversation and if there is someone on the