-
Notifications
You must be signed in to change notification settings - Fork 18k
x/proto: create repo and setup Gerrit #26723
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
Comments
\cc @jhump @tamird, who are other frequent contributors |
The repo has been created: go.googlesource.com/proto
Would you also have github.com/golang/proto and github.com/golang/protobuf?
Yes it does. You should add proto to the Gerrit project whitelist at https://go.googlesource.com/build/+/master/cmd/gerritbot/gerritbot.go#190 Is the idea to have the GitHub repo be golang/protobuf and the Gerrit repo be go.googlesource.com/proto?
I will let @bradfitz answer this one. |
Maybe we shouldn't have created the Gerrit repo until we figured out the whole plan here. There's also the https://code.googlesource.com/ GoB repo as used by e.g. https://code.googlesource.com/gocloud and https://code.googlesource.com/google-api-go-client/ Is protobuf more of a Go thing or a Google thing? shrug Trybots testing repos against older Go releases is #17626 ... not hard, but not done. Downloading external dependencies only works for go.googlesource.com/* deps at the moment, not GitHub. I was waiting on Go Modules until I did that, because with hitting GitHub we need to be a bit more careful with caching, and I thought the versions from go.mod files would help with the caching and preventing unnecessary origin freshness checks.
It runs any code that "go test" runs. So it could. But without help it would do lots of uncached downloads. Maybe that's okay, if the origin doesn't block it.
There's a C toolchain available in the builder image. |
Removed the |
Per @bradfitz and @andybons answers:
|
This is pretty unfortunate in that it will alienate ~all non-Google contributors. I understand that the primary developers like Gerrit, but if the desire is to have a review tool that understands patch updates, I suggest giving reviewable a look. CockroachDB has been using it for a few years now, and that is a much larger project than this will be. |
@tamird Note that our Gerrit instances support GitHub pull requests, and I assume that would also be true for this repo. We aren't going to be switching to something like reviewable. This has been discussed at length in the past. I can't see any good reason for x/proto to use a third review system, different from all the other Go repos. |
@dsnet wrote:
I don't own stock in reviewable, but the other solutions are lacking. |
To give some background. There are some competing goals:
Taking in all of the above considerations together, it seems that using Gerrit is still the best alternative:
|
Really great to see the start of this project :) I hope But maybe I can ask, have you thought about making smaller commits? |
\cc @johanbrandhorst @donaldgraham @jmarais gogo members |
I believe that googlesource was moribund as of three~four or so years ago, right? One likely does not want to setup the repo on a service that at any time is known to be likely to receive an “An Update On…” email. I think trying to find a way to stick somehow to using github would increase the most amount of external eyes at least lurking and watching development. (People like me.) On the other hand, if I am wrong, and googlesource is long-term viable, and one can easily sign up to watch a repo… then none of my text here has any point.
I believe ideally to be down with the new go modules style would be to start a Short answer: Ugh, that sounds like a bad idea, but then everything kind of sounds like it would be a bad idea… |
@puellanivis: I think you are thinking of googlecode.com. All Go stuff is (and has been?) hosted on go.googlesource.com. Regarding creating a "v2" folder in the existing repo, the new Go module system only requires that the new version have a different import path; it does not require that it have the same import prefix but a version number suffix. So this new location for v2, IIUC, would have an import path of |
I think the subdir of But if we’re moving toward a |
Let's avoid all discussion about import path. It's an important topic, but it is also orthogonal from the original post's purpose, which is to setup a repo for development. While import path is often identical to repo location, it also doesn't have to be. |
https://go.googlesource.com/protobuf has been created. Have fun! |
I am manually mirror the Gerrit repo to the "api-v2" branch for anyone who wants to follow our progress on GitHub. |
We are starting development of the next generation of Go protocol buffers (with a heavy focus around proto reflection; see golang/protobuf#364). Those of us primarily involved with the development prefer to use a code review tool that is better able to track review comments, patch updates, and what not. We believe the choice of review tool is especially important in the starting phases where there is likely to be a large quantity of CLs of relatively large size, where Gerrit shows its strengths. As such, we prefer to develop using Gerrit as opposed to GitHub pull requests. The current workflow is contrary to most other golang/x projects in that protobuf still uses GitHub PRs, which is fine when each change is not that large.
As we explore using Gerrit, there are several thoughts/questions:
api2
ongo.googlesource.com/proto
to a branch namedapi2
ongit.colasdn.top/golang/protobuf
?master
branch must also be managed by Gerrit ongo.googlesource.com/proto
? If so, can we set up the GitHubPR to GerrittCL bot so that existing contributors can continue working with GitHub?\cc @paranoiacblack @neild @cybrcodr @bradfitz @andybons
The text was updated successfully, but these errors were encountered: