Re: [System Enablement] New releases: wifi-ap=10 pulseaudio=8.0-3

2017-01-05 Thread Didier Roche
Le 05/01/2017 à 14:31, Oliver Grawert a écrit : > hi, > Am Mittwoch, den 04.01.2017, 19:11 +0100 schrieb Oliver Grawert: >> ogra@pi3:~$ grep audio= /boot/uboot/config.txt >> dtparam=audio=on >> > FYI both gadgets for pi2 and pi3 have just been updated in the edge > channel with this fix, would be

Re: New 2.20 snapd release

2017-01-05 Thread Didier Roche
Le 03/01/2017 à 13:18, James Page a écrit : > On Tue, 3 Jan 2017 at 12:15 James Page > wrote: > > On Tue, 3 Jan 2017 at 11:58 Gustavo Niemeyer > > wrote: > > Will systemd handle multiple services with the sam

Re: glGetUniformLocation fails in confinement mode

2017-01-31 Thread Didier Roche
Le 30/01/2017 à 15:39, Jamie Strandboge a écrit : > On Mon, 2017-01-30 at 08:47 -0500, Stephen M. Webb wrote: >> On 2017-01-30 01:56 AM, Spencer Parkin wrote: >>> >>> >>> I have a program that has successfully snapped and run in confinement mode, >>> but then I added a pixel and vertex shader >>> w

Re: ubuntu-app-platform updated to Qt 5.6.2

2017-01-31 Thread Didier Roche
Le 31/01/2017 à 17:18, Sergio Schvezov a écrit : > On Tue, 31 Jan 2017 16:21:41 +0100, Olivier Tilloy wrote: >> On Tue, Jan 31, 2017 at 2:12 PM, Timo Jyrinki >> wrote: Do we have a clear understanding of why this happens? Qt apps are supposed to be binary compatible against newer releas

Changing default snapcraft behavior and erroring on missing libraries

2017-01-31 Thread Didier Roche
Le 31/01/2017 à 17:18, Sergio Schvezov a écrit : > On Tue, 31 Jan 2017 16:21:41 +0100, Olivier Tilloy wrote: >> On Tue, Jan 31, 2017 at 2:12 PM, Timo Jyrinki >> wrote: Do we have a clear understanding of why this happens? Qt apps are supposed to be binary compatible against newer releas

Re: Changing default snapcraft behavior and erroring on missing libraries

2017-02-01 Thread Didier Roche
Le 31/01/2017 à 18:33, Sergio Schvezov a écrit : > On Tue, 31 Jan 2017 17:40:09 +0100, Didier Roche wrote: >> Le 31/01/2017 à 17:18, Sergio Schvezov a écrit : >>> On Tue, 31 Jan 2017 16:21:41 +0100, Olivier Tilloy wrote: >>>> On Tue, Jan 31, 2017 at 2:12 PM, Timo Jyri

Re: Changing default snapcraft behavior and erroring on missing libraries

2017-02-01 Thread Didier Roche
Le 31/01/2017 à 18:02, Kyle Fazzari a écrit : > > On 01/31/2017 08:40 AM, Didier Roche wrote: >> Le 31/01/2017 à 17:18, Sergio Schvezov a écrit : >>> On Tue, 31 Jan 2017 16:21:41 +0100, Olivier Tilloy wrote: >>>> On Tue, Jan 31, 2017 at 2:12 PM, Timo Jyrinki >&

Re: glGetUniformLocation fails in confinement mode

2017-02-01 Thread Didier Roche
Le 31/01/2017 à 20:35, Jamie Strandboge a écrit : > On Tue, 2017-01-31 at 17:04 +0100, Didier Roche wrote: >> Le 30/01/2017 à 15:39, Jamie Strandboge a écrit : >>> On Mon, 2017-01-30 at 08:47 -0500, Stephen M. Webb wrote: >>>> On 2017-01-30 01:56 AM, Spencer Parkin wr

Re: Currernt config hook implementation scales very badly

2017-02-01 Thread Didier Roche
Le 01/02/2017 à 13:05, Gustavo Niemeyer a écrit : > > Yes, that's in the plans for configuration support already. The idea > is to extend snapctl with the ability to introspect exactly which > settings have changed since the last successful run of the script, and > perhaps which values it used to

Re: Currernt config hook implementation scales very badly

2017-02-01 Thread Didier Roche
e to have more structured one in dash-compatible shell. Introducing helpers written in Go means that you have to compile your (potential arch-all snap like a nodejs webserver) to be arch-dependant. Thoughts? Didier > > > Michael Hall > mhall...@ubuntu.com > > On 02/01/2017 08:54 AM

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

2017-02-06 Thread Didier Roche
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 > Store. > > I am looking forward to receiving feedback :-) > > Link: > https://blog.simos.info/how

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

2017-02-07 Thread Didier Roche
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 wrote an article about creating a snap for an existing Python >>>

