Page MenuHomePhabricator

Mirror all Gerrit and GitLab repos that are currently not mirrored to Diffusion
Open, LowPublicFeature

Description

Event Timeline

@Bugreporter: "git repos" from where? GitLab? Gerrit? Github? Some or all of them? I'm not sure I understand the scope of this ticket, could you please clarify? Thanks!

When that task is filed the primary git repo storage is Gerrit and at that time GitLab installation did not exist.

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

Note: If we decided not to use Diffusion it may be uninstalled entirely, but I will not support only delete or disable some but not all Diffusion repos (such as T187149 or T359549), since users will be confused if we have mirrors of some but not all repos in Diffusion.

For now I will support creating mirrors of all Gerrit and GitLab repos in Diffusion - this will make users easy to get commits that mentions a specific Phabricator task ID.

this will make users easy to get commits that mentions a specific Phabricator task ID.

Could you provide a specific example please?

since users will be confused if we have mirrors of some but not all repos in Diffusion.

Could you point to an example where someone expressed confusion?

Could you provide a specific example please?

e.g. https://phabricator.wikimedia.org/T187150#3974752. Note if the task is not restricted and task ID is specified explicitly (instead of just mention in commit message), it will be picked up by gerritbot automatically.

This is one of a few usage of Diffusion, and it is a reason for Diffusion to be kept and completed (better than the current incomplete state).

Diffusion is not "incomplete" (what does that mean?). It may have limitations and bugs like literally every other software out there, though.

What I mean: either we complete our set of mirrors from Gerrit (and ideally GitLab) to Diffusion, or do not recommend users to use Diffusion at all (deprecate and eventually uninstall it).

Aklapper renamed this task from Find all git repos that are not mirrored to Diffusion to Mirror all Gerrit and GitLab repos that are currently not mirrored to Diffusion.Apr 6 2024, 6:20 AM
Aklapper triaged this task as Low priority.
Aklapper changed the subtype of this task from "Task" to "Feature Request".