vmware-archive/fly

Fly should have a nicer installer on macOS

Closed this issue · 4 comments

According to this the homebrew tap is deprecated, but the recommended alternative (clicking the download link on the ATC) gets me a read-only file called fly in my ~/Downloads directory which macOS Finder (Sierra 10.12.2) thinks is a text file. This is not ideal.

Either a working homebrew formula or a macOS installer .pkg file (which would install fly into a location in my $PATH, set it executable) would be a nicer first-run experience.

Hi there!

We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

The current status is as follows:

  • #136488633 Fly should have a nicer installer on macOS

This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

Two complications:

  • How are we supposed to know what is in your PATH? How are we supposed to know a reasonable location for you to want to place this executable binary?
  • Homebrew is a poor solution since we don't want you to just download the latest. It should be the one tied to your concourse installation.

What you download is an executable, it just hasn't had its executable bit set on it (which is why you need to chmod +x).

If you know of any binary-only installers, I'd be interested in looking at them for reference. As far as I know of, I've only seen "Drag this .app to /Applications"

If you want to create a .pkg, you can apparently do that with pkgbuild and this implies /usr/local/bin will always be in the path on modern macOS systems. If it's not, you can add it (maybe in /etc/profile?) in a postinstall script that is part of your pkg.