One snap to connect them all (or: the plugin story)

2017-02-09 Thread Didier Roche
Ok, sorry for the catchy email title but couldn't resist :) So, I'm in the situation where one snap would need to get configuration and access to some files from other snaps. It's really similar to our plugin story: even if in that case, we are talking about optional configuration and files from o

Re: One snap to connect them all (or: the plugin story)

2017-02-10 Thread Didier Roche
Le 09/02/2017 à 17:12, Kyle Fazzari a écrit : > > On 02/09/2017 01:04 AM, Didier Roche wrote: >> Ok, sorry for the catchy email title but couldn't resist :) >> >> So, I'm in the situation where one snap would need to get configuration >> and access to

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

2017-02-13 Thread Didier Roche
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 wrote: >>>> Le 06/02/2017 à 10:56, Simos Xenitellis a écrit

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

2017-02-17 Thread Didier Roche
Le 15/02/2017 à 16:33, Simos Xenitellis a écrit : > On Mon, Feb 13, 2017 at 7:13 PM, Didier Roche wrote: >> Le 10/02/2017 à 17:30, Simos Xenitellis a écrit : >>> I managed to complete the conversion and the tutorial is ready :-). >>> >>> Here it is, >&g

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

2017-02-27 Thread Didier Roche
Le 17/02/2017 à 15:47, Didier Roche a écrit : Le 15/02/2017 à 16:33, Simos Xenitellis a écrit : On Mon, Feb 13, 2017 at 7:13 PM, Didier Roche wrote: Le 10/02/2017 à 17:30, Simos Xenitellis a écrit : I managed to complete the conversion and the tutorial is ready :-). Here it is, https

A couple of new snap tutorials are now available!

2017-03-02 Thread Didier Roche
Following last few weeks announcement, we do have a couple of new tutorials available for snaps! More info are available at https://insights.ubuntu.com/2017/03/02/a-couple-of-new-snap-tutorials-are-now-available/, but I want to give a big round of applause to Simos, present on this list, maki

Re: Running xdg-open

2017-03-03 Thread Didier Roche
Le 03/03/2017 à 15:54, Oliver Grawert a écrit : hi, Am Freitag, den 03.03.2017, 15:22 +0100 schrieb Mark Shuttleworth: On 03/03/17 15:02, Alberto Mardegan wrote: Currently the xdg-open tool is provided by the core snap, which has it located in its /usr/local/bin/ path. Will it not always be

Re: Class confinement for Python snaps

2017-03-10 Thread Didier Roche
Le 10/03/2017 à 16:14, Barry Warsaw a écrit : I'm converting ubuntu-image from a devmode snap to a classic snap, but I'm running into some problems. ubuntu-image is a Python 3 application, and I'm using snapcraft 2.27.1+17.4 on Zesty. The first problem I'm having is I think directly related to

Re: Shared UI Themes

2017-03-17 Thread Didier Roche
Le 16/03/2017 à 18:28, Michał Sawicz a écrit : W dniu 16.03.2017 o 17:34, Sebastien Bacher pisze: One other issue is that snaps are per-system and theme are per-user-session/desktop. You could have different users login into different desktop environment on your laptop, how do we handle them nee

Re: Contributing cloud parts

2017-03-20 Thread Didier Roche
Le 17/03/2017 à 19:13, Tim Süberkrüb a écrit : Hey, Hey Tim, what is the process of contributing a cloud part to https://wiki.ubuntu.com/snapcraft/parts (is it open for community contributions?)? Are there any plans for having a real parts repository instead of a wiki page for cloud part

Re: desktop-gtk3

2017-03-31 Thread Didier Roche
Le 31/03/2017 à 05:55, Spencer Parkin a écrit : That just adds a deprecation warning (if I add the '/', I mean.) It says, "DEPRECATED: Found a "/" in the name of the 'desktiop/gtk3' part" Here's the major error I'm getting... "Issue while loading plugin: properties failed to load for desktop-g

Re: How do I get a postinst stage properly executed - traceroute will not install correctly

2016-07-28 Thread Didier Roche
Le 28/07/2016 à 18:32, David Garrod a écrit : > Thanks for your reply. > > > > Re: > > > > Ø Looking at the postinst, it doesn't seem this is actually that you > need to execute any postinst in this specific case. The > update-alternative calls here are just to make available a default > "

Re: Multiple app per part generate "dot" executables

2016-07-28 Thread Didier Roche
Le 28/07/2016 à 20:01, Dietmar Winkler a écrit : > Hi, > > I have one part that when compiled provides several binaries. > > See : https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml#L50 > > The problem is that the only "clean" bin binary is ipe all the other > apps get installed as: >

Re: Getting QT apps running.

2016-07-29 Thread Didier Roche
Le 29/07/2016 à 14:19, John Lenton a écrit : > On 29 July 2016 at 11:45, Dietmar Winkler wrote: >> ln: failed to create symbolic link >> '/home/dietmarw/snap/ipe/x22/.themes/themes': Read-only file system > that seems strange. What is read-only in that path? > That was this bug from the destkop-la

