[Labs-l] [NEW] Self-service git repository creation for tools

Bryan Davis bd808 at wikimedia.org
Sun Aug 28 01:00:12 UTC 2016


On Sat, Aug 27, 2016 at 4:40 PM, Bryan Davis <bd808 at wikimedia.org> wrote:
> On Sat, Aug 27, 2016 at 1:50 PM, Magnus Manske
> <magnusmanske at googlemail.com> wrote:
>> Should existing, third-party repos be tracked in toolsadmin and/or Phabricator/Differential?
>
> I have (undocumented) plans to add support for editing and publishing
> toolinfo.json compatible descriptions for each tool. When this is
> implemented it will support connecting 3rd party hosting to each tool.
>
> Right now it is possible to create a Diffusion repo through the admin
> console and then manually set it up as a mirror of an existing GitHub
> repo through the management interface in Phabricator. Kunal managed to
> do this with one of his tools [R1947]. Currently the configuration of
> Phabricator itself only allows connecting to GitHub, but we have one
> bug open to allow another external host. I expect as we talk through
> the reasonable solutions of that issue that we will either open up to
> a slightly larger fixed whitelist and come up with a procedure for
> adding more, or determine that automatic external mirroring is
> undesirable. If the answer ends up being that Wikimedia can't allow
> their main Phabricator to connect to arbitrary 3rd party hosts to
> mirror into Diffusion, I think someone can whip up a tool that can
> poll, fetch and push to manage mirrors for interested tools in a
> weekend. :)

Related to this, if anyone has a Tool with an existing repository that
is hosted in Diffusion (either directly or mirrored from Gerrit), feel
free to open a ticket in the #Striker project asking to have it
connected with your tool. I can manually alter the permissions on the
Phabricator side to match what the admin console would do for a new
repo and register it with the application's tracking database. I
thought about making some UI for this in the app itself, but decided
that the number of affected users was small enough that I could just
handle it directly instead of introducing clutter.

h/t to Luke081515 for bringing this topic up on irc to prompt this addendum

Bryan
-- 
Bryan Davis              Wikimedia Foundation    <bd808 at wikimedia.org>
[[m:User:BDavis_(WMF)]]  Sr Software Engineer            Boise, ID USA
irc: bd808                                        v:415.839.6885 x6855



More information about the Labs-l mailing list