Skip to contentSkip to conversation

Customizing the WinGit installer

PATCH In review Petr Baudis 11 participants 23 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Customizing the WinGit installer

This patch is intended just as a FYI example on customizing the WinGit installer for e.g. corporate deployment or similar needs, as a starting point in case anyone needs to do that.

This patch removes some steps redundant for our usage scenario (choose of the $PATH mode, showing release notes), slightly customizes the default Git configuration and changes the quickstart icon from Git Bash to Git GUI (this one might be worth considering for upstream too, especially after stock git-gui gains the remotes management support).

---

etc/gitconfig +9 -0
index 251088c..d0e8e53 100644
@@ -5,3 +5,12 @@
 	diff = auto
 [pack]
 	packSizeLimit = 2g
+[locator "Server"]
+	template = M:/public_git/%s
+[locator "Library"]
+	template = git://lib.example.com/%s
+[gui]
+	remotelocator = Server
+	pulllocator = Library
+	pushlocator = Server
+	autoexplore = true
share/WinGit/install.iss +5 -138

183 lines not on this page · raw message

#1 lore raw

Hi,

Quoted 1 line · Petr Baudis

-InfoBeforeFile=gpl-2.0.rtf

I'd rather keep it in, especially in a corporate environment.

Ciao,
Dscho

#2 lore raw

Hi,

Quoted 5 lines · Johannes Schindelin
Quoted 1 line · Petr Baudis

-InfoBeforeFile=gpl-2.0.rtf

I'd rather keep it in, especially in a corporate environment.

why? How is it relevant for the users?

(Corporate environment or not, I actually never understood showing GPL
in the installers. It always seemed to me that people just feel the need to fill the space where the EULA usually appears. ;-)

Petr "Pasky" Baudis

#3 lore raw

Hi,

Quoted 10 lines · Petr Baudis

Hi,

Quoted 5 lines · Johannes Schindelin
Quoted 1 line · Petr Baudis

-InfoBeforeFile=gpl-2.0.rtf

I'd rather keep it in, especially in a corporate environment.

why? How is it relevant for the users?

To give them an idea about their _rights_. Because they are entitled by the GPL to get -- in source -- the changes that were done to that particular distributions.

Speaking from experience, companies usually do not want to tell you about your rights with regard to free software.

And in this case, I have a personal interest. I feel that my efforts to the msysGit project are not really rewarded. People like to use it, but they hardly give anything back (you being a very notable exception).

Ciao,
Dscho

#4 lore raw

Hi,

Quoted 10 lines · Johannes Schindelin

To give them an idea about their _rights_. Because they are entitled by the GPL to get -- in source -- the changes that were done to that particular distributions.

Speaking from experience, companies usually do not want to tell you about your rights with regard to free software.

And in this case, I have a personal interest. I feel that my efforts to the msysGit project are not really rewarded. People like to use it, but they hardly give anything back (you being a very notable exception).

Maybe this is a little of a misunderstanding. This is not a "consumer"
aimed customized Git version. This is for internal Git usage within the corporation, the users have varying interest in Git but it is generally very low, they just regard it as another tool and they will never hack or customize it; I just don't see a point in bothering them with another extra installation step. Maybe in more general Git distribution I would agree this change indeed is not that appropriate (even though in my own GPL'd project, I wouldn't add the GPL step to the installer anyway).

Signature · 3 lines
				Petr "Pasky" Baudis
People who take cold baths never have rheumatism, but they have
cold baths.
#5 lore raw
In reply to Johannes Schindelin
Quoted 14 lines · Johannes Schindelin
Quoted 8 lines · Petr Baudis
Quoted 5 lines · Johannes Schindelin
Quoted 1 line · Petr Baudis

-InfoBeforeFile=gpl-2.0.rtf

I'd rather keep it in, especially in a corporate environment.

why? How is it relevant for the users?

To give them an idea about their _rights_. Because they are entitled by the GPL to get -- in source -- the changes that were done to that particular distributions.

Quoted 6 lines

Speaking from experience, companies usually do not want to tell you about your rights with regard to free software.

And in this case, I have a personal interest. I feel that my efforts to the msysGit project are not really rewarded. People like to use it, but they hardly give anything back (you being a very notable exception).

Wouldn't it be better to keep it, but move it from EULA position to for example 'License' item in 'Help' entry (below 'About') in gitk and git-gui? IIRC there was a lot of controversy about Firefox using EULA, although MS Windows users are most probably used to it...