Re: How to resolve same file conflicts from different parts when building a snap project?

2016-07-31 Thread Didier Roche
Le 01/08/2016 à 04:37, XiaoGuo Liu a écrit : > Hi, > > I finally solved the problem by adding: > > stage: > - -usr/share/pkgconfig/xkeyboard-config.pc > > in one of the parts to avoid the conflicts (the same file from > different parts with the same installation path). Hey, I think you

Re: SNAP_USER_COMMON

2016-08-01 Thread Didier Roche
Le 02/08/2016 à 07:45, Vasilisc a écrit : > > test snap raise error > - > echo "Writing to $SNAP_USER_COMMON" > mkdir -p $SNAP_USER_COMMON/platform > echo "hello common" > $SNAP_USER_COMMON/common.txt > -- > grep -F audit syslog > > Aug 2 08:34:16 vb kernel: [ 2

Re: SNAP_USER_COMMON

2016-08-02 Thread Didier Roche
Le 02/08/2016 à 08:12, Vasilisc a écrit : > 02.08.2016 09:00, Didier Roche пишет: >> Le 02/08/2016 à 07:45, Vasilisc a écrit : >>> >>> test snap raise error >>> - >>> echo "Writing to $SNAP_USER_COMMON" >>

Re: thx devs

2016-08-04 Thread Didier Roche
Le 04/08/2016 à 15:53, Vasilisc a écrit : > Devs, thanks for your help. > My contribution > > $ snap find vs > Name Version Developer Notes Summary > deadbeef-vs 0.7.2-snap1 vs - The Ultimate Music > Player > languagetool 3.4-snap2vs - L

Re: ntopng strict snap published

2016-08-04 Thread Didier Roche
Le 04/08/2016 à 17:40, Blake Rouse a écrit : > I have created a ntopng snap for the dev branch of ntopng. The snap > works in strict mode once you connect it to the network-control > interface. I currently registered the snap as ntopng-blake as ntopng > is a reserved name. Let me know what you thin

Re: Handling update-alternatives

2016-08-05 Thread Didier Roche
Le 05/08/2016 à 12:25, Dan Watkins a écrit : > On 05/08/16 11:00, John Lenton wrote: >> On 5 August 2016 at 10:20, Dan Watkins wrote: >>> Something I'm snapping tries to run `awk`, which isn't included in the >>> ubuntu-core snap >> awk *is* in the ubuntu-core snap. What's happening is bug #158001

Re: .desktop files for app-in-snap

2016-08-07 Thread Didier Roche
Le 06/08/2016 à 09:47, Vasilisc a écrit : >> Please help me. If I launch the program in the Terminal - well done, but >> I can't start program from Unity Launcher. >> >> I tried to change parameter Exec in >> ~/.local/share/applications/app.desktop >> Exec=app-name >> Exec=snap-name.app-name >> Exe

Re: First snaps

2016-08-07 Thread Didier Roche
Le 08/08/2016 à 03:34, Jacob Zimmermann a écrit : > Hi, > > I finally uploaded some small contributions: > > - hatari-emulator > - fsuae > - matroska-tools > > All in the Candidate channel. Hey Jacob! Excellent work. I see you are looking for piece by publishing an atari and amiga emulator at the

Re: .desktop files for app-in-snap

2016-08-08 Thread Didier Roche
Le 08/08/2016 à 08:47, Vasilisc a écrit : > 08.08.2016 08:50, Didier Roche пишет: >> Le 06/08/2016 à 09:47, Vasilisc a écrit : >>>> Please help me. If I launch the program in the Terminal - well done, >>>> but >>>> I can't start program from Uni

Re: How do I share a namespace between snap commands?

2016-08-08 Thread Didier Roche
Le 08/08/2016 à 17:50, David Garrod a écrit : > I just wanted follow up on this issue: > > Re: > >> From: Jamie Strandboge [mailto:ja...@canonical.com] >> Sent: Wednesday, July 27, 2016 1:03 PM >> ... >> To your specific question, I would expect one app within your snap to be >> able to create a n

Re: screenshot

2016-08-09 Thread Didier Roche
Le 10/08/2016 à 07:58, Vasilisc a écrit : > I uploaded in the Ubuntu Store a programs with their screenshots. > GNOME Software does not show screenshot and icon. > How fix this issue? > I guess for this kind of this, a bug is more appropriate than a ML discussion. Please open one (I would say agai

Re: Where to place config files, and nested config files

2016-08-09 Thread Didier Roche
Le 09/08/2016 à 23:50, Andreas Hasenack a écrit : > Hi, Hey Andreas, > > I'm starting to use snapcraft and picked squid-deb-proxy as my first > victim. This is just the normal squid service with a set of > configuration files tailored for deb package caching. > > I'm assuming that the best place f

Re: Removing sub-parts from the remote parts ecosystem.

2016-08-09 Thread Didier Roche
Le 09/08/2016 à 23:41, Joe Talbott a écrit : > Dear Snapcrafters, Hey Joe, > > The wiki introduced the concept of sub-parts and used namespacing to > associate a list of sub-parts with a project-part. However the > concept was ill-conceived and now needs to be removed. In essence, > all parts sh

Re: demon snmp in snap

2016-08-09 Thread Didier Roche
Le 09/08/2016 à 09:53, BlinCT . a écrit : > Good afternoon. Hey Alexey, > My name is Alexey > I write for the first time, hoping to get advice from you > Recently I started to try building a programs into Snap package. I > need to build a demon. But unfortunatly there was a many problems due > wo

Re: Removing sub-parts from the remote parts ecosystem.

2016-08-10 Thread Didier Roche
Le 10/08/2016 à 13:51, Joe Talbott a écrit : > > The plan would be to convert the wiki parts and their origins but to > have a deprecation warning for any snapcraft.yaml using the namespaced > part names and to have snapcraft automatically convert '/' to '-' during > part loading. This should le

Re: Problem with snapcraft-desktop-helpers and MATE desktop

2016-09-19 Thread Didier Roche
Le 19/09/2016 à 15:34, Eloy García (PC Actual) a écrit : > Hi all. > > I'm using snapcraft-desktop-helpers > (https://github.com/ubuntu/snapcraft-desktop-helpers) part for > providing a "bridge" for gsettings between my snapped application and > the host system (I'm using desktop/gtk3 part although

Re: pulseaudio plug/slot

2016-09-25 Thread Didier Roche
Le 26/09/2016 à 06:27, Spencer Parkin a écrit : > So I did two things to resolve this, I'm not sure if one of them was > necessary, but... > > 1) I changed my app command to "env SDL_AUDIODRIVER=pulseaudio > desktop-launch $SNAP/bin/[myprog]" > 2) I changed the confinement from strict to devmode. >

Re: My second snap ;-)

2016-10-02 Thread Didier Roche
Le 02/10/2016 à 20:48, Robert Park a écrit : > On Sun, Oct 2, 2016 at 1:43 AM, Loïc Minier wrote: >> So just create a matplotlibrc in your $SNAP and you should be good > Thanks for this analysis. I created an empty matplotlibrc in $PWD and > then got this instead: > > PermissionError: [Errno 13] P

Re: My second snap ;-)

