Page MenuHomePhabricator

GitLab repos are not correctly mirrored to Diffusion
Closed, ResolvedPublic

Description

Splitting this from T265617: Experiment with GitLab-Phabricator integration.

@Aklapper writes:

This task might welcome splitting between Phabricator Maniphest (task) interaction, and Phabricator Diffusion (code repository hosting) syncing.

This is a stub; more details to come (including making sure there isn't an existing task for this).

Event Timeline

Aklapper renamed this task from Ensure that GitLab repos are correctly mirrored to Diffusion to GitLab repos are not correctly mirrored to Diffusion.Jun 8 2023, 1:50 PM

Do we want to sync code into Diffusion? It's a massive point of confusion for no added value. I'd rather this task was "Ensure GitLab repos are not mirrored in Diffusion".

It's a massive point of confusion for no added value.

I find it useful for the ability to embed nice links like R3254:03cff13258db: dal: Refactor and update SQL queries into tasks. The syntax needed for that is {git-hash-here} when the repo is mirrored by Diffusion. When not mirrored one can still provide explict links like https://gitlab.wikimedia.org/toolforge-repos/ifttt/-/commit/03cff13258dbb76740e19d49a4c7d25e7e75cdb8, but there is more work required to turn that into a more informative link for the casual reader like dal: Refactor and update SQL queries. As part of T296893: Replace Diffusion integration with Gitlab integration in Striker (toolsadmin) I explicitly added T317345: Mirror Striker managed GitLab repos in Diffusion for this reason.

Do we want to sync code into Diffusion?

Definitely not. Diffusion is already supposed to be decom'ed.

also see T191182 and duplicate of this T262219 (which I would say should be declined along with everything else related to Diffusion)

Diffusion is already supposed to be decom'ed.

That's Differential (code review), not Diffusion (code repo browsing).

Do we want to sync code into Diffusion?

Definitely not. Diffusion is already supposed to be decom'ed.

also see T191182 and duplicate of this T262219 (which I would say should be declined along with everything else related to Diffusion)

Differential is being decommed, not Diffusion. Code review and git repos are separate things.

Would love to preserve nice embedded links.

If we can link those to the canonical host, that'd be cool. Otherwise, having diffusion monitor the canonical hosts (as now) in an option (or have canonical hosts mirror, whichever).

Aklapper triaged this task as Medium priority.Jul 13 2023, 5:34 PM
Aklapper moved this task from To Triage to Infrastructure on the Phabricator board.

Re T324151#8832065 (Phabricator repos itself), I fixed that a few weeks ago at some point as part of looking into T347577.

@brennen: Apart from that, I don't know the scope of this task. Is this task still somehow useful or should it be closed in favor of T330347?

Do we want to sync code into Diffusion? It's a massive point of confusion for no added value. I'd rather this task was "Ensure GitLab repos are not mirrored in Diffusion".

Split into T359549: Drop our mirroring of code to Diffusion and empty the repos

Aklapper changed the task status from Open to Stalled.Apr 5 2024, 8:56 AM

Do we still have "GitLab repos are not correctly mirrored to Diffusion"?
If so, which ones? Someone please clarify.

Not sure if there's something to still look into these days, apart from the January 2024 regression T355644: Enable git repo creation in Diffusion again?

Not actionable currently; likely superseded by broader T262219.