It should be easy for users to setup a new diffusion repo as a mirror of an existing external repo. Ideally we'd allow any origin, but we may have to limit support to a select whitelist of providers. (see T143969)
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T143971 Allow easy replication of existing github/bitbucket repos | |||
Resolved | • jcrespo | T146055 Improve privilege separation for phabricator's config files and mysql credentials | |||
Restricted Task | |||||
Resolved | • mmodell | T151229 Unable to issue email commands nor reply to Tasks since the last UI update |
Event Timeline
For now, there is a short how-to on manually setting up a GitHub mirror at https://wikitech.wikimedia.org/wiki/Toolsadmin.wikimedia.org/FAQ
Alternativly, if a user thinks, that he can't do that manully, I can do that for them if wished, just assign then a task to me ;)
I believe one of the goals of Striker is to make things self-service, meaning that telling people to file tasks isn't really a solution.
It should be straightforward to implement this in striker by calling this api method: https://phabricator.wikimedia.org/conduit/method/diffusion.uri.edit/
Yeah, the editing part for the Phabricator side should be pretty simple. I was kind of hoping we would resolve the question of what mirrors we can allow presented by T143969: Unable to mirror repository from git.legoktm.com into diffusion before I started to figure out the user interface and validation that is needed in Striker.