2016-10-03 Thread Didier Roche
Le 03/10/2016 à 20:51, Robert Park a écrit : > On Sun, Oct 2, 2016 at 11:20 PM, Didier Roche wrote: >> Le 02/10/2016 à 20:48, Robert Park a écrit : >>> Is there a plug to just read /etc? or a sensible way to set all those >>> env vars to /dev/null or something? >&

Re: Ubuntu Core 16 Feature Freeze

2016-10-06 Thread Didier Roche
Le 07/10/2016 à 01:42, Michael Vogt a écrit : > The Snappy team is happy to announce the Feature Freeze of Ubuntu Core > 16, which means all the major features planned for the stable series > 16 image have landed, and the upcoming weeks will consist exclusively > of stabilization and polishing. Fi

Re: Ubuntu Core 16 Feature Freeze

2016-10-07 Thread Didier Roche
Le 07/10/2016 à 11:46, Oliver Grawert a écrit : > hi, > Am Freitag, den 07.10.2016, 11:35 +0200 schrieb Oliver Grawert: >> These images are bootable, the PC image can be booted directly in qemu-kvm or virtualbox. When running the images in qemu-kvm it is helpful to use the "-redir"

Re: Launcher

2016-10-09 Thread Didier Roche
Le 10/10/2016 à 01:39, Spencer a écrit : > I made a comment earlier that newly installed snaps don't show up in the > dash. I see now that I was using the wrong term. They do show up in the > dash, but is there a way to have them show up in the launcher? Of course, > the user can add and remo

Re: Question on where snaps are stored

2016-10-09 Thread Didier Roche
Le 10/10/2016 à 03:20, Chris a écrit : > On Mon, 2016-10-10 at 10:59 +1000, Jacob Zimmermann wrote: >> The snap packages themselves are simply copied into >> /var/lib/snapd/snaps >> and then mounted into /snap (via /dev/loop). >> >> The folders under ~/snap are for configuration files and per-packa

Re: Different values of environment variables during build time and run time, eg. JAVA_HOME and PATH

2016-10-11 Thread Didier Roche
Le 10/10/2016 à 23:49, Jian LUO a écrit : > > Hi, > > I don't think it counts as cross compiling since Java (at least in my > case) is cross platform. Just wanted to compile Java with one JDK and > run with another. > Hey, I'm adding Sergio to the conversation, but I think the easiest path is to

Re: Snap sources

