Hi Ori, I use your vagrant VM all the time. Thanks!!!
If we have a good vagrant setup, getting new devs on-board might be that
much easier.
I keep all the notes of the things I needed to do to your VM at
http://www.mediawiki.org/wiki/User:Yurik/Installing_Linux_virtual_box_under…
Most of it is not related to Windows, and I would love to have some (most)
of it automated:
* reconfigure network to be "hostonly" instead of "bridged" - major
security issue
* install phpmyadmin & sqlite
* samba (very useful on the windows box, possibly others)
* configure git tools (script?)
* DEBUG <== that's a big one, setting it up for easy nobrainer debugging
would be a great help. Including CLI -- i'm having hard time debugging unit
tests.
An initial shell script
* auto-generated the SSH key and place it into the right dir
* git submodule update --init
Thanks!
On Sun, Mar 10, 2013 at 5:15 PM, Ori Livneh <ori(a)wikimedia.org> wrote:
Hello,
I'm in the process of re-working mediawiki-vagrant, which is a set of
scripts for provisioning a virtual machine for MediaWiki development. I'm
struggling to identify the best way of fetching mediawiki/core.
An ideal solution would have the following attributes:
- Fast.
- Includes .git metadata, to facilitate contribution of patches.
- Viable on slow network connections.
- Does not require a Gerrit account (to help newcomers get started quickly)
What I tried:
- A shallow (--depth=0) git-clone over HTTPS took around half an hour and
required transferring 272MB, with 200MB taken up by .git/objects/pack.
- The nightlies on
integration.mediawiki.org are small (18MB) and easy to
retrieve, but the most recent one is from December, and they don't contain
any .git metadata.
- The snapshots Krinkle maintains on the toolserver are both small and
up-to-date, but they too do not contain any .git metadata.
- The snapshot link on
http://www.mediawiki.org/wiki/Download (
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=snapshot;h=ref…)
just didn't work. It hangs for a while and then spits out HTML.
- Getting a snapshot from GitHub would probably work, but I am loathe to
depend on it.
Does anyone have any suggestions?
--
Ori Livneh
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l