On Thu, Nov 15, 2018 at 8:32 AM Huji Lee huji.huji@gmail.com wrote:
On Thu, Nov 15, 2018 at 10:30 AM Bryan Davis bd808@wikimedia.org wrote:
If you are already using VirtualBox for this project, I would personally recommend that you switch to using MediaWiki-Vagrant (https://www.mediawiki.org/wiki/MediaWiki-Vagrant) to manage your VM and use `vagrant role enable centralauth` to add CentralAuth support to the wikifarm that mwv manages.
Well the issue is I don't know how to work with Gerrit when using vagrant. I want to have the ability to load a patch (with git review -d ...) and to create and submit patches. To the extent that I know, vagrant does *not* integrate with my git account, right?
MediaWiki-Vagrant manages the git clones for MediaWiki core and needed extensions on the host computer (e.g. your laptop) and then shares the directory that they are checked out to into the virtual machine. The typical workflow for gerrit interactions then becomes using git and git-review from the host computer in the correct directory.
Bryan