2016-10-11 Thread Didier Roche
Le 10/10/2016 à 23:45, Chris a écrit : > Other than those shown here - https://uappexplorer.com/apps?type=snappy > &sort=title are there other places to get Snaps from? > Actually, there is now! If you use the beta3 images, they come with snapweb baked in (listening on port 4200). You can connect

Re: Ubuntu Snap Store

2016-10-12 Thread Didier Roche
Le 13/10/2016 à 01:01, Chris a écrit : > When browsing snaps at uappexplorer.com I like to middle click and open > a new tab in Firefox to read about it which allows me to keep my place > in the original tab. At the Snap Store http://localhost:4200/store this > isn't possible and if I were to click

Re: Official snap button

2016-10-13 Thread Didier Roche
Le 13/10/2016 à 19:12, Aaron Ogle a écrit : > Greetings! Hey Aaron, > > I work on the Rocket.Chat project. We are looking at adding our > desktop snap as well as our server snap to our website as the > officially recommended way of installing. > > Ideally for the desktop at least we'd like to try

Re: add-apt-repository and snapcraft cleanbuild?

2016-10-16 Thread Didier Roche
Le 15/10/2016 à 20:26, Dan Kegel a écrit : > Hey all, > Day 3 of using snapcraft, and I've managed to get > both piglit and a proprietary app snapped and running. > Snapcraft's learning curve is not too steep, kudos. > > Problem: I can't do 'snapcraft cleanbuild' on my proprietary > apps because th

Re: Symbolic links inside .deb turning into directories

2016-10-18 Thread Didier Roche
Le 18/10/2016 à 20:30, MikeB a écrit : > Hi, Hey Mike, > > I'm trying to use the new feature that allows debian packages to be > used as src. > > I have a Debian package that installs a library and a symbolic link to > the library. > > mberger@bldecos-1:/builds2/mberger/sonic/sonic-snap$ dpkg -c

Re: Missing environment variables

2016-10-21 Thread Didier Roche
Le 20/10/2016 à 17:36, Aaron Ogle a écrit : > Hey guys, Hey Aaron, > > With our Rocket.Chat server snap. We've had several cases now where > users come to us trying to figure out why it hasn't started yet after > installing. > > Our snap: > https://github.com/RocketChat/Rocket.Chat/blob/develop/.s

Re: Missing environment variables

2016-10-21 Thread Didier Roche
fering which would lead to that error. Cheers, Didier > > On Fri, Oct 21, 2016, 04:19 Didier Roche <mailto:didro...@ubuntu.com>> wrote: > > Le 20/10/2016 à 17:36, Aaron Ogle a écrit : >> Hey guys, > > Hey Aaron, > >> >> With our

Re: snap integration with XFCE

2016-10-24 Thread Didier Roche
Le 06/10/2016 à 21:34, Eloy García (PC Actual) a écrit : > Hi all. > > I develop a java-based application to download and manage wallpapers > from the Internet (wallpaperdownloader) > (https://bitbucket.org/eloy_garcia_pca/wallpaperdownloader/overview). > The applications is in the store but now I'

Re: snap integration with XFCE

2016-10-24 Thread Didier Roche
er-specific#L37 for instance. (But yeah, it relies on /home/$USER/ and should probably find a better way to get user's real home directory. I can't use $HOME as it's redirected to SNAP_USER_DATA in some cases) > > Best, > > Eloy > > 2016-10-24 10:14 GMT+02:00 Didi

Re: Problems trying to create a snap package for bioinformatics tools

2016-10-24 Thread Didier Roche
Le 24/10/2016 à 16:13, Gordon Ball a écrit : > Hello Hey Gordon, > I have been trying to create a snap package for the `cufflinks` [1] > biofinformatics tools. These are packaged for debian/ubuntu, but the > package is not built for xenial due to issues with boost 1.56-1.59. [2] Nice way to shi

Re: "path must be relative" in filesets is holdover convention from debian packaging, causes grief

2016-10-24 Thread Didier Roche
Le 24/10/2016 à 17:49, Dan Kegel a écrit : > Hi! > > When generating snapcraft.yaml from e.g. CMakeLists.txt for a large project, > I wanted to exclude some dev files which live at a > configuration-dependent location, e.g. > > filesets: > dev: > - -@FOO@/include > - -@FOO

Re: Configuring apparmor / seccomp for a snap to allow sendmsg and mkfifo?

2016-10-24 Thread Didier Roche
Le 24/10/2016 à 21:52, Dan Kegel a écrit : > I'm trying to snap a largish package; works fine in devmode, > but as the app likes to use unix sockets and fifos, it fails in > confined mode with > > $ sudo /snap/bin/snappy-debug.security scanlog > = AppArmor = > Time: Oct 24 11:41:09 > Log: apparmor=

Re: "path must be relative" in filesets is holdover convention from debian packaging, causes grief

2016-10-24 Thread Didier Roche
Le 25/10/2016 à 08:46, Dan Kegel a écrit : > On Mon, Oct 24, 2016 at 11:21 PM, Didier Roche wrote: >> You have the parts//install directory, which is your target >> for your parts installation. All files are there (and DESTDIR is set to >> there). It sounds then normal to

Re: Un-revert a snap

2016-10-26 Thread Didier Roche
Le 27/10/2016 à 03:01, Marcos Alano a écrit : > Hello guys, Hey Marcos, > > > Sorry if I'm in the wrong mailing list. That's the only one about snap i > could found. The question is: how I revert-revert (un-revert) a snap? I > can install a snap: > > (sudo snap install hello) after thatr I can upg

Re: Provisional snap for DUB (D language package/build manager)

2016-10-26 Thread Didier Roche
Le 27/10/2016 à 01:13, Joseph Rushton Wakeling a écrit : > Hello folks, Hey Joseph, It would be great to have D support! Thanks for working on that :) I'm going to try to answer to some of your questions, but I'm sure Sergio (CCed) would be able to give deeper insights on some parts as being the

