Hello extension developers, extension users, and people who hate NFS:
I'm finishing up rewriting ExtensionDistributor[0] so it'll be more reliable and not rely on NFS. In the process of doing this, I've changed how it fetches the archives. Instead of cloning all of the repositories and generating the archives on-disk, we'll now utilize the Github API to generate archives for us (this is configurable, if we decide that Github isn't going to work for some reason). I think this is really cool because it supports both tags *and* branches.
Now, since the big move to Git, ExtensionDistributor hasn't really worked for branches other than master. When we deploy the new version, I'm thinking we configure $wgExtDistBranches as follows:
$wgExtDistBranches = array( 'master', 'SNAPSHOT-for-1.21', 'SHAPSHOT-for-1.20', ... );
We can go ahead and create tags for the existing released versions to approximate snapshots of each extension as of the corresponding MediaWiki release. Extension authors can update the tag (or maybe use a branch, if they want) using the same name that we have configured.
I'm willing to bikeshed (a little) on the "SNAPSHOT-for-1.21" tag names, but I was looking for something that would be unlikely to conflict with people's existing tags/branches, and clear that it's a snapshot in most instances.
I don't have an exact date picked for deployment yet, but it'd be nice to have the snapshot tag names sorted out before we do.
-Chad
On Jan 7, 2013, at 8:03 PM, Chad innocentkiller@gmail.com wrote:
I'm thinking we configure $wgExtDistBranches as follows:
$wgExtDistBranches = array( 'master', 'SNAPSHOT-for-1.21', 'SHAPSHOT-for-1.20', ... );
We can go ahead and create tags for the existing released versions to approximate snapshots of each extension as of the corresponding MediaWiki release. Extension authors can update the tag (or maybe use a branch, if they want) using the same name that we have configured.
I'm willing to bikeshed (a little) on the "SNAPSHOT-for-1.21" tag
Why not use what we already use: REL1_20 etc.
-- Krinkle
On Mon, Jan 7, 2013 at 7:15 PM, Krinkle krinklemail@gmail.com wrote:
On Jan 7, 2013, at 8:03 PM, Chad innocentkiller@gmail.com wrote:
I'm thinking we configure $wgExtDistBranches as follows:
$wgExtDistBranches = array( 'master', 'SNAPSHOT-for-1.21', 'SHAPSHOT-for-1.20', ... );
We can go ahead and create tags for the existing released versions to approximate snapshots of each extension as of the corresponding MediaWiki release. Extension authors can update the tag (or maybe use a branch, if they want) using the same name that we have configured.
I'm willing to bikeshed (a little) on the "SNAPSHOT-for-1.21" tag
Why not use what we already use: REL1_20 etc.
At the time, I thought it might conflict with something. However, you're probably right and it'll be easier to remember :)
-Chad
On Tue, Jan 8, 2013 at 7:01 AM, Chad innocentkiller@gmail.com wrote:
Why not use what we already use: REL1_20 etc.
At the time, I thought it might conflict with something. However, you're probably right and it'll be easier to remember :)
I've now tagged all extensions (that existed) when REL1_20 was branched on 2012-11-06 [0].
I'm about to do the same for REL1_19 (more time consuming, since we weren't on git yet).
Remember: if you're the owner of any extension and you want to change what's available to ExtensionDistributor, you can just update the REL1_nn tags to point to the commit you want people to use.
For future release branches: we should probably add this to the "how to do a release" instructions[1] (which I've just done...man that page needs a cleanup).
-Chad
[0] https://www.mediawiki.org/wiki/Branch_points [1] https://www.mediawiki.org/wiki/Release_checklist
On Thu, Jan 10, 2013 at 10:32 AM, Chad innocentkiller@gmail.com wrote:
On Tue, Jan 8, 2013 at 7:01 AM, Chad innocentkiller@gmail.com wrote:
Why not use what we already use: REL1_20 etc.
At the time, I thought it might conflict with something. However, you're probably right and it'll be easier to remember :)
I've now tagged all extensions (that existed) when REL1_20 was branched on 2012-11-06 [0].
I'm about to do the same for REL1_19 (more time consuming, since we weren't on git yet).
Remember: if you're the owner of any extension and you want to change what's available to ExtensionDistributor, you can just update the REL1_nn tags to point to the commit you want people to use.
For future release branches: we should probably add this to the "how to do a release" instructions[1] (which I've just done...man that page needs a cleanup).
-Chad
[0] https://www.mediawiki.org/wiki/Branch_points [1] https://www.mediawiki.org/wiki/Release_checklist
And we're now done for REL1_19 too.
-Chad
wikitech-l@lists.wikimedia.org