-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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/*: define module boundaries for all the repos under golang.org/x/ #28136
Comments
To summarize the core issues from #27858, the main question to answer here is:
(I don't know the answer. CC @mikioh, @bradfitz, @ianlancetaylor, and @tombergan for their opinion.) |
Also as noted in #27858 (comment), an existing repository is (de facto) currently a single module: people can already define a So I think there's essentially no harm in defining the whole repo as a single module for now. |
@bcmills, that is incredibly sad. I was hoping modules would get us out of this mess and let us carve up x/net and x/tools and let them have their own CI columns, etc. For instance, I'd love it if x/tools/cmd/guru breakages (it breaks all the time) didn't interrupt development of cmd/godoc. And x/net/html has nothing to do with x/net/http2, etc. |
There needs to be a development of a plan for all the x repos, not a different plan for every repo. I think we should close all these "define module boundaries for one repo at a time" bugs. |
@rsc - I renamed the issue to "x/*: define module boundaries for all the repos under golang.org/x/", would it work? If not, feel free to close it. |
@rsc and I discussed a general strategy for the
|
SGTM |
Change https://golang.org/cl/162397 mentions this issue: |
Change https://golang.org/cl/162677 mentions this issue: |
Updates golang/go#28136 Change-Id: Id72c814ee39931e7f6a1ab421237b8739d8960db Reviewed-on: https://go-review.googlesource.com/c/162677 Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to the tools repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the tools repository. The tools repo has some extraneous dependencies, but they will be removed soon (we expect a couple of weeks). At that point, our go.sum should shrink to a small handful of entries. Updates golang/go#28136 Change-Id: Ie7802d8d70094a855b112ad0507a47036cb81ba0 Reviewed-on: https://go-review.googlesource.com/c/162397 Run-TryBot: Michael Matloob <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
Change https://golang.org/cl/162820 mentions this issue: |
Change https://golang.org/cl/162938 mentions this issue: |
Change https://golang.org/cl/162912 mentions this issue: |
Change https://golang.org/cl/162821 mentions this issue: |
Change https://golang.org/cl/162915 mentions this issue: |
Change https://golang.org/cl/162916 mentions this issue: |
Change https://golang.org/cl/162823 mentions this issue: |
Change https://golang.org/cl/162977 mentions this issue: |
Change https://golang.org/cl/162825 mentions this issue: |
Change https://golang.org/cl/162911 mentions this issue: |
I have edited @bcmills's #28136 (comment) above to incorporate a minor revision based on what we've learned from golang/lint#436 and #30455. It adds the "Before adding a go.mod file, ..." sub-bullet point under the first "Create a go.mod file ..." bullet point: |
This change adds a go.mod file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. This change does not add a go.sum file because this repo has no dependencies on other repos. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: If06ef87228cd9c8520de9aa457a97947caaaf53f Reviewed-on: https://go-review.googlesource.com/c/time/+/162824 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. This change also creates a new module with the module path golang.org/x/net/http2/h2demo, and moves the h2demo command into it. This is done by adding a go.mod file in the http2/h2demo directory. As a result, the h2demo command and its dependencies are removed from this and later pseudo-versions of the golang.org/x/net module. The change was generated using Go 1.12. Updates golang/go#28136 Fixes golang/go#30685 Change-Id: Ia5b0f6623c3374355b76106432190a0c9acf3d05 Reviewed-on: https://go-review.googlesource.com/c/net/+/162822 Run-TryBot: Michael Matloob <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
This change adds a go.mod file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. There is no go.sum file because this repo has no dependencies. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: Ie24d8bb73104e8299d3d22cf6c72a295036804f7 Reviewed-on: https://go-review.googlesource.com/c/review/+/162916 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
This change adds a go.mod file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. This change does not add a go.sum because this repo has no dependencies. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: Ie4f1270a0dfefd4239badf86daa0d7a5b17fd0d5 Reviewed-on: https://go-review.googlesource.com/c/162823 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I17b2ac9eaae028a172a5adc260cffba5e0997619 Reviewed-on: https://go-review.googlesource.com/c/162911 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I17b2ac9eaae028a172a5adc260cffba5e0997619 Reviewed-on: https://go-review.googlesource.com/c/162911 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I17b2ac9eaae028a172a5adc260cffba5e0997619 Reviewed-on: https://go-review.googlesource.com/c/162911 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. This change also creates a new module with the module path golang.org/x/net/http2/h2demo, and moves the h2demo command into it. This is done by adding a go.mod file in the http2/h2demo directory. As a result, the h2demo command and its dependencies are removed from this and later pseudo-versions of the golang.org/x/net module. The change was generated using Go 1.12. Updates golang/go#28136 Fixes golang/go#30685 Change-Id: Ia5b0f6623c3374355b76106432190a0c9acf3d05 Reviewed-on: https://go-review.googlesource.com/c/net/+/162822 Run-TryBot: Michael Matloob <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I837a30c514e23ddab0404a2d8ab66eaa6ad82961 Reviewed-on: https://go-review.googlesource.com/c/162912 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Nigel Tao <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I17b2ac9eaae028a172a5adc260cffba5e0997619 Reviewed-on: https://go-review.googlesource.com/c/162911 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I17b2ac9eaae028a172a5adc260cffba5e0997619 Reviewed-on: https://go-review.googlesource.com/c/162911 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]>
This change adds a go.mod and go.sum file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: I17b2ac9eaae028a172a5adc260cffba5e0997619 Reviewed-on: https://go-review.googlesource.com/c/162911 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]>
Is there anything remaining to do here? @dmitshur, feel free to close this. |
Indeed, I think we can consider this done. Thanks. |
This change adds a go.mod file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. This change does not add a go.sum because this repo has no dependencies. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: Ie4f1270a0dfefd4239badf86daa0d7a5b17fd0d5 Reviewed-on: https://go-review.googlesource.com/c/162823 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
@bradfitz -2'ed https://go-review.googlesource.com/c/net/+/141237 with the comment:
This would be similar to #27858 (which is for x/tools).
It would be great to define the boundaries and set up modules (and tag the code so that it could be used with versions not looking like
golang.org/x/net v0.0.0-20181005035420-146acd28ed58
😄@bcmills - do you know if someone is already working on setting up modules in x/net? if so, could you please include them?
The text was updated successfully, but these errors were encountered: