On Friday, March 29, 2013 at 2:32 AM, Tyler Romeo wrote:
Quick question. If I'm correct, Vagrant is supposed to be for setting up development environments. Under this assumption, why is the mediawiki git repository only fetched with a depth of 1? Isn't is pretty useless to have a development VM you can't push or pull from?
You can use a shallow clone to pull new changes. As far as committing, 'git review -s' will actually trigger fetching the entire history. So this way the bandwidth costs of pulling the entire history are deferred until you are ready to commit a patch, which shortens the time it takes to get a functional MediaWiki instance.
In the course of investigating this, I realized that the current version does not configure a remote, which is perhaps why git pull didn't work for you (if you tried it). I'll fix that.
Ori