-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add the packaging metadata to build the parity snap #5496
Conversation
It looks like @ElOpio hasn'signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement at the following URL: https://cla.parity.io Once you've signed, plesae reply to this thread with Many thanks, Parity Technologies CLA Bot |
Hello! Here at Ubuntu we are working on snaps, a new packaging format that will let you publish your software directly to the official store without having to make a complex debian package, without having to land it in debian and without having to wait for the 6 months release cycle of ubuntu. You can automate the delivery of parity in a secure way, so your users get new versions following your own timeline. And very important to your use case is that all the users will get an automatic update every time you push a new revision. You can read more about snaps here: http://snapcraft.io/ To test this in an Ubuntu 16.04 machine:
(The --dangerous flag is because the snap that you build locally is not signed by the store. Once you push it to the store, your users will just have to do If you have any questions, please let me know. |
[clabot:check] |
It looks like @ElOpio signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works on my ubuntu server 16.4. Is it a hard requirement to put it in the snap/
subdirectory? Can we move it to scripts/
and tell snapcraft about the yaml file location?
Thank you for the contribution |
Thanks for trying it @5chdn ! It's not a hard requirement. I moved the yaml to scripts, but now you have to call snapcraft from that directory. I'll update the instructions in this PR. We are building a service for automatic builds in build.snapcraft.io. There it's a requirement to have the yaml either in the root, or in the snap dir. But we can talk about that later, and move back the yaml if you are interested in using it. For now, I would recommend you to push an initial snap to the edge channel in the store, so you can start experimenting: https://snapcraft.io/docs/build-snaps/publish The snaps in the edge channel are not visible in user searches, so it's great for early adopters and quick feedback. We can make a call for testing in the ubuntu community too to get more testers. pura vida |
Thanks for the merge @arkpar :D |
Oh, hey @General-Beck! I didn't notice you had already pushed the parity snap to the store back then in 15.04. Many things have changed when we reached the LTS. Is there something I can do to help you with the new snap? |
@ElOpio Tomorrow I will add to CI. And if there are questions, I will certainly turn to you for advice |
@ElOpio see pls https://build.snapcraft.io/user/paritytech/parity |
Sorry for the late reply @General-Beck. Take a look at #5781. |
@General-Beck @devops-parity can we please use c5c1978 ??? |
@5chdn the idea of moving it to snap/snapcraft.yaml is to use the build.snapcraft.io service for continuous delivery, instead of having to take care of building and publishing on your own CI system. |
@5chdn https://build.snapcraft.io/user/paritytech/parity |
That's fine as long as we remove the script from |
This package will let you publish the latest parity in the Ubuntu store, and from there reach many users on all the supported Ubuntu versions, and more Linux distributions in progress.