-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Provide Snap package #1068
Comments
Hi @mhall119 - have you built these sorts of things before (ie. that you are willing and able to help with this code to accomplish the task?) |
I have, I actually work for Canonical on Snap advocacy. It's Ruby that I don't know enough about. I've started on a package config for Mastodon here: mhall119@c0788ac It builds a snap with what appears to be all the necessary ruby and nodejs dependencies, but the call to ruby to run the service fails on a require for bundler/setup, which I don't see in the snap, even though the bundler module has been installed. |
You'll see that it's fairly similar to the Dockerfile (and simpler than the Vagrantfile), but I'm afraid I've reached the limit of my ability with this combination of languages and package managers. You can create a snap from that branch on Ubuntu 16.04 or newer, just run "snapcraft snap" inside the directory, then "snap install --dangerous mastodon_v1.0_amd64.snap" to install it. |
PR filed, a tiny one mhall119#1 Can you paste in the error message you got when this started up and it didn't quite work? I have a sneaking suspicion there's a hidden development dependency that we can find. Related: #1118 |
Also, are snaps designed to be cross-platform? I have an arm64 box that I'm working on, and the provided example hard-codes amd64 dependencies. |
Cross-platform, but not multi-arch. You would need different packages for arm64 and amd64. But we host a build service that can do them for you. |
Remove unused locale key
Merge upstream changes
I have created an all-in-one snap package for Mastodon. You can find it here: https://github.com/dhelonious/mastodon-snap At the moment the snap is only available via GitHub and for manual installation. I want to do some more testing (including arm64) before taking the next steps. |
Closing this as we do not plan to provide an official snap package. |
Provide a snap package through the Snap Store to easily install and update Mastodon. Snaps are like a light-weight docker that run natively on the host machine, get automatic updates when available, and run securely confined from the rest of the system.
https://snapcraft.io
The text was updated successfully, but these errors were encountered: