x/tools/cmd/go-contrib-init: requires scratch repo to be set up as x/scratch #28332
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
In previous Go Contributor Workshops, I had attendees run the following:
However, that's tedious and not particularly portable. For example, it doesn't work with environments that use a multi-path GOPATH. So, since @kevinburke graciously set up a memorable domain name for it, I've tried to update the instructions to be the following:
However, that doesn't work, as
go-contrib-init
requires that all repos be checked out undergolang.org/x
:It's been decided that
golang.org/x/scratch
should not exist (#25921), so I thinkgo-contrib-init
should be taught that thescratch
repo doesn't belong there.I think it should accept any directory for it under GOPATH. Or, once we convert the subrepos to modules, the GOPATH directory check should be removed entirely.
/cc @dmitshur @bradfitz
The text was updated successfully, but these errors were encountered: