Page MenuHomePhabricator

Move phabricator/deployments repository from Diffusion to GitLab/Gerrit
Closed, ResolvedPublic

Description

We should update the Phabricator deployment submodules repositories to point to the canonical GitLab/Gerrit repositories instead of the diffusion mirrors.

More or less related is https://phabricator.wikimedia.org/source/phabricator-translatewiki/ though it is not part of the phabricator/deployment repository (and is disabled and inactive)

For the records, there is also the (deployed) extension https://gerrit.wikimedia.org/g/phabricator/antivandalism/ with its canonical code repo still on Gerrit (instead of most other Phab repos being on GitLab).

Event Timeline

brennen added a project: User-brennen.
brennen moved this task from To Triage to Infrastructure on the Phabricator board.
brennen subscribed.

All but a couple of these have moved to GitLab at this point:

https://gitlab.wikimedia.org/repos/phabricator

All but a couple of these have moved to GitLab at this point:

https://gitlab.wikimedia.org/repos/phabricator

There are six repositories in this task description and https://gitlab.wikimedia.org/repos/phabricator has the same six. Which two Phabricator repositories have to migrate? We also need Phabricator to observe the Gitlab repositories and probably should stop mirroring to Gerrit and archive the Gerrit repositories.

URI links:

I guess we should make them to observe the Gitlab repositories and stop mirroring to Gerrit.

For translations we got it moved to Gerrit via T321350 and the bot was still sending updates there (March 20th commit https://gerrit.wikimedia.org/r/c/phabricator/translations/+/901183 ).

Aklapper renamed this task from Move phabricator/deployments repository from Differential to Gerrit to Move phabricator/deployments repository from Diffusion to Gerrit.Sep 24 2023, 4:50 PM
Aklapper updated the task description. (Show Details)

Hmm, isn't this mostly done (apart from Antivandalism still being in Gerrit, and Sprint which should be removed per T275325: Archive broken and unmaintained Phabricator Sprint extension) per https://gitlab.wikimedia.org/repos/phabricator/deployment/-/commit/6aafd15f7d5bad50c309746cdd41a4e4c7633465 by @brennen?

The repos that moved to GitLab still have some lingering work.

I archived the gerrit repos for those that have moved.

I assigned this to @jeena to dig through the URIs in phabricator to ensure:

  • they're no longer mirroring to gerrit
  • they are observing GitLab

Once that's done we can call this complete.

The repos that moved to GitLab still have some lingering work.

I assigned this to @jeena to dig through the URIs in phabricator to ensure:

  • they're no longer mirroring to gerrit
  • they are observing GitLab

I guess I just did so in T347577#9277852 (though I set up mirroring to Gerrit in cases when the Gerrit repo wasn't already archived).

Once that's done we can call this complete.

https://gitlab.wikimedia.org/repos/phabricator/deployment/-/blob/wmf/stable/.gitmodules reflects the current reality wrt canonical code repos.

If moving the translations repo (blocked on T318763: Work out how to bring in new Phabricator translations again) and moving the antivandalism repo (see T349662) from Gerrit to GitLab is out of scope, then in my understanding this task is complete and can be resolved. (I might misunderstand again.)

Also note https://github.com/wikimedia/phabricator-deployment is still mirroring Gerrit and not GitLab.

Indeed, thanks! I am clueless where to change the URI in the Github web interface. I'm afraid it requires manual cloning, sigh.

Mentioned in SAL (#wikimedia-releng) [2023-11-15T12:08:50Z] <hashar> GitHub: deleted Phabricator mirrored repositories # T321380

Aklapper renamed this task from Move phabricator/deployments repository from Diffusion to Gerrit to Move phabricator/deployments repository from Diffusion to GitLab/Gerrit.Nov 17 2023, 7:48 AM
Aklapper updated the task description. (Show Details)

@jeena: Is this task resolved as https://gitlab.wikimedia.org/repos/phabricator/deployment/-/blob/wmf/stable/.gitmodules does not list any repos in Diffusion but canonical repositories?

Aklapper removed jeena as the assignee of this task.
Aklapper added a subscriber: jeena.

In my understanding this task is done ¯\_(ツ)_/¯