Prompt for missing git on MacOS install is broken
Story Explanation
User Story
When you install tCore on MacOS you get a prompt that you must install git first. This is broken in several ways:
- no matter which button you select tCore will launch without git (breaks upload).
- it prompts to install git - this is misleading because the user cannot install a git package themselves and have it work with tCore. They need to do
xcode-select --install
Suggested fix:
- change prompting
- change download git button to install xcode tools
- fix close translation core button so it actually does close tCore
Features / Specifications
- [ ]
- [ ]
- [ ]
Definition of Done
- [ ]
- [ ]
- [ ]
Additional Context
Mockups
Something similar is happening in Linux. That may have something to do with the permission of the user launching tCore. Need to sudo to install GIT...
Something similar is happening in Linux. That may have something to do with the permission of the user launching tCore. Need to sudo to install GIT...
Manually installing GIT prior to installing tCore makes this issue go away on Linux. I would venture to guess the same may be true on MacOS. This is an easy add to installation instructions until it is address!
Something similar is happening in Linux. That may have something to do with the permission of the user launching tCore. Need to sudo to install GIT...
Manually installing GIT prior to installing tCore makes this issue go away on Linux. I would venture to guess the same may be true on MacOS. This is an easy add to installation instructions until it is address!
Thanks for the feedback about Linux - we should create an issue for that also.
For MacOS a fix is more complicated due to security lockdown of the application search path in any UI apps - and git is locked down in a read-only partition as part of Xcode tools (which is hidden until you give permission to enable it). So even if you install an updated git using homebrew, macports, or even a manual installer it will only install an updated git to another folder and update the path in your shell to place it at the start so it will be loaded first. But in theory you could execute open translationCore from the console and it would use your updated git. Unfortunately you cannot change the path that UI apps are launched with by clicking on them - that path is locked down. It suppose we change tCore to search for another git if not found, but that complicates maintenance.
@birchamp