Re: Un-revert a snap

2016-10-26 Thread Didier Roche
u need to swap them to restart from the latest version of data from rev 20 to copy to 29. Explicitely removing that version makes sense in that context. Have an unrevert command won't convey that notion. Didier > > > 2016-10-27 14:13 GMT+08:00 Didier Roche <mailto:didro...@ubuntu.com&g

Re: Un-revert a snap

2016-10-27 Thread Didier Roche
v" in 15.04. Didier > > YC > > 2016-10-27 14:38 GMT+08:00 Didier Roche <mailto:didro...@ubuntu.com>>: > > Le 27/10/2016 à 08:32, YC Cheng a écrit : >> I think we need a way to just Un-revert from rev 20 to rev 29 >> without remove rev 29.

Re: Un-revert a snap

2016-10-27 Thread Didier Roche
Le 27/10/2016 à 09:44, YC Cheng a écrit : > Reply in-line, YC > > 2016-10-27 15:36 GMT+08:00 Didier Roche <mailto:didro...@ubuntu.com>>: > > Le 27/10/2016 à 09:18, YC Cheng a écrit : >> I found the following command works: >> >> snap

Re: Provisional snap for DUB (D language package/build manager)

2016-10-27 Thread Didier Roche
Le 27/10/2016 à 08:37, Didier Roche a écrit : > Le 27/10/2016 à 01:13, Joseph Rushton Wakeling a écrit : >> Hello folks, > Hey Joseph, > > It would be great to have D support! Thanks for working on that :) > I'm going to try to answer to some of your questions, but I&#x

Re: Optional daemon

2016-10-27 Thread Didier Roche
Le 27/10/2016 à 16:50, Aaron Ogle a écrit : > Greetings, > > With our Rocket.Chat snap, we're looking to be able to allow someone > to run an external mongodb instead of the built in one. As well as > we'd like to add something like caddy / traefik etc to do ssl > termination. But its not a daemo

Re: Optional daemon

2016-10-27 Thread Didier Roche
e in mind? Didier > > On Thu, Oct 27, 2016 at 10:14 AM Didier Roche <mailto:didro...@ubuntu.com>> wrote: > > Le 27/10/2016 à 16:50, Aaron Ogle a écrit : > > Greetings, > > > > With our Rocket.Chat snap, we're looking to be able to allow so

Re: Optional daemon

2016-10-27 Thread Didier Roche
Le 27/10/2016 à 19:00, Aaron Ogle a écrit : > On Thu, Oct 27, 2016 at 11:56 AM Kyle Fazzari > mailto:kyle.fazz...@canonical.com>> wrote: > > > So are you storing this database in $SNAP_COMMON? Because > $SNAP_DATA would do this for you, no? > > > Correct we are doing in $SNAP_COMMON. Is $S

Re: Optional daemon

2016-11-02 Thread Didier Roche
Le 28/10/2016 à 21:00, Aaron Ogle a écrit : > Point definitely well made. I'm with you now. :) > > Now this being the case. I can't just swap the location. This is > where I would need a rock solid upgrade hook. But I would only need > to run it the once. Any suggestions? Or any good examples

Re: snap integration with XFCE

2016-11-02 Thread Didier Roche
Le 01/11/2016 à 21:18, Eloy García (PC Actual) a écrit : > Hi Didier, hi all. > > I've been trying to accomplish this mission but I miss something (my bet > is that I need an interface similar to gsettings but it doesn't exist > something like this). > > 1.- I have successfully created a symlink

Re: xterm

