translationCore icon indicating copy to clipboard operation
translationCore copied to clipboard

Prompt for missing git on MacOS install is broken

Open PhotoNomad0 opened this issue 5 years ago • 3 comments

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

PhotoNomad0 avatar Dec 12 '20 12:12 PhotoNomad0

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...

RUN-Projects avatar Jan 05 '24 22:01 RUN-Projects

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!

RUN-Projects avatar Jan 10 '24 15:01 RUN-Projects

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

PhotoNomad0 avatar Jan 10 '24 18:01 PhotoNomad0