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

bd808 created this task.Aug 26 2016, 5:04 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 26 2016, 5:04 AM

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.
Legoktm added a subscriber: Legoktm.Sep 9 2016, 2:06 AM

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.

mmodell added a subscriber: mmodell.Dec 4 2016, 2:48 AM

It should be straightforward to implement this in striker by calling this api method: https://phabricator.wikimedia.org/conduit/method/diffusion.uri.edit/

bd808 added a comment.Dec 4 2016, 4:49 AM

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.