googleapis / google-cloud-go

Google Cloud Client Libraries for Go.
https://cloud.google.com/go/docs/reference
Apache License 2.0
3.73k stars 1.28k forks source link

Set up repo sync #369

Closed broady closed 7 years ago

broady commented 8 years ago

At the moment it's running on @okdave's workstation under his desk.

Find a more solid solution (that maybe uses gopherbot's credentials?)

/cc @adams-sarah @okdave @jba @rakyll @zombiezen

s-mang commented 8 years ago

Not sure if this is the same or separate, but the webhook (or whatever) that looks for phrases like "Fixes #000" in a commit message and closes the corresponding github issue should also use gopherbot's credentials, not Dave's.

bradfitz commented 8 years ago

We could make the main Go repo's syncer do it, as the "gopherbot" user.

That code lives in x/build/cmd/coordinator/watcher_process.go.

s-mang commented 8 years ago

What do other GCP repos do? (other languages)

bradfitz commented 8 years ago

What do other GCP repos do? (other languages)

Use Github directly instead of Gerrit?

broady commented 8 years ago

@bradfitz that'd be great. I'll add gopherbot as a pusher to this repo.

We either need to run two coordinators or support multiple github orgs/gerrit origins. What do you think?

s-mang commented 8 years ago

Ah. Then I'm all for mimicking the main Go repo's config. The fewer unique configs, the merrier.

broady commented 8 years ago

gopherbot invited to GCP org. please accept, @bradfitz

okdave commented 8 years ago

Thanks all, this SGTM.

s-mang commented 7 years ago

@broady implemented this, I believe. Closing for now. Feel free to reopen if I'm wrong.

broady commented 7 years ago

Yup.

https://github.com/broady/reposync, and it runs in this GCP project: https://console.cloud.google.com/project/go-cloud-reposync

Status page: https://go-cloud-reposync.appspot-preview.com/status

Monitoring: https://app.google.stackdriver.com/policy-advanced/208979668997567920?project=go-cloud-reposync