Success

User tests: Successful: Unsuccessful:

avatar peterpeter
peterpeter
7 Nov 2015

As I'm obviously the only windows user with using 'git' instead of 'git.exe' command, so this fix is only for me ;) And of course for the other possible windows-user in future with the same git configuraton.

Testinstruction:

On clone the jommla-cms:
For all 'windows/git.exe' users it should work as ususal.
For me as 'windows/git' user the 'switch' works.

Sidenote:

The 'unnecessery' if/else structure is to avoid confusing console output as much as possible.

avatar peterpeter peterpeter - open - 7 Nov 2015
avatar javigomez
javigomez - comment - 9 Dec 2015

I need Windows reviewers here. Can I get your thoughts @compojoom, @yvesh or @Kubik-Rubik ?

thanks

avatar Kubik-Rubik Kubik-Rubik - assigned - 9 Dec 15
avatar compojoom
compojoom - comment - 9 Dec 2015

This is something I've been wondering when we were working on the scripts. For me both git and git.exe works. So why are we going through all the troubles with git.exe? Are there windows installs, where git is not working?

avatar javigomez
javigomez - comment - 16 Dec 2015

@peterpeter could you confirm that executing git with git(instead of git.exe) fails in your Windows machine.

avatar peterpeter
peterpeter - comment - 16 Dec 2015

@javigomez No, otherwise:
As you can read in my initial comment, only 'git' works on my machine. The (windows) common 'git.exe' don't work for me. This fix simply checks on windows, if 'git.exe' as command is available/usable, if not it switches to 'git'.

It seems that there are three possible scenarios for windows:

  • only git
  • only git.exe
  • both

And this fix should catch them all

avatar chrisdavenport
chrisdavenport - comment - 25 Jun 2016

Seems harmless, if somewhat bizarre. But then that's Windows for you. I'm inclined to just merge it.

avatar chrisdavenport chrisdavenport - reference | bf118c4 - 25 Jun 16
avatar chrisdavenport chrisdavenport - merge - 25 Jun 2016
avatar chrisdavenport chrisdavenport - close - 25 Jun 2016
avatar yvesh
yvesh - comment - 25 Jun 2016

@chrisdavenport Most of that RoboFile functionality is going to be outsourced into a different joomla project. All other related RoboFile PRs are mostly just reminders or need some improvements before they can be merged. So i suggest you just close them, we can integrate them later.

Add a Comment

Login with GitHub to post a comment