Page MenuHomePhabricator

Cannot find repo operations/debs/wmf-pt-kill on diffusion or Github Wikimedia mirror
Closed, ResolvedPublic

Description

I wanted to browse and share the repo:

https://gerrit.wikimedia.org/r/admin/projects/operations/debs/wmf-pt-kill

to others, but I am unable to find it on Phabricator diffusion or GitHub (nicer for an informal browsing).

Is this expected, or does something have to be done to mirror this there?

This is low prio because it doesn't block anything, but maybe it has easy resolution (either my fault or just one command execution).

Event Timeline

And I know about Gitiles ( https://gerrit.wikimedia.org/g/operations/debs/wmf-pt-kill ), but phabricator or Github are nicer :-D.

Peachey88 subscribed.

I'm betting the GitHub mirror was never created.

$ ssh -p 29418 gerrit.wikimedia.org replication start --wait operations/debs/wmf-pt-kill 
Replicate operations/debs/wmf-pt-kill ref ..all.. to gerrit2001.wikimedia.org, Succeeded! (OK)
Replicate operations/debs/wmf-pt-kill ref ..all.. to github.com, Succeeded! (OK)
Replication of operations/debs/wmf-pt-kill ref ..all.. completed to 2 nodes, 
----------------------------------------------
Replication completed successfully!

https://github.com/wikimedia/operations-debs-wmf-pt-kill

So is this something that has to be done manually, and not done for every repo? What was the bug here - process?

So is this something that has to be done manually, and not done for every repo? What was the bug here - process?

Possibly. I don't know if it was ever requested in the original repo request (noting first commit is from September 2018). I think it's done more consistently these days, but some still get missed.

It's pretty easy to fix, create the repo at the right name on github, and do an action to force replication (or do the above ssh to force)

I thought we had (or were going to have) a plugin to do that repo creation automatically at one point

I thought we had (or were going to have) a plugin to do that repo creation automatically at one point

I thought at the very least it got done for Phabricator diffusion automatically, even if with some lag (I still cannot find it there).

I thought we had (or were going to have) a plugin to do that repo creation automatically at one point

I thought at the very least it got done for Phabricator diffusion automatically, even if with some lag (I still cannot find it there).

I don't quite know how that one works, and I seemingly don't have repo creation rights (at least) on phab to try...

Yep, the request wasn't directed to you, Reedy, but to Phab maintainer CCed already 0:-) Thanks for your help already!

I don't think there is any system to automatically create phab repositories when a new gerrit repository is created. I'll work on something to keep them in sync.

Just to be clear, I don't need that to happen automatically. I just need to know if I did something wrong when I requested it a few years ago- should I request also the mirroring to these 2 places? How? Does the syncing happening every few months?

I don't need things to be automatic, as much as understanding how to do myself/request them properly. Sorry for the inconveniences. 0:-D

@jcrespo: I think we need an automated (or semi-automated) solution simply because it's become a large chore to manually add repositories in 3 different places. I don't think you've done anything wrong.

should I request also the mirroring to these 2 places? How? Does the syncing happening every few months?

I don't need things to be automatic, as much as understanding how to do myself/request them properly. Sorry for the inconveniences. 0:-D

I don't think we currently have a proper process and the syncing never really happens, AFAIK. This is why I think it best to build a tool that can correlate each repository in gerrit with one in phabricator and then automate the process of adding anything that's missing.

As an automated tool, understandably, will take more time (can I help?). Is there a way to do a one-time sync for this repo only so this task can be closed @mmodell (I can create another one with your implementation idea).

jcrespo claimed this task.

Thank you very much, @mmodell. I created T251132 as per your suggestion! Will close this now.