scaleway-cli icon indicating copy to clipboard operation
scaleway-cli copied to clipboard

Study how to package CLI for linux distrib

Open jerome-quere opened this issue 5 years ago • 6 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

  • Do we want an apt package?
    • If yes could we use third party services such as https://packager.io ?

We should at least consider APT and Yum package.

@karibou do you have any insight on this?

jerome-quere avatar Jun 04 '20 10:06 jerome-quere

Hello, I think that having APT and DNF (YUM) repositories would be the best. There are now more exotic solutions like snap and flatpak but we're not sure of adoption yet and that might cause issue with some O/S versions. So I'm :heavy_plus_sign: for APT & DNF

karibou avatar Jun 05 '20 08:06 karibou

@karibou do you know any all-in-one solution that can help build and host an apt/dnf package form a GitHub repo ?

jerome-quere avatar Jun 05 '20 08:06 jerome-quere

We could also have the option to download binary directly. It seems to works well for hashicorp. All their download page offer a zip with the binary in it.

remyleone avatar Jun 09 '20 11:06 remyleone

Binary d/l is good but it doesn't allow for systematic upgrade. I think that apt + dnf (yum) is the simplest and broadest option

karibou avatar Jun 10 '20 06:06 karibou

Snap does not work on Windows Subsystem for Linux. Please do not release a snap package without first releasing a PPA for apt.

mslinn avatar Nov 28 '20 18:11 mslinn

Hello,

I'm bumping this issue, but now you can use snap inside a WSL instance: https://ubuntu.com/blog/ubuntu-wsl-enable-systemd . I think we can package it as a Snap and a PPA

SamirPS avatar Nov 16 '23 22:11 SamirPS