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
Snaps packaging #251
Snaps packaging #251
Conversation
Changes Unknown when pulling 9efd53c on tian2992:master into ** on DenisCarriere:master**. |
@tian2992 Thanks for the PR, however what's a snap package? and how would this be used? Can you elaborate more on the purpose of snap packages (I must be out of the loop on this topic). |
Hello @DenisCarriere! Snapcraft is a new packaging format for all Linux distros, that we are developing in Ubuntu. You can read more here: https://snapcraft.io/ Once the snapcraft.yaml is in your master branch, you can just go to https://build.snapcraft.io to automate the continuous delivery of updates to the Ubuntu store. |
\o/ thanks for the merge @DenisCarriere. @tian2992 did this as part of a workshop during a Central American free software conference. Nice work, thanks to you too! The geocoder name is now registered in the store under @tian2992, which was an exercise we did to learn about publishing. But if you want to start publishing geocoder under your official name, I can make the transfer. @DenisCarriere you just need to fill this form, explaining that you are the original author: https://dashboard.snapcraft.io/dev/snaps/register-name/ pura vida |
Cheers! Thanks for accepting the PR!
…On Mon, 24 Jul 2017, 10:03 Leo Arias, ***@***.***> wrote:
\o/ thanks for the merge @DenisCarriere <https://github.com/deniscarriere>
.
@tian2992 <https://github.com/tian2992> did this as part of a workshop
during a Central American free software conference. Nice work, thanks to
you too!
The geocoder name is now registered in the store under @tian2992
<https://github.com/tian2992>, which was an exercise we did to learn
about publishing. But if you want to start publishing geocoder under your
official name, I can make the transfer. @DenisCarriere
<https://github.com/deniscarriere> you just need to fill this form,
explaining that you are the original author:
https://dashboard.snapcraft.io/dev/snaps/register-name/
pura vida
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#251 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMaQkMR8w_oPad6yXolK4NVWdDTKixiks5sRMA7gaJpZM4OgTGo>
.
|
👍 Yes if we could transfer the repo that would be great. |
Just let me know when you are done with the form, and I can click the button. |
Done. Please let us know if you have any issues with build.snapcraft.io. |
👍 |
So these snap packages are mostly for CLI based applications, correct? |
No, there are also GUI snaps. For example, try:
But it is not for libraries. After installing the geocoder snap, only the CLI script can be executed, it can't be imported from a python terminal. It's like we have virtualenv for development, and snaps for deployment. For your side right now, it only remains to suggest to your early adopters and contributors to give it a try with:
Then, when you are happy with the quality of a version and want to make it visible on user searches, you just run:
|
Doesn't seem to recognize the Does it work for you? $ snap install geocoder --edge --devmode
geocoder (edge) 1.23.2 from 'deniscarriere' installed
$ geocode
zsh: command not found: geocode |
The name of the command chosen by Sebastián is The name of the command is a combination of rules between the |
Perfect, thanks, it somewhat works now: Going to switch it back to Python2 and 🤞 it should work. This is pretty slick! I'll continue to maintain these builds for future releases and other projects.
|
@DenisCarriere you can make sure that the right encoding is before executing the Something like this:
|
👍 |
A first version to create a snap package.