Skip to content

x/tools/cmd/go-contrib-init: needs updating #72773

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

Closed
pgundlach opened this issue Mar 10, 2025 · 2 comments
Closed

x/tools/cmd/go-contrib-init: needs updating #72773

pgundlach opened this issue Mar 10, 2025 · 2 comments
Labels
help wanted NeedsFix The path to resolution is known, but the work has not been done. Other None of the above. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@pgundlach
Copy link
Contributor

I'd like to contribute to https://go.googlesource.com/text. So I cloned the directory and ran (after registering and logging in)

go-contrib-init

and the resulting message is:

Current directory's git was cloned from "https://go.googlesource.com/text"; origin should be "https://go.googlesource.com/go"

Then I ran go-contrib-init -repo=text

which responded:

The repo you want to work on is currently not on your system.
Run "go get -d golang.org/x/text" to obtain this repo
then go to the directory "/Users/patrick/go/src/golang.org/x/text"

following the instructions gives me:

$ go get -d golang.org/x/text
go: -d flag is deprecated. -d=true is a no-op

So I don't know how to proceed. IMO the error message for the problem (go-contrib-init) I had in the first message should include the possibility to change the repo and the second error message (with go get -d) seems misleading.

This issue comes from: https://groups.google.com/g/golang-nuts/c/csZeSj65gbU

@gabyhelp
Copy link

Related Issues

Related Discussions

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@gabyhelp gabyhelp added the Other None of the above. label Mar 10, 2025
@ianlancetaylor ianlancetaylor changed the title go-contrib-init error messages x/tools/cmd/go-contrib-init: needs updating Mar 10, 2025
@ianlancetaylor ianlancetaylor added help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Mar 10, 2025
@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Mar 10, 2025
@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Mar 10, 2025
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/656515 mentions this issue: cmd/go-contrib-init: drop unneeded GOPATH checks in module mode

@seankhliao seankhliao marked this as a duplicate of #60602 Mar 21, 2025
@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted NeedsFix The path to resolution is known, but the work has not been done. Other None of the above. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

5 participants