Signature · 3 lines
Jakub Narebski
Poland
ShadeHawk on #git
#6 lore raw

Hi,

Quoted 5 lines · Jakub Narebski

Wouldn't it be better to keep it [showing the GPL], but move it from EULA position to for example 'License' item in 'Help' entry (below 'About') in gitk and git-gui? IIRC there was a lot of controversy about Firefox using EULA, although MS Windows users are most probably used to it...

Well, I consider it a courtesy to the msysGit people to leave it where it is. Of course, this is free software and you are free to disregard my wish.

Ciao,
Dscho

#7 lore raw
Quoted 3 lines · Johannes Schindelin

Well, I consider it a courtesy to the msysGit people to leave it where it is.

Umm. I consider it to be UNACCEPTABLY STUPID to claim "courtesy" if it actually makes something just more irritating to users.

I absolutely detest clicking through EULA's or other self-serving crap. I hate software that bothers me with their license details. Nobody reads those things anyway, and an extra click or an extra window I didn't ask for - _especially_ in open source software - is just a bug.

Bugs aren't "courtesy". Not to the user, and certainly not to the developer.

Linus

#8 lore raw

Linus Torvalds <[email protected]> writes:

[...]

Quoted 4 lines

I absolutely detest clicking through EULA's or other self-serving crap. I hate software that bothers me with their license details. Nobody reads those things anyway, and an extra click or an extra window I didn't ask for - _especially_ in open source software - is just a bug.

By coincidence, I recently bought an Asus EEE PC which comes with a Quick Use Guide whose first step on Launching First Run Wizard reads "Toggle 'I agree with this license' and click 'Next' to continue.", very sensibly not bothering to suggest that the user read the license.

[...]

#9 lore raw
In reply to Linus Torvalds

Hi,

Quoted 8 lines · Linus Torvalds
Quoted 3 lines · Johannes Schindelin

Well, I consider it a courtesy to the msysGit people to leave it where it is.

Umm. I consider it to be UNACCEPTABLY STUPID to claim "courtesy" if it actually makes something just more irritating to users.

Quoted 7 lines

I absolutely detest clicking through EULA's or other self-serving crap. I hate software that bothers me with their license details. Nobody reads those things anyway, and an extra click or an extra window I didn't ask for - _especially_ in open source software - is just a bug.

Bugs aren't "courtesy". Not to the user, and certainly not to the developer.

It is not a bug. It is a message that tells the Windows user that this is GPLed software, and that they are free to copy it. Windows users (and developers on Windows are more of users than developers) are often not aware of that fact.

That is the reason why many Open Source projects do not bother on Linux, but do bother on Windows.

So I guess we simply disagree here.

Ciao,
Dscho

#10 lore raw
Quoted 7 lines · Johannes Schindelin

It is not a bug. It is a message that tells the Windows user that this is GPLed software, and that they are free to copy it. Windows users (and developers on Windows are more of users than developers) are often not aware of that fact.

That is the reason why many Open Source projects do not bother on Linux, but do bother on Windows.

It's pointless and harmful to present any non-relevant information for users. I simply hate programs that waste my precious seconds. I want it NOW, not soon. Developers can tell the license if they want to distribute it, but users do not need it at all.

Quoted 1 line

So I guess we simply disagree here.

I disagree VIOLENTLY with you. I've been utterly struck with this Windows crap here.. I spent a day installing stupid trivial software and answering pointless EULAs. I REALLY REALLY hate extra questions.. This is my 20th reboot..

Signature · 3 lines
Heikki Orsila
[email protected]
http://www.iki.fi/shd
#11 lore raw
Quoted 4 lines · Heikki Orsila

I disagree VIOLENTLY with you. I've been utterly struck with this Windows crap here.. I spent a day installing stupid trivial software and answering pointless EULAs. I REALLY REALLY hate extra questions..

Git installer should NOT ask you whether you agree with the license, but it merely shows you the license. (At least, it is what was decided half a year ago).

Quoted 1 line

This is my 20th reboot..

I am pretty sure that 20th reboot has nothing to do with how many times the license has been shown...

Dmitry

#12 lore raw
Quoted 9 lines · Dmitry Potapov
Quoted 4 lines · Heikki Orsila

