-
Notifications
You must be signed in to change notification settings - Fork 380
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
Remove dependency on zip #115
Comments
I just want to note that this is a good suggestion and I still have it in mind. Thank you! I am still hesitating because it is more work than it looks on the first glance. |
Is it 'more work' because many things need to be changed or just because of the effects it might have?
Did you find any particular issue with tar? I found the following to be quite portable: mkdir $TARGET_PATH
curl -fsSL https://codeload.github.com/mviereck/x11docker/tar.gz/master | tar xzf - --strip-components=1 -C $TARGET_PATH |
The If an option like e.g. If
I rarely used I could create a bunch of different containers based on as much different systems as possible and check |
I have included Thanks for your suggestion! |
I just tested it and it works great. Thanks! |
Thanks for the feedback! |
Currently unzip is required in order to install x11docker:
The check is done in https://github.com/mviereck/x11docker/blob/master/x11docker#L1084, and
unzip
is used in https://github.com/mviereck/x11docker/blob/master/x11docker#L1100. In between, the repo is downloaded in zip format.There are two issues here:
https://codeload.github.com/mviereck/x11docker/zip/master
is used to download--update-master
, buthttps://github.com/mviereck/x11docker/archive/$Releaseversion.zip
is used for--update
. Why not use the same for both? According to Support codeload.github.com adobe/git-server#5, I'd suggestcodeload.github.com
.tar.gz
archives are also available in the same location (e.g. https://codeload.github.com/mviereck/x11docker/tar.gz/master or https://codeload.github.com/mviereck/x11docker/tar.gz/v5.3.3). Sincetar
is more common thanunzip
in GNU/Linux environments, I suggest supporting it. Furthermore, I'd trytar
by default and fall back tozip
if not found.The text was updated successfully, but these errors were encountered: