Jump to content

Talk:Git/Creating new repositories

Add topic
From mediawiki.org
Latest comment: 1 month ago by QChrisNonWMF in topic Git/Creating new repositories/26

On stop mirroring new repositories to Diffusion and GitHub

[edit]

I agree with diff 5753691 by @Krinkle. I used to create gerrit repositories not long ago, and the most tedious part for me was setting up Diffusion mirrors as it is a very manual creation and configuration process (unless there's a script somewhere to automate this? - Phab Conduit is a pain). I am unsure about not creating GitHub mirrors though, since they're several magnitudes easier to setup, and gerrit automatically pushes updates via the replication plugin without any user intervention afterwards and some users prefer to see repo contents over GitHub. But since Special:Version git links point to gerrit/gitiles I guess it doesn't really matter much. Ping to @QChrisNonWMF since he creates many repositories. —MarcoAurelio (talk) 23:18, 18 February 2023 (UTC)Reply

I am quite late to this discussion, but personally (as a Phabricator end-user) I find the Diffusion mirror repositories helpful, as e.g. they allow commit hashes to be autolinked from Phab tasks/comments, which is quite a nice quality-of-life feature IMO :) I also personally prefer the GitHub UI to Gitiles for many things, and often link to the GitHub mirror (e.g. from Phab comments) rather than to the equivalent page on Gitiles.
From looking at Gerrit/New repositories/Requests, it seems like, in practice, Diffusion & GitHub mirrors are still being created (despite these steps having been removed from the instructions); and IMO this is nice, as it results in these benefits also being available for recently-created repos. I therefore wonder if it's worth re-adding these instructions, to reflect reality if nothing else? FWIW, I originally came to this page a few days ago in the context of having filed phab:T409549 & wondering how a Diffusion mirror can be created.
cc @Krinkle (& @QChrisNonWMF). Best, ‍—‍a smart kitten[meow] 15:18, 11 November 2025 (UTC)Reply
Yes, I still create both GitHub and Diffusion mirrors by default. (It's not much hassle, as I scripted mirror creation a few years back)
Required or not, I also find value in these mirrors. So I keep adding them until they get forbidden :-) QChrisNonWMF (talk) 06:42, 12 November 2025 (UTC)Reply

Git/Creating new repositories/26

[edit]

After this translation block, the text appeared in the Czech translation: span id="Step_5:_Create_.gitreview_file" Rebulka (talk) 06:38, 10 December 2025 (UTC)Reply

The problematic change was probably the translation of Step 5. Looking at the diff shows that the added span's id contains some unencoded <code> tags. (In the English version, these tags a stripped of h2's id). I tried to manually remove them, but MediaWiki does not allow me to edit that page manually. :-( --QChrisNonWMF (talk) 21:57, 13 December 2025 (UTC)Reply
This is phab:T394369. * Pppery * it has begun 22:46, 13 December 2025 (UTC)Reply
@Pppery: Thanks for finding it! I've added this instance to the bug QChrisNonWMF (talk) 09:49, 14 December 2025 (UTC)Reply