2016-11-02 Thread Didier Roche
Le 01/11/2016 à 14:55, Joe Coates a écrit : > > The main app in my snapped feature wants to initiate some xterm > sessions and run a different local snap command in each. However, I > can’t manage to get a terminal emulator of any sort to behave > correctly within the snap (if they startup at all,

Re: configure hook

2016-11-06 Thread Didier Roche
Le 06/11/2016 à 00:22, Boris Rybalkin a écrit : > > Hello, > Hey Boris, > > I want to generate my config on snap install using snap location > variables. > > From the docs configure hook is only triggered when 'snap set' is > called. Will configure also be called on install and upgrade? > I didn't

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-06 Thread Didier Roche
Le 06/11/2016 à 11:50, Jacques Supcik a écrit : > Dear community. > > I have a program , written in > go, and running on a raspberry Pi 2, which displays messages on a LED > panel. The panel is made of > "neo pixels" an

Re: Project templates in snapcraft

2016-11-06 Thread Didier Roche
Le 05/11/2016 à 07:37, Spencer a écrit : > Small, well commented examples, but not too small so as to leave out > obviously wanted functionality, IMO, are way better than templates. > Part of the problem I have with any kind of template is OCD-based. I > don't want to start where someone else lef

Re: Error on compiling snap using wxPython

2016-11-07 Thread Didier Roche
Le 06/11/2016 à 01:40, Vincent JOBARD a écrit : > Hi every one > > Few days ago I found that a GUI exists for > YouTube-dl, https://github.com/MrS0m30n3/youtube-dl-gui. > > So I tried to create a snap for it, based on youtube-dl snapcraft.yaml > found in the Playpen > > https://github.com/Winael/yo

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Didier Roche
Le 07/11/2016 à 11:18, Simon Fels a écrit : > On 07.11.2016 08:53, Didier Roche wrote: >> Le 06/11/2016 à 11:50, Jacques Supcik a écrit : >>> Dear community. >>> >>> I have a program <https://gitlab.com/telecom-tower/tower>, written in >>>

Re: Error on compiling snap using wxPython

2016-11-07 Thread Didier Roche
Le 07/11/2016 à 13:25, Vincent JOBARD a écrit : > Hi Didier Thx for your answer > > On Mon, Nov 7, 2016 at 9:02 AM Didier Roche <mailto:didro...@ubuntu.com>> wrote: > > Le 06/11/2016 à 01:40, Vincent JOBARD a écrit : > > Hi every one > > > &

Re: Snap hangs when accessing a special /dev/file (/dev/vcio) [ubuntu-core 16 / RaspberryPi2]

2016-11-07 Thread Didier Roche
Le 07/11/2016 à 12:17, Oliver Grawert a écrit : > hi, > Am Montag, den 07.11.2016, 11:23 +0100 schrieb Didier Roche: >> >> Ah nice, I didn't find any documentation on it nor in the official >> doc >> (which was imported from the snapd repo before its removal) o

Re: Snapping Chrome browser

2016-11-07 Thread Didier Roche
Le 08/11/2016 à 03:46, XiaoGuo Liu a écrit : > Sorry, There is a typo in the last email. The installation instruction > is: > > $ sudo snap install --beta --devmode That's nice! However, AFAIK, Chad (CCed) worked on this some months ago and got it working as well in devmode. The only issue on con

Re: configure hook

2016-11-08 Thread Didier Roche
Le 08/11/2016 à 04:52, Kyle Fazzari a écrit : > > On Nov 6, 2016 21:51, "Didier Roche" <mailto:didro...@ubuntu.com>> wrote: >> >> Le 06/11/2016 à 00:22, Boris Rybalkin a écrit : >> > >> > Hello, >> > >> >> Hey Boris

Re: configure hook

2016-11-08 Thread Didier Roche
xample available at https://github.com/snapcore/snapd/tree/master/tests/lib/snaps/basic-hooks/meta/hooks. Hope that helps! Didier > > Thanks. > > Br > Enwei > > > > On Tue, Nov 8, 2016 at 6:28 PM, Didier Roche <mailto:didro...@ubuntu.com>> wrote: > >

Re: configure hook

2016-11-09 Thread Didier Roche
Le 09/11/2016 à 09:39, Boris Rybalkin a écrit : > > Sorry, I did not get that. > > I am using snapcraft, are you saying that just creating > hooks/configure is not enaugh? > It should be enough if you ensure it's in your final snap in meta/hooks/configure. (Look at your prime/ directory). Enwei was

Re: configure hook

2016-11-09 Thread Didier Roche
great python hooks examples. If you beat me to it, do not hesitate to report your results here! > Thank you very much for your replies! > My pleasure :) > > On 9 Nov 2016 08:58, "Didier Roche" <mailto:didro...@ubuntu.com>> wrote: > > Le 09/11/2016 à 09:39, B

Re: configure hook

2016-11-14 Thread Didier Roche
is out for Ubuntu 16.04 desktop, CCing Michael to know when the next snapd hits stable + SRU published). Cheers, Didier > Thank you. > > > On 9 Nov 2016 09:21, "Didier Roche" <mailto:didro...@ubuntu.com>> wrote: > > Le 09/11/2016 à 10:15, Boris Rybalkin a écrit