I disagree VIOLENTLY with you. I've been utterly struck with this Windows crap here.. I spent a day installing stupid trivial software and answering pointless EULAs. I REALLY REALLY hate extra questions..

Git installer should NOT ask you whether you agree with the license, but it merely shows you the license. (At least, it is what was decided half a year ago).

It shouldn't even show that. Also, decisions can be changed..

Quoted 4 lines
Quoted 1 line

This is my 20th reboot..

I am pretty sure that 20th reboot has nothing to do with how many times the license has been shown...

Well, I've clicked through annoying "I accept" EULAs at least that many times already..

Signature · 3 lines
Heikki Orsila
[email protected]
http://www.iki.fi/shd
#13 lore raw
In reply to Dmitry Potapov
Quoted 9 lines · Dmitry Potapov
Quoted 4 lines · Heikki Orsila

I disagree VIOLENTLY with you. I've been utterly struck with this Windows crap here.. I spent a day installing stupid trivial software and answering pointless EULAs. I REALLY REALLY hate extra questions..

Git installer should NOT ask you whether you agree with the license, but it merely shows you the license. (At least, it is what was decided half a year ago).

FWIW, the only reason *installers* ever show licenses is because they want to give you *additional* restrictions on top of normal copyright, and making you "click through" the license before using the application might (or might not) make those restrictions more legally enforceable than simply including that license along with the program.

Installers don't show you the license to increase visibility; they do it for legal reasons.

The most visible place to put a license is in either a splash screen or a Help|About dialog. If I'm using a program and I want to know the license, that's where I look.

This whole discussion is silly because end users, who are the ones we claim to be worried about, will not be the ones running the installer anyway at a large company. It'll be the IT department guy, who already knows the license and will have to run the installer 500 times. And if it's not a large company, individuals will see the license when they go to download the software.

Have fun,

Avery

#14 lore raw
In reply to Johannes Schindelin
Quoted 15 lines · Johannes Schindelin

Hi,

Quoted 11 lines · Linus Torvalds
Quoted 2 lines · Johannes Schindelin

Well, I consider it a courtesy to the msysGit people to leave it where it is.

Umm. I consider it to be UNACCEPTABLY STUPID to claim "courtesy" if it actually makes something just more irritating to users.

I absolutely detest clicking through EULA's or other self-serving crap. I hate software that bothers me with their license details. Nobody reads those things anyway, and an extra click or an extra window I didn't ask for - _especially_ in open source software - is just a bug.

Quoted 7 lines
Quoted 2 lines

Bugs aren't "courtesy". Not to the user, and certainly not to the developer.

It is not a bug. It is a message that tells the Windows user that this is GPLed software, and that they are free to copy it. Windows users (and developers on Windows are more of users than developers) are often not aware of that fact.

Well, maybe so called "Windows pseudo-developers" do not feel welcome to participate to this particular project? Or maybe this project has not reached yet the minimum visibility threshold? git has a lot of contributors on Linux because it is visible there. Do you think all users of git on Linux systematically contributes?

Don't get me wrong, I am truly thankful for msysgit but, IMHO, if you produce and publish a free software you should just accept and be glad that it is used. Otherwise, just don't publish it.

Quoted 2 lines

That is the reason why many Open Source projects do not bother on Linux, but do bother on Windows.

And a lot other projects do not bother with this even on Windows and Mac too.

Regards,
Abdel.

#15 lore raw
In reply to Johannes Schindelin
Quoted 2 lines · Johannes Schindelin

It is not a bug.

If it's unwanted functionality, that's a bug. That's kind of the whole (and only) difference between "bug" and "feature". Do people want it?

And Petr made it clear that he didn't want it. And I can certainly understand why - so it's not just some confused user. As such, it's clearly not a feature, and is clearly a bug.

Linus

#16 lore raw
Quoted 7 lines · Linus Torvalds
Quoted 2 lines · Johannes Schindelin

It is not a bug.

If it's unwanted functionality, that's a bug. That's kind of the whole (and only) difference between "bug" and "feature". Do people want it?

It looks like you have changed your opinion since what you wrote half a year ago.

Quoted 5 lines · Back then you

Yeah. Why not just rather than the whole ok/cancel discussion, go with a single button saying "good for me!" and be done with it.

IOW, the license thing should be considered *informational* rather than a choice. Because to a user, that's exactly what the GPL is.

http://article.gmane.org/gmane.comp.version-control.msysgit/1677

Also, please, re-read what Junio said in this thread:

