On Tue, Sep 6, 2022 at 3:47 PM Matthew Bowker
<matthewrbowker.ml(a)gmail.com> wrote:
Bryan,
How will this affect diffusion repositories that are already configured to mirror a
remote repository? For example,
https://phabricator.wikimedia.org/source/tool-xtools/
mirrors GitHub, which means there is no need for anything to be moved to GitLab.
This is a great question Matthew. I honestly had not thought about the
possibility of any of these repos already being read-only mirrors of
another repo. It should be possible for me to add some detection code
to notice when a Diffusion repo has an "observe" URI attached to it.
I think we will just have to skip migration for this type of repo and
remove Striker's knowledge of it. GitLab does not currently have a
solution for actively mirroring from another git repo [0] that would
allow us to make things go github->gitlab->diffusion at this point. I
have already removed some of the code from Striker that would be
needed to keep tracking both Diffusion and GitLab repos in the long
term, so dropping this tracking is about all I can do for the xtools
repo and any others setup similarly.
[0]:
https://phabricator.wikimedia.org/T305984#8210132
Bryan
--
Bryan Davis Technical Engagement Wikimedia Foundation
Principal Software Engineer Boise, ID USA
[[m:User:BDavis_(WMF)]] irc: bd808