-
-
Notifications
You must be signed in to change notification settings - Fork 403
snap #281
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
snap #281
Conversation
Includes a snapcraft.yaml to build [snap](https://snapcraft.io/). I still need to make some changes to the snap configuration but here's what i have so far. # Prep sudo snap install snapcraft --classic sudo snap install multipass --beta --classic
cla signed. |
Hi @mikeroyal, providing the CLI package via Snap is something on the roadmap so this PR is gold, thanks! There's one thing I'd like to discuss before merging: we were planning to use goreleaser to be able to support multiple distribution channels with one single tool to ease maintenance. Since I'm no snap expert, It'd be great if you could have a look at the Snap specific section of their docs to see if your work can be integrated with it. |
Hi @masci, goreleaser is indeed supported for snap. https://goreleaser.com/snapcraft/ |
@mikeroyal do you think you can take a stab at using gorelaser to make the snap? Otherwise I can start playing with it and we can add snap later. |
@masci, I'll work on it over the weekend. |
Still need to configure some variables but the general description and layout for the snap is setup in the .yml file.
@mikeroyal we merged a working goreleaser config file on |
Hi @masci, will do and thank you for creating the goreleaser config file with all the requirements it makes adding the snap section a lot easier. |
Removing as their is already a working version in the master.
Hi @masci, I tried rebasing and GitHub was giving me an error. I'll again tomorrow but in the mean time here's the snapcraft section for the goreleaser.yml file if you want to take a look at it.
|
Hi @mikeroyal , Please note that we had to change our approach on using goreleaser in the last months (i.e. to support notarization in our CI) so, we do not use goreleaser packaging features anymore. |
Hi @rsora, I saw that update so it looks like you are using GitHub Actions? If so that actually works well for snaps. Snaps can now easily integrate with GitHub Actions to automate the whole process. |
Hi @mikeroyal, @manchoz already managed to distribute the Arduino CLI as a snap: https://github.com/manchoz/arduino-cli-snap If you are ok with it I think we can close this one. |
Hi @mikeroyal as already said, you can collaborate with @manchoz to maintain the arduino-cli snap package. |
Includes a snapcraft.yaml to build snap. I still need to make some changes to the snap configuration but here's what i have so far.
Prep
sudo snap install snapcraft --classic
sudo snap install multipass --beta --classic