All of lore.kernel.org
 help / color / mirror / Atom feed
* Bootstraper for Git Dev Environment for Windows (Light version)
@ 2007-08-05 11:00 Dmitry Kakurin
  2007-08-05 12:27 ` Johannes Schindelin
  2007-08-07 20:18 ` Nguyen Thai Ngoc Duy
  0 siblings, 2 replies; 6+ messages in thread
From: Dmitry Kakurin @ 2007-08-05 11:00 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-16  9:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-05 11:00 Bootstraper for Git Dev Environment for Windows (Light version) Dmitry Kakurin
2007-08-05 12:27 ` Johannes Schindelin
2007-08-05 12:51   ` Dmitry Kakurin
2007-08-05 13:51     ` Johannes Schindelin
2007-08-16  9:06   ` Johannes Sixt
2007-08-07 20:18 ` Nguyen Thai Ngoc Duy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.