Re: crontab like snaps or interfaces

2016-11-14 Thread Didier Roche
Le 14/11/2016 à 02:29, Enwei Zhang a écrit : > Hello, > I want to ask if there is any snaps or interfaces that could support > crontab or systemd.timer or that kind of timed operations. > For example, if my snap uses syslog to save all the logs, how should > logrotate work? > > Thanks so much. CCi

Re: crontab like snaps or interfaces

2016-11-14 Thread Didier Roche
Le 14/11/2016 à 09:03, Didier Roche a écrit : > Le 14/11/2016 à 02:29, Enwei Zhang a écrit : >> Hello, >> I want to ask if there is any snaps or interfaces that could support >> crontab or systemd.timer or that kind of timed operations. >> For example, if my snap uses

Re: Nand flash booting.

2016-11-14 Thread Didier Roche
Le 14/11/2016 à 02:21, Daniel Toussaint a écrit : > I am working on a board similar to Beaglebone Black, however instead > of SD/eMMC it is booting from NAND flash directly. As far as I can see > in the documentation there is no way yet to boot a Snappy image in > this fashion, is support for this

Re: Cliqz Snap

2016-11-14 Thread Didier Roche
Le 13/11/2016 à 19:04, Chris a écrit : > On Sun, 2016-11-13 at 09:17 -0600, Chris wrote: >> On Sun, 2016-11-13 at 10:41 +0800, XiaoGuo Liu wrote: >>> Hi Chris, >>> >>> You may find the tips at https://github.com/snapcore/snapd/wiki/Sec >>> ur >>> ity. You may use the command like: >>> >>> $ scmp_sy

Re: configure hook

2016-11-14 Thread Didier Roche
d and ubuntu core on amd64? > snapd is part of the core snap. snapd from the core snap is running on ubuntu core, snapd from the ubuntu package is running on the desktop. (the REEXEC plan has been disabled some months ago, due to some issues IIRC) Didier > > On 14 Nov 2016 8:01 am, "Di

Re: Cross platform snap creation?

2016-11-14 Thread Didier Roche
Le 13/11/2016 à 15:58, Peter Uithoven a écrit : > Hi folks, > > This is a question on behalf of the people behind Electron: Is is > possible to create snaps from other platforms than Linux? Would this > be possible through a Docker container? Are there docs on this? > > https://github.com/electron-

Re: Provisional snap for DUB (D language package/build manager)

2016-11-14 Thread Didier Roche
Le 13/11/2016 à 18:09, Joseph Rushton Wakeling a écrit : > On 13/11/16 10:11, Joseph Rushton Wakeling wrote: >> On 03/11/16 11:49, Joseph Rushton Wakeling wrote: >>> On 01/11/16 22:43, Sergio Schvezov wrote: If this is the problem and you can patch the software then removing the chown >>>

Re: Symlink to snapcraft apps no longer working

2016-11-14 Thread Didier Roche
Le 11/11/2016 à 10:54, Martin Winter a écrit : > Not sure when this (recently) changed. > > All apps as defined by a snap are prefixed with the snap name > > Ie, I have under apps a “vtysh” defined, which then ends up as > quagga.vtysh (for the quagga snap). > > So far no issue. > > Now, a few week

Re: Symlink to snapcraft apps no longer working

2016-11-14 Thread Didier Roche
Le 14/11/2016 à 10:41, Zygmunt Krynicki a écrit : >> Wiadomość napisana przez Martin Winter w >> dniu 11.11.2016, o godz. 10:54: >> >> Not sure when this (recently) changed. >> >> All apps as defined by a snap are prefixed with the snap name >> >> Ie, I have under apps a “vtysh” defined, which th

Re: Packaging nodejs apps

2016-11-14 Thread Didier Roche
Le 14/11/2016 à 10:55, Stephen Stewart a écrit : > Hi, > > While looking into a nodejs/yarn plugin I wondered if I could make a > yarn snap (not plugin), and simply define nodejs and yarn as parts, > use dump plugin and be done, no plugin required: > > "Parts 'yarn' and 'node' have the following fi

Re: Packaging nodejs apps

2016-11-14 Thread Didier Roche
Le 14/11/2016 à 12:19, Stephen Stewart a écrit : > On Mon, Nov 14, 2016 at 10:34 AM Didier Roche <mailto:didro...@ubuntu.com>> wrote: > > Le 14/11/2016 à 10:55, Stephen Stewart a écrit : > > Hi, > > > > While looking into a nodejs/yarn

Re: Cross platform snap creation?

2016-11-14 Thread Didier Roche
). Tell me if that suits your need Peter! Didier > > Em 14 de nov de 2016 7:32 AM, "Didier Roche" <mailto:didro...@ubuntu.com>> escreveu: > > Le 13/11/2016 à 15:58, Peter Uithoven a écrit : >> Hi folks, >> >> This is a question on beh

  1   2   >