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

Add support for building snaps #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

popey
Copy link

@popey popey commented Dec 13, 2018

Hi. I recently discovered legit. As someone who is very lazy about putting the correct licenses in things I make, this has made a real difference to me. So thank you for making it!

This pull request enables creation of a snap package of legit. The single snap (built for many architectures) in the Snap Store will be installable on numerous popular Linux distributions with no changes. It’ll also be discoverable via the Snap Store, where releases are under your control.

If you're willing to publish this under the legit project name, you just need to create an account and then register the legit name.

A snap file created by snapcraft (our free software tool for building snaps) can then be released in the Snap Store with snap push --release stable *.snap. You'll want to install snapcraft (brew install snapcraft, snap install snapcraft, or apt install snapcraft) and login (snapcraft login) first, though.

You may also want to consider using https://build.snapcraft.io/ which is a free build service, that can create armhf, amd64, i386, arm64 and other builds of legit, and push them to the store automatically. Alternatively it’s possible to integrate publishing the snap via a third party CI system such as travis or circle-ci.

I appreciate snaps and snapcraft may be a new thing to you, so I’d be happy to answer any questions you may have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant