swcarpentry / windows-installer

Software Carpentry installer for Windows.
MIT License
21 stars 17 forks source link

swc-windows-installer.py: Add install_msysgit_binary and install Make #21

Closed wking closed 9 years ago

wking commented 10 years ago

The whole msysGit dev environment is large:

On Fri, Jun 13, 2014 at 01:22:01AM -0700, Mike Jackson wrote:

Disk space is cheap but 2GB is still a big ask - attendees laptops can be quite old and limited in terms of space.

And may be more difficult to install than the Git for Windows packaging

On Fri, Aug 15, 2014 at 12:46:21PM -0700, Ethan White wrote:

My concern with installing msysGit is that the installer process was substantially more complicated (at least the last time I looked 6-12 months ago). My concern is that folks will get hung up on all of the options and at best feel confused/overwhelmed and at worse not end up with a working install.

Since that simple option (replace Git for Windows with the full msysGit) isn't available, with this commit we just grab the Make executable from the msysGit repository. To make grabbing additional binaries easier, I've implemented this with the generic install_msysgit_binary. I've also pinned the download to the most recent tag (Git-1.9.4-preview20140815), to keep the sha1 from changing under our feet. However, the make.exe binary was last touched on 2012-01-26 and the last hash-changing commit was on 2007-08-06, so it's not exactly a high-churn target ;).

It would be nice if Windows came with a package manager (or even if msysGit was compatible with the upstream MSYS) so we didn't have to jump through all these hoops.

wking commented 10 years ago

Fixes #6 and swcarpentry/bc#533.

ethanwhite commented 9 years ago

Looks great. Tested on Windows 7.