Page MenuHomePhabricator

Migrate ORES/Revscoring/etc. repos to Gitlab or Gerrit
Open, MediumPublic

Description

Currently the release engineering team is deciding between moving WMF to Gitlab or sticking to Gerrit. Once the decision is made all repos owned by MLP should be migrated to that single platform.

This would solve the issue of folks submitting Gerrit patches and other folks submitting Github PRs (i.e. https://github.com/wikimedia/editquality/pull/228)

Event Timeline

One note: I think even if gitlab gets selected for the replacement, it would take around a year or so to have it in production. Of course RelEng should confirm this.

That is a good point. I should move this to a backlog

calbon triaged this task as Medium priority.Dec 1 2020, 6:21 PM
calbon moved this task from On Deck to Active on the Machine-Learning-Team (Active Tasks) board.
calbon added a subscriber: ACraze.

@ACraze can you take a look at this and see how hard it would be.

@calbon re: our discussion, this really depends on a couple of things. Do we want to continue storing models in LFS in the long-term? (probably yes?) Also, if we move everything to Gerrit, convert the TravisCI builds to Jenkins for each repo, then we would need time to do it again for Gitlab a few months later while we build out the Lift Wing MVP.

Sorry for jumping in!

@calbon re: our discussion, this really depends on a couple of things. Do we want to continue storing models in LFS in the long-term? (probably yes?)

Gerrit supports LFS out of the box: https://gerrit.wikimedia.org/r/plugins/gitiles/All-Projects/+/634617d28696329e93ae167a1c5525a5f50361cd/lfs.config

Also, if we move everything to Gerrit, convert the TravisCI builds to Jenkins for each repo, then we would need time to do it again for Gitlab a few months later while we build out the Lift Wing MVP.

That's true but one thing: We should move away from Travis anyway (maybe Github Actions in the mean time?). If everything gets migrated to tox, I assume migrating from gtihub -> gerrit (jenkins) -> gitlab would be pretty easy