"I think removing the license dialog is a bad idea. You need to tell the end-user about his rights, and one of the things is that he can get source to git under the terms of GPLv2. The bug is not about showing the license, but is about refusing to install unless the end user agrees with it."

I think such a step as removing the license should be approved by Junio and not be taken behind his back as it's happening now.

Dmitry

#17 lore raw
Quoted 3 lines · Dmitry Potapov

It looks like you have changed your opinion since what you wrote half a year ago.

Back then, nobody had really complained and sent in a patch to make it optional.

That changes things. Once some user actually complains, and sends in a fix to make the whole dialog optional, I don't see why anybody would ever argue against such a patch being accepted.

Linus

#18 lore raw
Quoted 4 lines · Linus Torvalds

That changes things. Once some user actually complains, and sends in a fix to make the whole dialog optional, I don't see why anybody would ever argue against such a patch being accepted.

First, he did not complain. He did not even mention that in the commit message. He mentioning some other things like removing release notes, but not the license. Second, I would expect that any change that goes against the previous achieved agreement may deserve some discussion, and not blindly accepted just because the user sent a patch. Okay, I don't really care whether the installer shows the license or not... Perhaps, something like Help|License would be a better place for it.

Dmitry

#19 lore raw
Quoted 8 lines · Dmitry Potapov
Quoted 4 lines · Linus Torvalds

That changes things. Once some user actually complains, and sends in a fix to make the whole dialog optional, I don't see why anybody would ever argue against such a patch being accepted.

First, he did not complain. He did not even mention that in the commit message.

What does that matter? People are complaining now.

Quoted 4 lines

He mentioning some other things like removing release notes, but not the license. Second, I would expect that any change that goes against the previous achieved agreement may deserve some discussion, and not blindly accepted just because the user sent a patch.

Are you thinking this is some kind of decision by committee organization? NO. Patches are picked up by maintainers. Anyone can comment on the patches as they are published.

Quoted 2 lines

Okay, I
don't really care whether the installer shows the license or not...

Then why argue about it? I care very much.

Signature · 3 lines
Heikki Orsila
[email protected]
http://www.iki.fi/shd
#20 lore raw
In reply to Linus Torvalds
Quoted 11 lines · Linus Torvalds
Quoted 3 lines · Dmitry Potapov

It looks like you have changed your opinion since what you wrote half a year ago.

Back then, nobody had really complained and sent in a patch to make it optional.

That changes things. Once some user actually complains, and sends in a fix to make the whole dialog optional, I don't see why anybody would ever argue against such a patch being accepted.

Note that as mentioned in the original mail, my patch was not meant for application upstream, just as an example for others who would like to customize the Git installer for a particular environment. We wanted to make Git installation/usage as simple as possible, reducing any unnecessary steps we could - and this was an easy one.

I don't think the idea of showing GPL during installation makes a lot of sense on its own, but I don't care much either and clicking through licences and EULAs in wizards is a fact of life on Windows, sadly. At least it doesn't require you to scroll down through the licence as IIRC OpenOffice or GIMP or a similar beast did.

Signature · 3 lines
				Petr "Pasky" Baudis
People who take cold baths never have rheumatism, but they have
cold baths.
#21 lore raw
Quoted 5 lines · Petr Baudis

Note that as mentioned in the original mail, my patch was not meant for application upstream, just as an example for others who would like to customize the Git installer for a particular environment. We wanted to make Git installation/usage as simple as possible, reducing any unnecessary steps we could - and this was an easy one.

I do not personally think showing the license is necessary in the installer, but unlike the earlier one that refused to proceed until the user says "I Accept" (which was just plain silly), I think the current one is Ok.

The details are entirely up to people who have actually been involved in msysgit packaging work, but it may be possible to package an installer that can be used for installing multiple machines with minimum interaction, and make the process of extracting that installer show notices on licensing and legalese.

#22 lore raw
In reply to Linus Torvalds
Quoted 6 lines · Linus Torvalds

I absolutely detest clicking through EULA's or other self-serving crap. I hate software that bothers me with their license details. Nobody reads those things anyway, and an extra click or an extra window I didn't ask for - _especially_ in open source software - is just a bug.

I'll just jump in and add my (admittedly inexperienced) $0.02 - namely, my confusion as to why the GPL would be displayed in place of a EULA when ...it's not a EULA. It is not about how the software may be used at all:

Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.