Page MenuHomePhabricator

Migrate commit-message-validator from gerrit to gitlab
Closed, ResolvedPublic

Description

[15:46]  <    bd808> Lucas_WMDE: I wonder if I should work on moving that repo to gitlab and getting it setup with the release automation magic that we did for python-tooforge? legoktm and I are the only collaborators for that package at pypi right now.
[15:49]  <Lucas_WMDE> idk, I’ve never seen that repo before today ^^ I guess I don’t usually work on projects where it runs in CI
[15:51]  <  legoktm> bd808: yes please
[15:51]  <  legoktm> bd808: you can check a box off https://phabricator.wikimedia.org/T334615 when you do so :)
[15:53]  <    bd808> oh nice, T334615 answers what would have been my next question: "where does this go in gitlab?" :)

Details

Event Timeline

bd808 changed the task status from Open to In Progress.Jun 14 2023, 4:44 PM
bd808 claimed this task.
bd808 triaged this task as Medium priority.

Change 930270 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[integration/commit-message-validator@master] Blank repo and update README with new git host

https://gerrit.wikimedia.org/r/930270

Change 930271 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[integration/config@master] integration/commit-message-validator: Drop tests

https://gerrit.wikimedia.org/r/930271

Change 930271 merged by jenkins-bot:

[integration/config@master] Zuul: [integration/commit-message-validator] archived

https://gerrit.wikimedia.org/r/930271

Change 930270 merged by Hashar:

[integration/commit-message-validator@master] Blank repo and update README with new git host

https://gerrit.wikimedia.org/r/930270

I have:

The gitlab repository is missing the Gerrit metadata though refs/notes/review, refs/meta/config and refs/changes/* which are usually copied if one does git clone --mirror gerrit and git push --mirror gitlab.

The gitlab repository is missing the Gerrit metadata though refs/notes/review, refs/meta/config and refs/changes/* which are usually copied if one does git clone --mirror gerrit and git push --mirror gitlab.

I didn't use those commands and instead just added the empty gitlab repo as a new remote and pushed the branches and tags from my working copy. I don't know if the instructions from https://www.mediawiki.org/wiki/GitLab/Hosting_a_project_on_GitLab#Importing_code_to_GitLab would have brought in those extra gerrit refs or not. In the case of this repo I don't think its any loss to not have the gerrit metadata in the index, but I imagine that others may have different opinions.