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

Change Installer Binaries to tar.gz for Mac and Linux #143

Open
josegomez opened this issue Apr 23, 2020 · 5 comments
Open

Change Installer Binaries to tar.gz for Mac and Linux #143

josegomez opened this issue Apr 23, 2020 · 5 comments
Labels
enhancement New feature or request installer Affects the Installer project linux Linux osx OSX
Milestone

Comments

@josegomez
Copy link
Collaborator

Some users have complained about having to set the executable bit on the binary downloads for the PlatformInstaller
One option that we dismissed earlier was to use tar.gz to upload, this preserves the executable bit and makes it marginally easier to execute the installer, though it does add the complexity of having to generate this tar gz file.

See below how it would work from a user perspective
TarGzip

Do we think this is worth it? (works the same for Mac and Linux) windows would remain an exe

@josegomez josegomez added the question Further information is requested label Apr 23, 2020
@alexhauser
Copy link
Member

Hmmm, good question. It's a mess. But it would remove one extra step that could cause troubles for non tech-savvy users who also don't rtfm. So yes, everything that helps UX should probably be on our TODO list.

@alexhauser
Copy link
Member

@josegomez, I suppose we only close this one once we have 7-zip support baked into the script, right?

@alexhauser alexhauser added enhancement New feature or request and removed question Further information is requested labels Apr 26, 2020
@josegomez josegomez added installer Affects the Installer project linux Linux osx OSX labels Apr 29, 2020
@alexhauser alexhauser added this to the v0.1.3.0-beta milestone May 7, 2020
@dxcSithLord
Copy link

For Linux (not sure about MacOS), you can check that zip, or gzip, are installed - most distros have them by default, but you can use
sudo apt install gzip
to install gzip that will handle zip files
tar is on linux, I can nearly guarantee that, since most files at some point on Linux/Unix get tar'd (Tape ARchive)
To confirm/prerequisite:
sudo apt install tar

You may be starting to see a theme here.

@alexhauser
Copy link
Member

alexhauser commented May 11, 2020

Are there really any relevant distros (apart from do-it-yourself distros like LFS etc. ) that doesn't support tar out of the box? I would be shocked.

@josegomez
Copy link
Collaborator Author

josegomez commented May 11, 2020

@dxcSithLord this issue isn't one of the code at all is just a reminder for us to update your build scripts to use tar.gz compression to preserve executable bit.
Nothing to fix (other than the build scripts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request installer Affects the Installer project linux Linux osx OSX
Projects
None yet
Development

No branches or pull requests

3 participants