Bootstraper for Git Dev Environment for Windows (Light version)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please give it a try and tell me how it works for you:
http://msysgit.googlecode.com/files/GitMe-1.exe (1.6 MB)

Here is the idea that this installer implements:
Now that we have both msysGit and mingw git as .git repositories here is what we can do:
* Create a small bootstrap download with git-clone and it's dependencies
* After you download and run it, it will first clone msysGit repository
* Then it will clone mingw.git repository
* Start msys and run 'make install' for git
* Clear leftovers of bootstrap

There are huge advantages IMHO:
* the bootstrap download is very small (1.6MB) and will (almost) never change
* msysGit will not contain git sources at all (this causes very inconvenient overlap between 2 repositories right now)
* after initial setup process user will be left with 2 fully-functioning repositories (msysGit and git), so staying up to date with both mingw.git and msys dev/build environment will be trivial: just use git pull for both.

If we want to stick with this installer here is what we need to do:
* Remove /git directory from msysGit.git
* Bring mingw.git up to date so we can remove patching step from installer

If you want to change it/see how it works internally do the following:
* start the GitMe.exe
* answer yes to popup dialog
* cmd window will open and ask you for installation directory, don't enter anything, just leave this window alone

At this point all installer files will be unpacked in %temp%\RarSFX0\GitMe.
Setup.cmd is the one to look at/tweak.

To repack just use any compressor that can create SFX archives that can also start a file execution. I've used WinRAR.
But the whole idea is that this bootstrap download should require very little/no tweaking. All changes should happen in msysgit.git and mingw.git.

- Dmitry

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux