Last modified: 2012-05-04 12:51:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29812, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27812 - Make ExtensionDistributor work with Git
Make ExtensionDistributor work with Git
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ExtensionDistributor (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Sam Reed (reedy)
:
Depends on:
Blocks: 22596
  Show dependency treegraph
 
Reported: 2011-03-01 22:20 UTC by Sam Reed (reedy)
Modified: 2012-05-04 12:51 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2011-03-01 22:20:58 UTC
Marking as a TODO for a potential future migration to Git/another DVCS
Comment 1 Rob Lanphier 2011-12-08 00:56:38 UTC
Assigning to Chad to sort out how extensions are going to be laid out in the new regime.
Comment 2 Sam Reed (reedy) 2012-03-08 16:53:58 UTC
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',
        ),
Comment 3 Sumana Harihareswara 2012-03-09 17:05:02 UTC
Reassigning to Sam to work on next week while Chad is away.
Comment 4 Sam Reed (reedy) 2012-03-14 20:57:37 UTC
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...
Comment 5 Sam Reed (reedy) 2012-03-14 23:18:28 UTC
(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
Comment 6 Siebrand Mazeland 2012-05-04 05:23:29 UTC
Not solved. In http://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdist_extension=LiquidThreads&extdist_submit=Continue I cannot download a 1.19 version, for example.
Comment 7 Sam Reed (reedy) 2012-05-04 12:51:21 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links