-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
package as a snap/flatpak package? #8
Comments
Hi @jawz101 and welcome here! A simple Will think about your thought and will inform you if it's possible or not! Have a nice day/night and thanks for this issue! |
Back to this @jawz101, I tried snap but under Arch Linux I get Let's see about flatpak now 😸 |
@popey might be able to help with snap packaging. Sorry, Mr. Pope. You don't know me but I'm a huge fan of Ubuntu podcast & LUP. |
Would you accept a pull request with a
|
@jawz101 @popey Pull requests are always open but keep in mind that we are working in the Also:
|
Thanks for the quick reply. What I made was just a quick prototype I made when I got the ping, and may not fully work (sorry, I'd not heard of your project before the ping, but I'm sure it's awesome) :D. So it would be good to have some test cases and expected outcomes so I could work out any kinks before committing.
Snaps are designed to be installed from the snap store where they're cryptographically signed by the store and go through some checks. If you have a snap which didn't go through the store review process then you can't be confident it isn't dangerous (contains malware) so the
Yes. You could use travis-ci or circle-ci to automate building on each commit. As an example, look at the offlineimap (another python app) travis config in our snapcrafters repo. Whenever someone commits there, it builds a snap for testing before we land it. We also provide a free build service which builds on each commit to the default branch.
I also do some automation locally when building some snaps.
Ideally, you would land a
Yes. Every commit could result in a build in the store which we call a |
@popey following may help you test it basically. But if you need a more deep test, you should test a file containing a list of domains. There are some in our If you run
you should get the same as our CI test result (dev branch) or CI test result (stable branch).
Okay so that means that we can only deliver the
So it's more convenient to submit to the store.
So to resume we can update our
I think this answer my previous question but does that means that the channel let us play with git branches?
That's great 👍 |
Just a side note on this (because I forgot about it at the time I did it), we have docker images. |
I was wondering if PyFunceble could be packaged as a snap package or flatpak. I'm not a python update expert and it looks like the documentation shows 3 ways to install and 3 ways to update depending on the python, pip or github way you do it. I just got a message that I needed to update my PyFunceble to a new version and I don't remember how I installed it in the 1st place :/
I hate to propose yet another way to implement it but if it was an isolated installation it could be packaged with its dependencies, its environment would be self-contained- regardless of Linux flavor, and updating would be as simple as "sudo snap refresh" which finds updates for any snaps that need updating.
Just a thought :)
The text was updated successfully, but these errors were encountered: