Skip to content

Add Vagrant support (easy Linux VM setup) - #159

Merged
dscho merged 2 commits into
git-for-windows:masterfrom
dscho:vagrant
May 25, 2015
Merged

dscho merged 2 commits into
git-for-windows:masterfrom
dscho:vagrant

Conversation

@dscho

@dscho dscho commented May 25, 2015

Copy link
Copy Markdown
Member

It turned out pretty useful already when we were developing Git for Windows in the msysGit context to be able to compare our Git version to a Linux Git, built from the very same revision and running on the same machine. Vagrant is really ideal to offer that support, so let's just port msysGit's Vagrantfile to the new Git for Windows.

dscho added 2 commits May 25, 2015 10:55
This bug was found when testing the Vagrant setup.
When developing Git for Windows, we always have to ensure that we do not
break any non-Windows platforms, e.g. by introducing Windows-specific code
into the platform-independent source code.

At other times, it is necessary to test whether a bug is Windows-specific
or not, in order to send the bug report to the correct place. Having
access to a Linux-based Git comes in really handy in such a situation.

Vagrant offers a painless way to install and use a defined Linux
development environment on Windows (and other Operating Systems). We offer
a Vagrantfile to that end for two reasons:

1) To allow Windows users to gain the full power of Linux' Git

2) To offer users an easy path to verify that the issue they are about
   to report is really a Windows-specific issue; otherwise they would
   need to report it to [email protected] instead.

Using it is easy: Download and install https://www.virtualbox.org/, then
download and install https://www.vagrantup.com/, then direct your
command-line window to the Git source directory containing the Vagrantfile
and run the commands:

	vagrant up
	vagrant ssh

See https://github.com/git-for-windows/git/wiki/Vagrant for details.

As part of switching Git for Windows' development environment from msysGit
to the MSys2-based Git SDK, this Vagrantfile was copy-edited from msysGit:

	https://github.com/msysgit/msysgit/blob/0be8f2208/Vagrantfile

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho self-assigned this May 25, 2015
dscho added a commit that referenced this pull request May 25, 2015
Add Vagrant support (easy Linux VM setup)
@dscho
dscho merged commit fb591ab into git-for-windows:master May 25, 2015
@dscho
dscho deleted the vagrant branch May 25, 2015 17:27
nalla pushed a commit that referenced this pull request May 27, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jun 10, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jun 17, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jun 25, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jul 18, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jul 30, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Aug 31, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Sep 10, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Sep 18, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Sep 29, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Oct 5, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Oct 19, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Nov 9, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Dec 11, 2015
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jan 5, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jan 28, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Feb 6, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Feb 23, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Mar 15, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Mar 18, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jul 23, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jul 23, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jul 23, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jul 27, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jul 27, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Jul 29, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Aug 2, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Aug 2, 2016
Add Vagrant support (easy Linux VM setup)
dscho pushed a commit that referenced this pull request Aug 2, 2016
Add Vagrant support (easy Linux VM setup)
dscho pushed a commit that referenced this pull request Aug 2, 2016
Add Vagrant support (easy Linux VM setup)
dscho pushed a commit that referenced this pull request Aug 5, 2016
Add Vagrant support (easy Linux VM setup)
dscho pushed a commit that referenced this pull request Aug 6, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Aug 10, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Aug 10, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Aug 11, 2016
Add Vagrant support (easy Linux VM setup)
dscho added a commit that referenced this pull request Aug 11, 2016
Add Vagrant support (easy Linux VM setup)
Comment thread Vagrantfile
PROVISION

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Start with a 64-bit Ubuntu 12.04 "Precise Penguin" box

This comment was marked as off-topic.

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants