Hello,
I'm writing to tell you about some cool new MediaWiki-Vagrant features.
MediaWiki-Vagrant now ships with a custom Vagrant plug-in that augments the
default 'vagrant' command-line tool with some additional sub-commands that
are specifically designed to make MediaWiki development more productive and
fun.
The most important addition is a set of four sub-commands for managing
roles. (Roles, you'll recall, are optional software stacks that
MediaWiki-Vagrant can configure automatically. There's a VisualEditor role,
a Scribunto role, a qa/browsertests role, etc.) The new commands are:
$ vagrant list-roles
Lists available roles. Currently enabled roles are marked with a '*'.
$ vagrant enable-role
Enables a role. Example: 'vagrant enable-role visualeditor'.
$ vagrant disable-role <name>
Disables a role.
$ vagrant reset-roles
Disable all roles.
There's a short, 1-minute screencast up at
http://ascii.io/a/4428demonstrating usage. Check it out. I'll wait.
The other cool sub-command that was recently added is 'vagrant run-tests'.
Any command-line arguments following 'run-tests' are passed through to
PHPUnit running on the VM, so it's possible to run (for example) 'vagrant
run-tests extensions/EventLogging'. Finally, there's 'vagrant
puppet-paste'. This uploads the log of your most recent Puppet run to <
dpaste.de> and prints out a URL. This is primarily intended as a debugging
aid.
Additional documentation, including installation help, is up at <
https://www.mediawiki.org/wiki/MediaWiki-Vagrant .
Please report any bugs you encounter at <
https://bugzilla.wikimedia.org/enter_bug.cgi?product=Tools&component=Va…
.
Ori