Nice! -- brion
On Thursday, October 8, 2015, Daniel Friesen <[email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > As part of a side project in my job at Redwerks[1], I've released an > early version of a mediawiki-extension cli tool. > > https://github.com/redwerks/mediawiki-extension-command#readme > > The tool requires Node.js (in addition to git and php to run clones and > composer). > It can be installed with `sudo npm install -g mediawiki-extension` and > then `mediawiki-extension setup`. > > > The command can download and upgrade any extension we have in Gerrit. > Extensions using composer will automatically be installed via composer > otherwise it'll be cloned from git. If available, release tags (like > "1.0.0" or "v3.0.0") will be used, otherwise master will be used. > > You'll still need to require and configure the extension yourself. But > this is supposed to greatly simplify acquiring and bulk-updating > extensions via the cli. > > Some examples of use. > > Clone ParserFunctions from git. > $ mediawiki-extension download ParserFunctions > > Install SemanticMediaWiki and SemanticForms with composer. > $ mediawiki-extension download SemanticMediaWiki SemanticForms > > Clone Widgets with from git and checkout the most recent version tag. > $ mediawiki-extension download Widgets > > Update all your MediaWiki extensions: > $ mediawiki-extension update --all > > Switch an extension cloned from git master to the REL branch for the > installed version of MediaWiki. > $ mediawiki-extension switch ParserFunctions git-rel > > > [1] http://redwerks.org/ > > -- > ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] > > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
