FAQ
golang/go shows the last commit as

https://github.com/golang/go/commit/a9dddb53f70703bedbfced143cb2e8838aa77d66

which is currently 10 commits behind gerrit

https://go.googlesource.com/go/+/e6fbce3596c1200825db78d338b98cbc80dc5665

Has the syncing job stopped working ?

Thanks

Dave

--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Brad Fitzpatrick at Feb 10, 2015 at 12:27 am
    Russ runs this somewhere.

    We could put it under the build coordinator like the watcher (which already
    polls gerrit, efficiently) but Gerrit is apparently adding mirror-to-Github
    "soon", so we maybe should just wait.
      On Feb 9, 2015 4:21 PM, "Dave Cheney" wrote:

    golang/go shows the last commit as


    https://github.com/golang/go/commit/a9dddb53f70703bedbfced143cb2e8838aa77d66

    which is currently 10 commits behind gerrit

    https://go.googlesource.com/go/+/e6fbce3596c1200825db78d338b98cbc80dc5665

    Has the syncing job stopped working ?

    Thanks

    Dave

    --
    You received this message because you are subscribed to the Google Groups
    "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
    --
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Minux at Feb 10, 2015 at 12:34 am
    Gerrit has an official plugin called replication that does this
    automatically.
    We don't need to run another job to sync the repos (and even more
    importantly,
    the replication plugin supports force updating on the github mirror, so
    even if
    someone accidentally pushes commit to the github repo, the next gerrit
    update
    will wipe out that commit)

    https://gerrit-review.googlesource.com/#/admin/projects/plugins/replication

    I use this plugin my Gerrit instance to push updates to github, and it works
    perfectly.

    --
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Brad Fitzpatrick at Feb 10, 2015 at 12:38 am
    Google's gerrit instances run in a different environment. That plugin
    doesn't work as-is.
    On Feb 9, 2015 4:34 PM, "minux" wrote:

    Gerrit has an official plugin called replication that does this
    automatically.
    We don't need to run another job to sync the repos (and even more
    importantly,
    the replication plugin supports force updating on the github mirror, so
    even if
    someone accidentally pushes commit to the github repo, the next gerrit
    update
    will wipe out that commit)

    https://gerrit-review.googlesource.com/#/admin/projects/plugins/replication

    I use this plugin my Gerrit instance to push updates to github, and it
    works
    perfectly.
    --
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Russ Cox at Feb 11, 2015 at 7:48 pm
    Sorry, the machine that was doing the syncing got disconnected from the
    network over the weekend and needed to be unplugged and replugged in (I
    don't know the details). It's all better now. We may move this into the
    builder coordinator but it's still a single point of failure.

    Russ

    On Mon, Feb 9, 2015 at 7:38 PM, Brad Fitzpatrick wrote:

    Google's gerrit instances run in a different environment. That plugin
    doesn't work as-is.
    On Feb 9, 2015 4:34 PM, "minux" wrote:

    Gerrit has an official plugin called replication that does this
    automatically.
    We don't need to run another job to sync the repos (and even more
    importantly,
    the replication plugin supports force updating on the github mirror, so
    even if
    someone accidentally pushes commit to the github repo, the next gerrit
    update
    will wipe out that commit)


    https://gerrit-review.googlesource.com/#/admin/projects/plugins/replication

    I use this plugin my Gerrit instance to push updates to github, and it
    works
    perfectly.
    --
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Brad Fitzpatrick at Feb 11, 2015 at 7:57 pm
    Well, the build coordinator does auto-restart on crash and the VM
    auto-restarts on crash and is auto-migrated around by GCE if the machine
    fails.

    It's a single point of failure, but it's a highly available single point of
    failure, as opposed to a machine that gets unplugged. It's true it had the
    fd leak before and got wedged so bugs can happen, but we've had no problems
    with its availability besides that, which was fixed.

    I asked Shawn yesterday when Gerrit will support pushing to Github natively
    but apparently it's stalled behind other stuff again.

    On Wed, Feb 11, 2015 at 11:47 AM, Russ Cox wrote:

    Sorry, the machine that was doing the syncing got disconnected from the
    network over the weekend and needed to be unplugged and replugged in (I
    don't know the details). It's all better now. We may move this into the
    builder coordinator but it's still a single point of failure.

    Russ

    On Mon, Feb 9, 2015 at 7:38 PM, Brad Fitzpatrick wrote:

    Google's gerrit instances run in a different environment. That plugin
    doesn't work as-is.
    On Feb 9, 2015 4:34 PM, "minux" wrote:

    Gerrit has an official plugin called replication that does this
    automatically.
    We don't need to run another job to sync the repos (and even more
    importantly,
    the replication plugin supports force updating on the github mirror, so
    even if
    someone accidentally pushes commit to the github repo, the next gerrit
    update
    will wipe out that commit)


    https://gerrit-review.googlesource.com/#/admin/projects/plugins/replication

    I use this plugin my Gerrit instance to push updates to github, and it
    works
    perfectly.
    --
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedFeb 10, '15 at 12:21a
activeFeb 11, '15 at 7:57p
posts6
users4
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase