HOWTO: How to snap timg (text image viewer)

2017-02-28 Thread Simos Xenitellis
Hi All, Here is a tutorial on how to snap "timg", an image viewer for your terminal emulator (!?!), https://blog.simos.info/how-to-create-a-snap-for-timg-with-snapcraft-on-ubuntu/ It is another introductory tutorial that 1. describes an interesting utility (image view for text) 2. deals with a re

HowTo: How to make a snap package for lolcat with snapcraft on Ubuntu

2017-02-26 Thread Simos Xenitellis
Hi All, I wrote a tutorial on how to make a snap for a CLI utility called "lolcat", https://blog.simos.info/how-to-make-a-snap-package-for-lolcat-with-snapcraft-on-ubuntu/ I am trying a different style and I aim to show how to create a snap for four different implementations of lolcat (in Python,

Re: HowTo: How to create a snap for a Python app with networking using snapcraft in Ubuntu 16.04

2017-02-15 Thread Simos Xenitellis
On Mon, Feb 13, 2017 at 7:13 PM, Didier Roche wrote: > Le 10/02/2017 à 17:30, Simos Xenitellis a écrit : >> On Tue, Feb 7, 2017 at 3:54 PM, Didier Roche wrote: >>> Le 07/02/2017 à 14:05, Simos Xenitellis a écrit : >>>> On Tue, Feb 7, 2017 at 9:13 AM, Didier Roche w

Re: HowTo: How to create a snap for a Python app with networking using snapcraft in Ubuntu 16.04

2017-02-10 Thread Simos Xenitellis
On Tue, Feb 7, 2017 at 3:54 PM, Didier Roche wrote: > Le 07/02/2017 à 14:05, Simos Xenitellis a écrit : >> On Tue, Feb 7, 2017 at 9:13 AM, Didier Roche wrote: >>> Le 06/02/2017 à 10:56, Simos Xenitellis a écrit : >>>> Hi All, >>>> >>>> I

How to create a snap with snapcraft for howdoi (CLI utilility for stackoverflow)

2017-02-07 Thread Simos Xenitellis
Hi All! This is another tutorial for snapcraft. It reinforces the content of the previous how2 tutorial since they are both for similar tools, that require only the "network" plug. No GUI complexities yet. It's quite simple and helps to deal now with package management details on the Ubuntu Store.

Re: HowTo: How to create a snap for a Python app with networking using snapcraft in Ubuntu 16.04

2017-02-07 Thread Simos Xenitellis
On Tue, Feb 7, 2017 at 9:13 AM, Didier Roche wrote: > Le 06/02/2017 à 10:56, Simos Xenitellis a écrit : >> Hi All, >> >> I wrote an article about creating a snap for an existing Python >> program using the new snapcraft 2.26. Then, I uploaded to the Ubuntu >> Sto

How to create a snap for how2 (stackoverflow from the terminal) in Ubuntu 16.04

2017-02-07 Thread Simos Xenitellis
Hi All, This is a complete tutorial on snapping "how2", a nodejs command-line tool that searches for you on StackOverflow, and just outputs what was selected as the correct answer. Being a nodejs program, it is messy to install with all the dependencies. So it was a very good candidate for snappi

HowTo: How to create a snap for a Python app with networking using snapcraft in Ubuntu 16.04

2017-02-06 Thread Simos Xenitellis
Hi All, I wrote an article about creating a snap for an existing Python program using the new snapcraft 2.26. Then, I uploaded to the Ubuntu Store. I am looking forward to receiving feedback :-) Link: https://blog.simos.info/how-to-create-a-snap-for-a-python-app-with-networking-using-snapcraft-

When launching a snap from Ubuntu Software, it may not pick our intended command (if are many)

2017-02-03 Thread Simos Xenitellis
Hi All, When launching a snap from Ubuntu Software ('Launch' button), there is the issue which command (from snapcraft.yaml) it should use to start the program. The intuitive way would be to use the first command specified in snapcraft.yaml. However, it appears that somehow the list of commands is

Channel switching issue

2017-02-03 Thread Simos Xenitellis
Hi All, When trying to switch channel for a snap, it fails of both channels have an identical snap. The channel switching is controlled with 'snap refresh', so if a refresh is not needed (are same), it does not change the tracking to the requested channel. Bug report: https://bugs.launchpad.net/s

Re: Testing a snap for lnav (log file navigator), publishing

2017-02-02 Thread Simos Xenitellis
On Thu, Feb 2, 2017 at 7:35 PM, Jamie Strandboge wrote: > On Thu, 2017-02-02 at 19:00 +0200, Simos Xenitellis wrote: > >> In addition, I added the interface "network". This is due to to lnav >> opening a UNIX domain socket, >> and using the "sendto()&quo

Re: Testing a snap for lnav (log file navigator), publishing

2017-02-02 Thread Simos Xenitellis
On Thu, Feb 2, 2017 at 3:25 PM, Oliver Grawert wrote: > hi, > Am Donnerstag, den 02.02.2017, 15:11 +0200 schrieb Simos Xenitellis: >> Hi All, >> >> I created a snap for lnav and I attach the snapcraft.yaml file. >> >> I plan to use the "classic" conf

Testing a snap for lnav (log file navigator), publishing

2017-02-02 Thread Simos Xenitellis
Hi All, I created a snap for lnav and I attach the snapcraft.yaml file. I plan to use the "classic" confinement in the final version. Would that be advisable or should I change to permit only to open log files from /var/log/? According to the documentation, I am asking here for comments (so as t

Re: Use of build-properties in the schema is deprecated.

2017-01-12 Thread Simos Xenitellis
On Wed, Jan 11, 2017 at 1:26 PM, Jenny Murphy wrote: > I recently upgraded to snapcraft 2.24 (from 2.22) for building my .snaps. > Now I am getting the following warning : > > Use of build-properties in the schema is deprecated. > Plugins should now implement get_build_properties > > This was a r