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

First attempt to make a snap of t-rec #25

Merged
merged 1 commit into from
Dec 29, 2020
Merged

Conversation

popey
Copy link
Contributor

@popey popey commented Dec 29, 2020

Hi. I work on snapcraft for Canonical. Thought I'd take a stab at making a t-rec snap. This seems to work for me on Ubuntu.

t-rec

It's a classic (unconfined) snap, because it needs to be able to launch any arbitrary binary on the end-user system. If you're happy with this, I can either register and get this published in the snap store, and maintain it, or I can guide you to do that. Your choice. :D

@sassman
Copy link
Owner

sassman commented Dec 29, 2020

Very nice! Thanks a lot.
I wonder if there is away to automate the publishing of new releases as part of the CI/CD pipeline as done for brew

If so, I guess I'd prefer to have it integrated in the pipeline here. Do you know about it by heart maybe?

@popey
Copy link
Contributor Author

popey commented Dec 29, 2020

I believe you could do that, yes. snapcraft is in brew, and you could snapcraft upload a built snap. Actually building can be done with snapcraft too, which is how I built the snap locally. I don't have tremendous experience with this automation, sorry. Perhaps I can pull in @sergiusens or @cjp256 (when they/we are all back from company shudown on 4th Jan).

The other option is to just register at snapcraft.io, where we have a build system for i386,amd64,armhf,arm64,ppc64el and s390x. If you hook this repo up to that system, it will build on each commit, and you can then use snapcraft release or the webUI to release the builds.

@sassman
Copy link
Owner

sassman commented Dec 29, 2020

Nice, that it's so easy. I guess I will follow up with this an check if there is an existing github actions hook, to deal with the release creation on that platform you mentioned.

Thanks a lot for your contribution, again learned something about snaps!

@sassman sassman merged commit 412b43f into sassman:main Dec 29, 2020
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.

2 participants