Page MenuHomePhabricator

Mirroring Diffusion repositories to GitHub seems to be broken
Closed, ResolvedPublic

Description

There are a number of repos under the https://github.com/toolforge org account which are mirrors of source repos here on Phabricator. Mirroring worked at some point in the past, but seems to also have stopped working quite a while ago.

I noticed this when I tried to setup https://github.com/toolforge/tool-k8s-status as a mirror of https://phabricator.wikimedia.org/source/tool-k8s-status/. There is no data at all in the sync logs (at least that I can see): https://phabricator.wikimedia.org/diffusion/synclog/?repositories=PHID-REPO-w6zrl6ar7bwdqkfcqdgj

Event Timeline

MarcoAurelio renamed this task from MIrroring Diffusion repositories to GitHub seems to be broken to Mirroring Diffusion repositories to GitHub seems to be broken.Jan 15 2020, 6:53 PM

https://github.com/wikimedia uses https://github.com/wmfphab (rather, used) to push stuff from Diffusion to GitHub. Maybe there's any config in place preventing accounts other than wmfphab to push outside Diffusion?

@mmodell Let me know if you need any superpowers on the GitHub side of this to debug things. I have the credentials for the https://github.com/toolforge-push account and admin level rights in the https://github.com/toolforge org account.

cc: @Dzahn

ssh: connect to host github.com port 22: Connection timed out
      fatal: Could not read from remote repository.

It would appear that we are firewalled? Not sure when that happened.

@bd808: one solution would be to switch it to use https authentication with a github token. I can probably whip up a quick automation to update all of the repositories via the conduit api rather than manually updating them. Can you set up the credentials on github and passphrase?

@bd808: one solution would be to switch it to use https authentication with a github token. I can probably whip up a quick automation to update all of the repositories via the conduit api rather than manually updating them. Can you set up the credentials on github and passphrase?

I created {K33}

.Nafees791 renamed this task from Mirroring Diffusion repositories to GitHub seems to be broken to some other time.Jan 23 2020, 4:02 AM
.Nafees791 removed mmodell as the assignee of this task.
.Nafees791 updated the task description. (Show Details)
DannyS712 renamed this task from some other time to Mirroring Diffusion repositories to GitHub seems to be broken.Jan 23 2020, 5:02 AM
DannyS712 assigned this task to mmodell.
DannyS712 updated the task description. (Show Details)
DannyS712 added subscribers: Dzahn, mmodell, MarcoAurelio and 2 others.

Ok thanks to @thcipriani's script[1], I got all of the git@github.com/toolforge/ uris rewritten to https://github.com/toolforge/

[1] rPHDEP0c7ca1aed55f: conduit client to rewrite uris from git to https