Page MenuHomePhabricator

Fix misleading "Diffusion" creation in Striker (actually creates on GitLab)
Closed, ResolvedPublicBUG REPORT

Description

Hi all,

I'm confused since I tried to use Striker to create a Diffusion repository:

Screenshot_2022_10_10_182658.png (392×671 px, 40 KB)

Then it created a GitLab repository (!)

Screenshot_2022_10_10_183218.png (378×718 px, 32 KB)

Are you aware of that?

Context: I then deleted the GitLab repository, since I'm not interested in that, since I already can create GitLab repositories on my own. What I cannot do, is: create a Diffusion repository. A Diffusion repo is useful to me, since then I can modify its URL to observe my already existing GitLab repository.

Thank you for your thoughts

Event Timeline

JJMC89 removed bd808 as the assignee of this task.Oct 10 2022, 4:41 PM
JJMC89 changed the subtype of this task from "Task" to "Bug Report".
JJMC89 removed subscribers: bd808, Xover, Reedy and 4 others.
JJMC89 added a subscriber: bd808.

The label here is out of sync with the rest of the code. The label was fixed in https://gerrit.wikimedia.org/r/c/labs/striker/+/837201, but that change has not yet been deployed to the production service.

A Diffusion repo is useful to me, since then I can modify its URL to observe my already existing GitLab repository.

T317345: Mirror Striker managed GitLab repos in Diffusion will be the supported solution for this, but that solution will not support making mirrors of arbitrary gitlab repos. It will only create mirrors for repos that are also created by Striker.

OK thanks, understood.

Having said that I'm OK in deleting Phabricator mirrors, but not now, since AFAIK typing Ref T123 from a GitLab commit doesn't result in a notification in the related Phabricator Task.

Since people should not rush to migrate to GitLab and fix the bots, I think it should be better to allow Diffusion repositories in observe mode, still for some time. What do you think about?

(Edited: I mean, at the moment it should be OK to request an observed Diffusion repo, asking it manually to Diffusion administrators.)

OK thanks, understood.

Having said that I'm OK in deleting Phabricator mirrors, but not now, since AFAIK typing Ref T123 from a GitLab commit doesn't result in a notification in the related Phabricator Task.

I purposefully kept Diffusion mirrors of all of the repos that I migrated to GitLab for T315706: Migrate existing Striker created Diffusion repos to GitLab. The irc discussions that lead to T317345: Mirror Striker managed GitLab repos in Diffusion were related to easy of linking phabricator tasks and commits.

Since people should not rush to migrate to GitLab and fix the bots, I think it should be better to allow Diffusion repositories in observe mode, still for some time. What do you think about?

(Edited: I mean, at the moment it should be OK to request an observed Diffusion repo, asking it manually to Diffusion administrators.)

This is a question for others. This task is currently scoped to the Striker tool and not a discussion with the members of the release engineering team or others who take care of Diffusion project requests. I don't think however that it will be controversial to continue to support requests for Diffusion mirrors of repos hosted on Gerrit, GitLab, or other Wikimedia related git primary hosts in the near term.

I just noticed that in T296893: Replace Diffusion integration with Gitlab integration in Striker (toolsadmin) I said that Striker was blocking removal of Diffusion. That was not the correct component to mention; it was blocking the removal of Differential (code review). I have updated the task description to reflect this.

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

[operations/puppet@production] striker: Bump container version to 2022-10-03-154059-production

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

Change 842533 merged by Andrew Bogott:

[operations/puppet@production] striker: Bump container version to 2022-10-03-154059-production

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

bd808 assigned this task to Pintoch.
bd808 added a subscriber: Pintoch.

The fix from https://gerrit.wikimedia.org/r/c/labs/striker/+/837201 that @Pintoch had contributed previously has now been deployed.

Screen Shot 2022-10-13 at 2.40.32 PM.png (237×987 px, 29 KB)