Page MenuHomePhabricator

Allow easy replication of existing github/bitbucket repos
Open, LowPublic

Description

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)

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 ;)

bd808 triaged this task as Medium priority.Aug 31 2016, 12:20 AM
bd808 lowered the priority of this task from Medium to Low.

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/

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.