Hi Lars,
On Fri, 8 Jan 2016, Lars Schneider wrote:
> On Friday, January 8, 2016 at 4:22:13 PM UTC+1, Johannes Schindelin wrote:
> >
> > On Fri, 8 Jan 2016, Lars Schneider wrote:
> >
> > > Microsoft, GitHub and Atlassian are all promoting Git-LFS [1] as a
> > > possible solution for large files in Git [2][3].
> > >
> > > Would you support to add the "git-lfs.exe" [3] to the "mingw??/bin"
> > > directory as part of Git for Windows?
> >
> > Git-LFS is written in Go, so it would be a bit of a challenge to build
> > the MSys2 package, no?
> >
> Git-LFS is in Go, correct. However, it runs out of the box in MSys2. I
> actually repackage your Git Distribution with Git-LFS for the engineers
> at my day job already.
Sure, but that does not solve the problem of easy rebuilding at all.
You see, over the past 8.5 years I spent an insane amount of energy to
make sure that anybody can rebuild as many parts of Git for Windows as
easily as possible. It has been an up hill battle against many a
contributor preferring the sloppy route, to be sure. Every time, though, I
have debug something tricky, I just congratulate myself for not giving in.
With Git LFS it is the exact same thing.
To become a part proper of Git for Windows, it would have to ship as an
MSys2/MinGW package, and that requires a proper build recipe (having said
that, there is a cheap work-around that GitHub uses to ship git-tfs as
part of the version of Git for Windows shipped via GitHub for Windows in
that it just rebundles the binary zip distributed by the Git TFS project
itself [*1*]).
So far I am convinced that Git for Windows should not follow that example.
For that reason I intend to provide the credential manager option purely
as an add-on.
> > Having said that, I plan to support downloading and installing the Git
> > Credential Manager [*1*] installer, as an "add-on", so to say. The
> > same might be possible with Git-LFS.
> >
> Interesting. How would I create/install such an "add-on"? Is this a
> solved problem already?
No, this is not solved. There is an add-on to InnoSetup that allows
downloading additional files, but I do not trust it and instead would want
to use the curl.exe we ship with Git for Windows anyway. Most likely as a
shell script to be run as an optional task at the end of the installation.
Ciao,
Dscho
Footnote *1*:
https://github.com/github/ghfw-build-extra/blob/master/git-tfs/PKGBUILD