git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Bootstraper for Git Dev Environment for Windows (Light version)

From
DKDmitry Kakurin <dmitry.kakurin@gmail.com>
Date
Aug 5, 2007, 11:00 UTC
Message-ID
<2B8D8540264E4205BD1E4605770422BF@ntdev.corp.microsoft.com>

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
Next: Johannes Schindelin
Message 1 of 6 in “Bootstraper for Git Dev Environment for Windows (Light version)”
  1. Dmitry KakurinAug 5, 2007
  2. Johannes SchindelinAug 5, 2007
  3. Dmitry KakurinAug 5, 2007
  4. Johannes SchindelinAug 5, 2007
  5. Johannes SixtAug 16, 2007
  6. Nguyen Thai Ngoc DuyAug 7, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.