Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/website: tutorial -replace=old=new doesn't work in powershell #44924

Closed
migberbay opened this issue Mar 10, 2021 · 5 comments
Closed

x/website: tutorial -replace=old=new doesn't work in powershell #44924

migberbay opened this issue Mar 10, 2021 · 5 comments
Labels
Documentation FrozenDueToAge NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone

Comments

@migberbay
Copy link

migberbay commented Mar 10, 2021

Hi! I was chekcing the intial tutorials for making modules, and this site is using the wrong syntax in this line:

$ go mod edit -replace=example.com/greetings=../greetings

and it should be:

$ go mod edit -replace example.com/greetings=../greetings

I'm using the newest version of go at the time, 1.16

@gopherbot gopherbot added this to the Unreleased milestone Mar 10, 2021
@seankhliao
Copy link
Member

Duplicate of #44906

Seems like a powershell issue

@seankhliao seankhliao changed the title x/website: x/website: tutorial -replace=old=new doesn't work in powershell Mar 10, 2021
@tmthrgd
Copy link
Contributor

tmthrgd commented Mar 11, 2021

I think this is probably a duplicate of #43179 and an example of the still unfixed PowerShell/PowerShell#6291.

@ALTree
Copy link
Member

ALTree commented Mar 11, 2021

I guess the question here is whether we want to change the tutorial to work around the Powershell issue, or not.

@ALTree ALTree added NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. Documentation labels Mar 11, 2021
@AlexRouSg AlexRouSg mentioned this issue Apr 1, 2021
@kartikPatidar
Copy link

For now we should just change the command to :
go mod edit -replace example.com/greetings=../greetings

SO that more beginners don't get stuck on this error.

@heschi
Copy link
Contributor

heschi commented Jun 23, 2021

Fixed in https://golang.org/cl/330229. (I messed up the CL description.)

@heschi heschi closed this as completed Jun 23, 2021
@golang golang locked and limited conversation to collaborators Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Projects
None yet
Development

No branches or pull requests

7 participants