Page MenuHomePhabricator

Make ExtensionDistributor work with Git
Closed, ResolvedPublic

Description

Marking as a TODO for a potential future migration to Git/another DVCS


Version: unspecified
Severity: enhancement

Details

Reference
bz27812

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:30 PM
bzimport set Reference to bz27812.

Assigning to Chad to sort out how extensions are going to be laid out in the new regime.

I presume you're going to abstract out the VCS specifics, and allow it to use Git and SVN?

Can probably just add wgExtDistBranches

$wgExtDistBranches = array(
    'trunk' => array(
        'tarLabel' => 'trunk',
        'msgName' => 'extdist-current-version',
    ),

to

$wgExtDistBranches = array(
    'trunk' => array(
        'tarLabel' => 'trunk',
        'msgName' => 'extdist-current-version',
        'vcs' => 'git',
    ),

sumanah wrote:

Reassigning to Sam to work on next week while Chad is away.

So, r113665, r113813, r113815

Only tested so far locally without using the $wgExtDistRemoteClient, and for SVN.

So need a git checkout to test with local client, and using both git and SVN

Next task is to setup the remote client and test with that too...

(In reply to comment #4)

Next task is to setup the remote client and test with that too...

Done

Leaves git testing which I'll do tomorrow. Have we got an extensions clone I can play with? I'll check in with Hashar about it to begin with

I've left myself a couple of TODOs in the code, so will look at tidying those up aswell

Yes it is. The code itself is fine.

In production it is completely broken for some reason (for SVN, never mind git), and as such, have logged bug 36482 for that