Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the win installer more robust #496

Merged
merged 1 commit into from
Jan 6, 2016
Merged

Conversation

jankatins
Copy link
Contributor

User visible:

  • Also accept the git install path (and not the mingw64 subdir) as a user
    supplied install location. Make it the new default and warn the user if
    a mingw64 dir is supplied (=this dir is not checked, so it might be
    anywhere...)
  • Find git.exe in path and use that as an install location
  • Add error|status messages and output less noise (robocopy)
  • do some check if column.exe is not found...
  • adjust the installation text for windows...

not user visible:

  • more.exe does not work when used in a cmd which has a unicode codepage
    -> save the current codepage and set a sane default during the install
  • do some "magic" with quotes around path variables -> makes it work with
    pathes with spaces in it (both final git dir and the git-extra checkout)
  • Do not leak variables to the surrounding interpreter

User visible:
* Also accept the git install path (and not the mingw64 subdir) as a user
  supplied install location. Make it the new default and warn the user if
  a mingw64 dir is supplied (=this dir is not checked, so it might be
  anywhere...)
* Find git.exe in path and use that as an install location
* Add error|status messages and output less noise (robocopy)
* do some check if column.exe is not found...
* adjust the installation text for windows...

not user visible:
* more.exe does not work when used in a cmd which has a unicode codepage
  -> save the current codepage and set a sane default during the install
* do some "magic" with quotes around path variables -> makes it work with
  pathes with spaces in it (both final git dir and the git-extra checkout)
* Do not leak variables to the sourounding interpreter
@jankatins jankatins mentioned this pull request Jan 5, 2016
@jankatins
Copy link
Contributor Author

This probably clashes with #475

CC: @gisphm

@jankatins
Copy link
Contributor Author

BTW: would it make sense to ask the git for windows people to include column.exe in the installer?

@gisphm
Copy link
Contributor

gisphm commented Jan 5, 2016

@JanSchulz I think you have made a better one.:smile:
What I am trying to do in #475 is to combined the two "for" loops together. You can use it or not.
It would be great if 'column.exe' is distributed with Git for Windows.

@jankatins
Copy link
Contributor Author

I added a bug in git for windows to include column.exe: git-for-windows/git#586

@gisphm
Copy link
Contributor

gisphm commented Jan 6, 2016

👍

1 similar comment
@hemanth
Copy link
Collaborator

hemanth commented Jan 6, 2016

👍

hemanth added a commit that referenced this pull request Jan 6, 2016
Make the win installer more robust
@hemanth hemanth merged commit 2ef6df6 into tj:master Jan 6, 2016
@jankatins
Copy link
Contributor Author

column.exe seems to get included in the git for windows installer: git-for-windows/build-extra#92

@qw3rtman qw3rtman added this to the 4.1.0 milestone Jan 10, 2016
tardypad pushed a commit to tardypad/git-extras that referenced this pull request Jul 13, 2016
Make the win installer more robust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants