Re: Architecture-specific settings for snapcraft parts

2017-04-09 Thread Sergio Schvezov
On Sun, Apr 9, 2017 at 5:12 AM, Joseph Rushton Wakeling < joseph.wakel...@webdrake.net> wrote: > On 03/04/17 21:18, Joseph Rushton Wakeling wrote: > >> Recently I tried some ARM builds of the LDC snap package, and came across >> some >> issues where one of the custom C flags used were not supporte

Re: classic 32 bit application

2017-04-04 Thread Sergio Schvezov
On Tue, 4 Apr 2017 14:53:17 +, Alistair Grant wrote: > Hi James, > > Thanks for your follow-up. > > On Tue, Apr 04, 2017 at 06:10:32PM +0800, James Henstridge wrote: >> On 4 April 2017 at 03:25, Alistair Grant wrote: >> > Hi James, >> > >> > On Fri, Mar 31, 2017 at 03:08:39PM +0800, James Hens

Re: explicit priming

2017-04-01 Thread Sergio Schvezov
On Apr 1, 2017 3:51 AM, "Spencer Parkin" wrote: Hi, My snapcraft.yaml file... https://github.com/spencerparkin/TwistyPuzzle/blob/stable-release/Snap/ snapcraft.yaml ...as you can see, has a new "prime:" section in it. This wasn't needed in all my earlier snappings, but to finally get my progr

Re: Getting snapcraft.yaml version from a script

2017-03-31 Thread Sergio Schvezov
On Mar 31, 2017 4:57 PM, "Gregory Lutostanski" < gregory.lutostan...@canonical.com> wrote: Curious how everyone makes sure the version string in the snapcraft.yaml up to date. And if there is an easy way to essentially drive it via 'git tags' and 'git describe'. If anyone has an recipe I would be

ANN: snapcraft 2.28 has been released

2017-03-30 Thread Sergio Schvezov
Prettier version of the release notes can be found on https://github.com/snapcore/snapcraft/releases/tag/2.28 -- Hello snapcrafters! We are pleased to announce the release snapcraft `2.28`: https://launchpad.net/snapcraft/+milestone/2.28 # Contributions This release has seen some contribution

Re: classic 32 bit application

2017-03-30 Thread Sergio Schvezov
On Thu, 30 Mar 2017 08:10:26 +0200, Alistair Grant wrote: > Hi All, > > I'm trying to package a 32 bit software development environment: Pharo > Smalltalk (http://pharo.org). > > I've got it working OK as a devmode package, but as soon as I switch it > to classic confinement it fails to run. > > Th

Re: Moving from strict to classic confinement

2017-03-27 Thread Sergio Schvezov
On Mon, 27 Mar 2017 09:22:03 +0200, Eloy García (PC Actual) wrote: > Hello everybody. > > I currently have a snap package published on the store. It is called > wallpaperdownloader and it is a Java-based application. So far, it has been > packaged using the strict confinement. The application basic

Re: Inter and Intra Snap communication

2017-03-23 Thread Sergio Schvezov
On Thu, 23 Mar 2017 17:36:32 +, Jenny Murphy wrote: > Hi, > I currently have a java application running in a snap. As part of some > added functionality my java application will need to communicate with a C > program executable. We are weighing up the options of how this would work. > The prob

Re: Status of snapd on Arch Linux

2017-03-20 Thread Sergio Schvezov
On Sat, 18 Mar 2017 00:32:38 +0100, Joseph Rushton Wakeling wrote: >* installing my ldc2 snap (`snap install --classic > --candidate ldc2`) worked > fine (it shows up in `snap list` as expected) but if I try to run > /var/lib/snapd/snap/bin/ldc2 directly I get an error message: > >

Re: Adventures in classic Python snaps, part II

2017-03-17 Thread Sergio Schvezov
On Fri, 17 Mar 2017 17:25:03 -0400, Barry Warsaw wrote: > A few days I asked about classic snaps and problems I was having turning > ubuntu-image into a classic snap (from devmode). For the recently released > u-i 1.0 I thought I'd solved the problem, and had an > autopkgtest to prove it. > Since

Re: Class confinement for Python snaps

2017-03-10 Thread Sergio Schvezov
On Fri, 10 Mar 2017 10:14:04 -0500, Barry Warsaw wrote: > 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. Any reaosn you are moving from devmode to clas

Re: Request for help / ideas to debug issue

2017-03-10 Thread Sergio Schvezov
On Fri, 10 Mar 2017 09:22:45 +, John Lenton wrote: > Hello! > > We're seeing a weird issue with either go, pthreads, or the kernel. If > you're knowledgeable about one or more of those things, could you take > a look? Thank you. > > The issue manifests as nasty warnings from the "snap run" comm

Re: Handling versioning of platform snaps

2017-03-07 Thread Sergio Schvezov
On Tue, 7 Mar 2017 05:06:46 -0800, Mark Shuttleworth wrote: > Hi Tim > > Welcome aboard, and thank you, this is exactly the type of question we > want to be solving together on this list. > > The simplest approach would be to insert a major version/ABI indcation > in the platform snap name. Somethi

Re: getting $LDFLAGS for a classic snap build in the plugin

2017-03-05 Thread Sergio Schvezov
On Mon, 6 Mar 2017 10:05:07 +1300, Michael Hudson-Doyle wrote: > On 6 March 2017 at 02:48, Sergio Schvezov > wrote: > >> On Tue, Feb 28, 2017 at 6:11 PM, Michael Hudson-Doyle < >> michael.hud...@canonical.com> wrote: >> >>> Hi, >>> >>&

Re: getting $LDFLAGS for a classic snap build in the plugin

2017-03-05 Thread Sergio Schvezov
On Tue, Feb 28, 2017 at 6:11 PM, Michael Hudson-Doyle < michael.hud...@canonical.com> wrote: > Hi, > > The magic of classic confinement snaps is all in passing special flags > when linking an executable. If I've read things right, snapcraft does this > by wrapping any command you execute with Base

Re: Further ABI-related issues for ldc2 snap on 14.04 ... ?

2017-03-05 Thread Sergio Schvezov
On Thu, Feb 23, 2017 at 12:18 PM, Joseph Rushton Wakeling < joseph.wakel...@webdrake.net> wrote: > Hello all, > > I've encountered a couple of further issues with the ldc2 compiler snap > when it's installed on a 14.04 system. I'm sharing here to confirm if > these are indeed ABI issues which mig

Re: Using docker image to run snapd

2017-03-05 Thread Sergio Schvezov
On Wed, Mar 1, 2017 at 1:25 PM, James Cooke wrote: > Hi there, > Hey! > > This appears to be the same error as asked about here: > http://askubuntu.com/questions/849859/error-when- > trying-to-run-snap-install-from-ubuntu-on-docker > (that's me in the comments). > I took a shot at trying to a

Re: Experimental Python interpreter snap

2017-02-21 Thread Sergio Schvezov
On Tue, 21 Feb 2017 19:53:31 +0700, Stuart Bishop wrote: > On 21 February 2017 at 18:35, James Henstridge > wrote: > >>> You could probably also get the pip in your snap to install packages >>> to $SNAP_USER_DATA or $SNAP_DATA if run as root. Although most devs >>> would stick to using virtualenvs

Re: Determining the set of snapd capabilities

2017-02-19 Thread Sergio Schvezov
On Sun, 19 Feb 2017 13:07:48 +0100, Joseph Rushton Wakeling wrote: > On 19/02/17 12:21, Mark Shuttleworth wrote: >> Step 4, announce new capabilities on the list >> >> In many cases, the existence of a new capability is meaningful for a >> large number of snapcrafters, lets share the beta documenta

Re: snapcraft 2.27 has been released

2017-02-18 Thread Sergio Schvezov
On Sat, 18 Feb 2017 01:12:46 +0100, Joseph Rushton Wakeling wrote: > On 17/02/17 13:49, Sergio Schvezov wrote: >> ## classic confinement >> >> Improvements have been made to the experimental `classic` >> confinement build setup to be more robust and reliable. These >

snapcraft 2.27 has been released

2017-02-17 Thread Sergio Schvezov
Hello snapcrafters! We are pleased to announce the release of snapcraft `2.27`: https://launchpad.net/snapcraft/+milestone/2.27 This release is now available to users on Xenial Xerus, Yakkety Yak and Zesty Zapus. The pretty version of these notes can be found on https://github.com/snapcore/snap

Re: LDC compiler snap issues on 14.04 (ABI compatibility?)

2017-02-15 Thread Sergio Schvezov
El miércoles, 15 de febrero de 2017 20h'09:36 ART, Joseph Rushton Wakeling escribió: On 11/02/17 17:31, Joseph Rushton Wakeling wrote: I just reproduced the issue in a VirtualBox install of 14.04 to get these details. Kernel report in kern.log: Feb 11 17:16:19 vb1404 kernel: [ 534.781526] tr

Re: Currernt config hook implementation scales very badly

2017-02-14 Thread Sergio Schvezov
El martes, 14 de febrero de 2017 07h'08:33 ART, Oliver Grawert escribió: hi, Am Dienstag, den 14.02.2017, 17:59 +0800 schrieb XiaoGuo Liu: I think the problem could be that the stable channel does not support it. yes, this is definitely the case, this was not released to stable yet, the next

Re: launchpad snap recipe fails with classic confinement

2017-02-09 Thread Sergio Schvezov
El jueves, 9 de febrero de 2017 16h'23:34 ART, Colin Watson escribió: On Thu, Feb 09, 2017 at 02:09:49PM -0300, Sergio Schvezov wrote: El jueves, 9 de febrero de 2017 13h'40:03 ART, knitzsche escribió: >Is building a snap with *classic* confinement from a recipe supported on >

Re: launchpad snap recipe fails with classic confinement

2017-02-09 Thread Sergio Schvezov
El jueves, 9 de febrero de 2017 13h'40:03 ART, knitzsche escribió: Is building a snap with *classic* confinement from a recipe supported on lp? I created a snap recipe for my imported git branch and tried to build, and the builds fail with: Even though LP will be adding support for this, sn

Re: Building for different architectures

2017-02-07 Thread Sergio Schvezov
On Tue, Feb 7, 2017 at 1:20 PM, Oliver Grawert wrote: > hi, > On Di, 2017-02-07 at 16:07 +, Alan Pope wrote: > > Hi, > > > > Suppose I have a snap which requires a couple of non-archive debs as > > stage packages. Typically I'd have a part for each which uses the > > source: of a url directly

Re: Building for different architectures

2017-02-07 Thread Sergio Schvezov
On Tue, Feb 7, 2017 at 1:07 PM, Alan Pope wrote: > Hi, > > Suppose I have a snap which requires a couple of non-archive debs as > stage packages. Typically I'd have a part for each which uses the > source: of a url directly to the deb using the dump plugin. This works > fine building on my amd64

Re: license.txt and snap/ directory

2017-02-07 Thread Sergio Schvezov
On Tue, 7 Feb 2017 01:46:04 +0100, Joseph Rushton Wakeling wrote: > On 07/02/17 00:24, Kyle Fazzari wrote: >> The fact that an empty directory is created here is a bug[1]. It should >> only create that directory if there's something to put in there. What >> Sergio is saying is this: >> >> Snapcraft

Re: license.txt and snap/ directory

2017-02-06 Thread Sergio Schvezov
On Mon, 6 Feb 2017 23:09:04 +0100, Joseph Rushton Wakeling wrote: > On 06/02/17 00:00, Sergio Schvezov wrote: >> We removed all traces of license.txt

Re: Issue with oneshot daemon

2017-02-06 Thread Sergio Schvezov
On Mon, 6 Feb 2017 14:04:58 -0500, MikeB wrote: > In my snapcraft.yaml, I define a oneshot daemon. > > > opx-init: > command: usr/bin/opx-init > daemon: oneshot > > When I install the snap on Ubuntu-Core, I see the following in the syslog... > > Feb 6 18:46:49 localhost systemd[1]: > sna

Re: Snapcraft lifecycle documentation?

2017-02-06 Thread Sergio Schvezov
On Fri, 3 Feb 2017 16:45:33 -0800, Ruddick Lawrence wrote: > Hi, > > Is there any documentation on the details of what happens during the > different lifecycles (pull, build, stage, prime, snap)? I couldn't find any > outside of https://snapcraft.io/docs/reference/snapcraft-command, and there > wer

Re: [ANN] conjure-up 2.1-beta5

2017-02-05 Thread Sergio Schvezov
Was fun to put all the pieces together. Anyone else getting stuck or need guidance on classic confined snaps feel free to drop by our rocket channel. El viernes, 3 de febrero de 2017 23h'13:44 ART, Adam Stokes escribió: Conjure-up is a power tool for getting started with big software. Conjur

Re: snapcraft 2.26 has been released

2017-02-05 Thread Sergio Schvezov
El viernes, 3 de febrero de 2017 20h'17:30 ART, Joseph Rushton Wakeling escribió: On 03/02/17 12:57, Sergio Schvezov wrote: Hello snapcrafters! We are pleased to announce the release of version `2.26` of snapcraft has been released: https://launchpad.net/snapcraft/+milestone

snapcraft 2.26 has been released

2017-02-03 Thread Sergio Schvezov
Hello snapcrafters! We are pleased to announce the release of version `2.26` of snapcraft has been released: https://launchpad.net/snapcraft/+milestone/2.26 This release is now available on xenial-updates, yakkety-updates and zesty. What follows are the full release notes (the prettier version ca

Re: Vala and Snapcraft. Issues with a library part in Vala.

2017-02-02 Thread Sergio Schvezov
On Thu, 2 Feb 2017 19:18:07 +0100, Luca Dionisi wrote: > Yes. It is indeed doing the trick. > Probably better yet, I should add a "vapidir" variable to the *.pc > file of my Vala libraries and use it in dependent projects. > That is, in configure.ac: > PKG_CHECK_VAR([LIBX_VAPIDIR], [mylib-x], [vapi

Re: Vala and Snapcraft. Issues with a library part in Vala.

2017-02-02 Thread Sergio Schvezov
On Thu, 2 Feb 2017 18:52:02 +0100, Luca Dionisi wrote: > On Thu, Feb 2, 2017 at 4:55 PM, Sergio Schvezov > wrote: >> Does your configure have something like >> >> ./configure --with-extra-vapi-dir >> >> ? >> >> If so, try doin

Re: Vala and Snapcraft. Issues with a library part in Vala.

2017-02-02 Thread Sergio Schvezov
On Thu, 2 Feb 2017 16:22:52 +0100, Luca Dionisi wrote: > Maybe I found my error. It is in (lack of) usage of data from > pkg-config files. Thus it is not strictly related to snapcraft. > When mylib-x is built (and staged) by snapcraft the corresponding > mylib-x.pc file is saved in [...]/stage/[...

Re: my qt app hello-world

2017-02-02 Thread Sergio Schvezov
On Thu, 2 Feb 2017 15:53:33 +0300, Vasilisc wrote: > Please, help me. I have qt-app HelloWorld. I create HelloWorld in QtCreator. > > /sp/qt1/ $ tree qtprogram1 > qtprogram1 > ├── qt1 > │ ├── main.cpp > │ ├── mainwindow.cpp > │ ├── mainwindow.h > │ ├── mainwindow.ui > │ ├── qt1.pro > │

Re: Changing default snapcraft behavior and erroring on missing libraries

2017-02-01 Thread Sergio Schvezov
El miércoles, 1 de febrero de 2017 05h'40:03 ART, Didier Roche escribió: 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,

Re: Please test my asciinema snap

2017-01-31 Thread Sergio Schvezov
To followup here for those not tracking the bug about trusty: https://asciinema.org/a/1bwmj57y51i25afq0ss54q0iz This will be available when using snapcraft 2.27 if no major blocker shows up (two PRs need to land). -- Sent using Dekko from my Ubuntu device -- Snapcraft mailing list Snapcraft@

Re: Changing default snapcraft behavior and erroring on missing libraries

2017-01-31 Thread Sergio Schvezov
On Tue, 31 Jan 2017 12:55:19 -0500, Bill Filler wrote: > On Tue, Jan 31, 2017 at 12:02 PM, Kyle Fazzari > wrote: > >> >> >> 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

Re: Changing default snapcraft behavior and erroring on missing libraries

2017-01-31 Thread Sergio Schvezov
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 Jyrinki >>> wrote: >>>>> Do we have a clear

Re: ubuntu-app-platform updated to Qt 5.6.2

2017-01-31 Thread Sergio Schvezov
On Tue, 31 Jan 2017 16:21:41 +0100, Olivier Tilloy wrote: > On Tue, Jan 31, 2017 at 2:12 PM, Timo Jyrinki > wrote:

Re: ubuntu-app-platform updated to Qt 5.6.2

2017-01-30 Thread Sergio Schvezov
On Mon, 30 Jan 2017 15:33:54 +0200, Timo Jyrinki wrote: > Hi Dan (and Matthias), > > We tested among else webbrowser, UITK gallery and calendar app and > they run fine. We didn't anticipate problems, but as there are this > would then be the point to introduce "ubuntu-app-platform2" (currently > at

Re: A UX question about requiring users to pass in --classic

2017-01-27 Thread Sergio Schvezov
On Fri, 27 Jan 2017 17:40:13 +, Adam Stokes wrote: > Since releasing the conjure-up snap I have gotten a few questions as to why > we have to pass in --classic when the snapcraft.yaml defines the > confinement mode already. > > I understand that this is similar to if a user was to snap install

Re: Creating a snap using make or autotools

2017-01-26 Thread Sergio Schvezov
On Thu, 26 Jan 2017 06:55:32 +, Luther Goh Lu Feng wrote: > This probably isn't the right place to ask, but I thought I > should ask in case it does matter in the context of snapping: > when creating a snap of say, a hello world program in C[1], > should I use the make or autotools plugin?

Re: CUPS in a snap: avahi-daemon needed

2017-01-25 Thread Sergio Schvezov
On Wed, 25 Jan 2017 13:43:43 -0500, Jim Hodapp wrote: > I'm not exactly sure how functional it is in the snapweb package, but you > can see that snapweb does package and use avahi to provide the ability to > type a mdns address into a browser to get to the snapweb store by default: > > https://gith

Re: Please test my asciinema snap

2017-01-24 Thread Sergio Schvezov
On Wed, 25 Jan 2017 08:17:17 +1300, Michael Hudson-Doyle wrote: > Hm, I was assuming that the PYTHONHOME leaking was due to things in the > snap specifically (is the source to the snap available?), but are they set > by snapd or snap-confine or something? Might be easier to follow in the bug Dave

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Sergio Schvezov
On Thu, 19 Jan 2017 07:58:53 -0700, Oliver Ries wrote: > On Thu, Jan 19, 2017 at 2:49 AM, Jamie Bennett > wrote: > >> Hi Tonny, >> >> A quick grep of the snapd source code shows that /dev/rfkill is part of >> the network-control and network-manager interfaces. >> > > this method (grep the code) ha

Snapcraft 2.25 has been released.

2017-01-19 Thread Sergio Schvezov
Hello snapcrafters! We are pleased to announce the release of version `2.25` of snapcraft has been released: https://launchpad.net/snapcraft/+milestone/2.25 This release is now available on xenial-updates, yakkety-updates and zesty. What follows are the full release notes (the prettier version c

Snapcraft 2.25 has been released

2017-01-19 Thread Sergio Schvezov
Hello snapcrafters! We are pleased to announce the release of version `2.25` of snapcraft has been released: https://launchpad.net/snapcraft/+milestone/2.25 This release is now available on xenial-updates, yakkety-updates and zesty. What follows are the full release notes (the prettier version c

Re: Error using custom image

2017-01-18 Thread Sergio Schvezov
On Wed, 18 Jan 2017 18:42:27 +, Luke Williams wrote: > Hello, > > We are trying to build a custom image with a custom kernel. The > kernel build and making the image goes without a hitch, however, > when we try to run it in Virtual Box, we get the following > error: > > > > And it fails to l

Re: Please test my asciinema snap

2017-01-18 Thread Sergio Schvezov
On Wed, 18 Jan 2017 11:41:49 +, Dave Morley wrote: > On Wed, 18 Jan 2017 04:16:45 -0500 > Mark Shuttleworth wrote: > >> Hi folks >> >> (For those of you who Gmail does not filter this email on >> as-yet-unexplained-grounds :)) >> >> Please could you test my asciinema snap? Asciinema is a con

Re: Classic confinement and core_dynamic_linker

2017-01-18 Thread Sergio Schvezov
On Wed, 18 Jan 2017 08:58:00 -0200, Gustavo Niemeyer wrote: > Hi Sergio, > > The question asked was actually how to get snapcraft to include > dependencies *inside the snap* so that it works as it does with strict > snaps, bundling the dependencies. The recomended way to add a library to your snap

Re: Classic confinement and core_dynamic_linker

2017-01-18 Thread Sergio Schvezov
On Tue, 17 Jan 2017 23:17:27 +0100, Joseph Rushton Wakeling wrote: > On 17/01/17 22:22, Sergio Schvezov wr

Re: Please test my asciinema snap

2017-01-18 Thread Sergio Schvezov
On Wed, 18 Jan 2017 10:40:47 +, Jamie Bennett wrote: > On 18/01/17 at 04:19am, Mark Shuttleworth wrote: >> >> ... you may also need to enable xenial-proposed main in >> /etc/apt/sources.list to make sure you have the very latest snapd. > > Yes, classic needs snapd 2.21 from proposed otherwise

Re: Classic confinement and core_dynamic_linker

2017-01-18 Thread Sergio Schvezov
On Wed, 18 Jan 2017 08:58:00 -0200, Gustavo Niemeyer wrote: > Hi Sergio, > > The question asked was actually how to get snapcraft to include > dependencies *inside the snap* so that it works as it does with strict > snaps, bundling the dependencies. > > Your response was about system libraries rath

Re: Classic confinement and core_dynamic_linker

2017-01-17 Thread Sergio Schvezov
On Tue, 17 Jan 2017 23:17:27 +0100, Joseph Rushton Wakeling wrote: > On 17/01/17 22:22, Sergio Schvezov wr

Re: Classic confinement and core_dynamic_linker

2017-01-17 Thread Sergio Schvezov
On Tue, 17 Jan 2017 22:11:57 +0100, Joseph Rushton Wakeling wrote: > On 14/01/17 03:26, Sergio Schvezov wrote: >> A generic solution for build systems and CI is being worked on. >> >> Thanks for taking notice. > > Ah, OK, thanks. Please do ping me if there is work-i

Re: Snapping with scons

2017-01-17 Thread Sergio Schvezov
On Tue, 17 Jan 2017 00:35:13 -0700, Spencer Parkin wrote: > Okay, maybe no one knew what I was taking about. In any case, for the > record, I've resolved the issue by using relative paths in my SConstruct > file that would only work during snapping. This doesn't cause an issue > with normal devel

Re: Classic confinement and core_dynamic_linker

2017-01-13 Thread Sergio Schvezov
El 13 ene. 2017 10:47 PM, "Joseph Rushton Wakeling" < joseph.wakel...@webdrake.net> escribió: Hello all, Hearing about classic confinement was rather exciting given that it seems tailor-made for the use-cases of my current WiP snaps for the ldc2 D compiler and the dub D build system: https://gith

Re: Using Launchpad to build snaps

2017-01-05 Thread Sergio Schvezov
El 30/11/16 a las 00:54, Colin Watson escribió: On Wed, Nov 30, 2016 at 02:49:50AM +, Evan Dandrea wrote: Can you elaborate on what you mean by "a regular user cannot use Launchpad to build snap packages"? Is it just that your build needs to access the Internet outside of the snapcraft pull

Re: Can a snapcraft plugin bring in stage packages and declare plugs?

2017-01-05 Thread Sergio Schvezov
El 05/01/17 a las 09:31, Alberto Mardegan escribió: Hi all! I'm working on simplifying the process for creating snaps of webapps. I've tried building a part, but that doesn't seem to work (see https://lists.ubuntu.com/archives/snapcraft/2016-December/002186.html -- comments welcome, by the wa

Re: Snapcraft tool under debian armhf

2017-01-04 Thread Sergio Schvezov
El 04/01/17 a las 15:32, Boris Rybalkin escribió: Great, that is what I was looking for! If you want to however give snapcraft a try on debian you just need to git clone https://github.com/snapcore/snapcraft.git and read HACKING.md in there. -- Snapcraft mailing list Snapcraft@lists.snap

Re: How to set arch for stage-packages?

2017-01-04 Thread Sergio Schvezov
El 04/01/17 a las 13:57, Andrey Rogovsky escribió: Hi! I need add few i386 packages to support my 32bit binary for amd64 systems: ... parts: packages: plugin: nil stage-packages: - libstdc++6:i386 ... But when I try pull - I get error: # snapcraft pull Skipping pull bluequest (alread

Re: man: command not found

2017-01-04 Thread Sergio Schvezov
El 16/12/16 a las 03:24, Luther Goh Lu Feng escribió: I was surprised that man wasn't present. Is this intended, and if so, what is the rationale. Thanks. Not present where? If you refer to Ubuntu Core, then that is correct, it is core after all and every bit/byte counts. This is one of the

Re: Issues generating snap

2017-01-03 Thread Sergio Schvezov
El 03/01/17 a las 15:39, Gareth France escribió: On 03/01/17 12:14, Sergio Schvezov wrote: Well it eases me to know that we test this as an autopackage test and I just ran this in a clean yakkety container to double check http://paste.ubuntu.com/23733207/ Is there some missing bit of

Re: Issues generating snap

2017-01-03 Thread Sergio Schvezov
El 01/01/17 a las 18:18, Gareth France escribió: Snapcraft version 2.24+16.10 Ubuntu version 16.10 I am building the hello world example from the snap tour. Below is the full output: snapcraft "grade" property not specified: defaulting to "stable" Use of build-properties in the schema is depre

Re: Package naming clashes

2017-01-03 Thread Sergio Schvezov
Hi! El 03/01/17 a las 06:42, Luther Goh Lu Feng escribió: I am sure that there is precedence and guidelines in place, but I couldn't to find the search result. Say someone in the community builds a snap for nginx, and later doesnt keep the snap up to date. Then another person builds a more up

Re: lxc not working in classic on pi?

2017-01-03 Thread Sergio Schvezov
El 02/01/17 a las 16:57, Dan Kegel escribió: I have a script from a classic ubuntu environment that wants to be able to create lxc containers on the fly. I tried running it on ubuntu core on the pi3, in the classic environment, but it failed: (classic)user@localhost:~$ sudo apt install lxc ...

Re: Issues generating snap

2017-01-01 Thread Sergio Schvezov
El 01/01/17 a las 18:09, Gareth France escribió: Firstly as a new member of the group I'd like to say hi and sorry if this is not the correct place for this sort of question, if not please do point me in the right direction. Hello! I've installed snapcraft and I'm just running through t

Re: Snapped apps using su/sudo

2016-12-28 Thread Sergio Schvezov
El 27/12/16 a las 14:18, Alberto Donato escribió: On Thu, Dec 22, 2016 at 11:14 PM, Sergio Schvezov mailto:sergio.schve...@canonical.com>> wrote: El 19 dic. 2016 11:11 AM, "Alberto Donato" mailto:alberto.don...@canonical.com>> escribió: Hi,

Re: Image based upgrades

2016-12-24 Thread Sergio Schvezov
El 22 dic. 2016 9:19 PM, "Luther Goh Lu Feng" escribió: I read with interest on image based upgrades[1]. May I ask if some of those concepts are already implemented or planned for in Ubuntu core? I would like to know what is the current plans and thinking with regards to this. Thanks. Ubuntu Co

Re: Tutorial: how to give apps alias name?

2016-12-24 Thread Sergio Schvezov
El 23 dic. 2016 8:22 AM, "Claudio André" escribió: 2016-12-23 5:12 GMT-02:00 XiaoGuo Liu : > You need to have snap 2.20 and snapcraft 2.24 to support it. > Hi, I have a doubt; the final user is the one that has to have an updated snapd environment. Since, we cannot control this: - I guess nothi

Re: Snapped apps using su/sudo

2016-12-22 Thread Sergio Schvezov
El 19 dic. 2016 11:11 AM, "Alberto Donato" escribió: Hi, I'm trying to create a snap for sshuttle, the ssh-based VPN app. One of its components (the firewall manager) needs to either be run as root, or use su/sudo to be able to configure firewall rules. The app uses an "if os.getuid() != 0" to

Re: Snapping applications that uses keyring

2016-12-22 Thread Sergio Schvezov
El 21 dic. 2016 3:16 PM, "Kyle Fazzari" escribió: Hey all. Has anyone tried to snap an application that uses a keyring to store passwords? I took a crack at the Nextcloud desktop client yesterday, and as it stands right now I need to enter my Nextcloud password every time I start it up as it has

Snapcraft 2.24 has been released

2016-12-22 Thread Sergio Schvezov
Hello snapcrafters! We are pleased to announce the release of version `2.24` of snapcraft has been released: https://launchpad.net/snapcraft/+milestone/2.24 Here's the list of features that you can find in this new release: - Experimental `classic` confinement allowing to create snaps for non

Re: Out of date documentation on snapcraft.io

2016-12-15 Thread Sergio Schvezov
Done El 15 dic. 2016 4:36 AM, "Sebastien Bacher" escribió: > Le 15/12/2016 à 02:27, Leo Arias a écrit : > > Here's a bug for that: > > https://bugs.launchpad.net/snapcraft/+bug/1627781 > > > > But it needs triaging, because I'm not sure if we should fix > > snapcraft, or fix the doc. > > Please

Re: Snapcraft's state tracking improvements

2016-12-14 Thread Sergio Schvezov
El 14/12/16 a las 03:02, Didier Roche escribió: Le 13/12/2016 à 22:57, Kyle Fazzari a écrit : Hey everyone. Hey Kyle I feel it coming on... this is going to be a tome. tl;dr... snapcraft could be smarter than it is. But would that lead to its doing more for you than you want? We'd like to fi

Re: Snapcraft's state tracking improvements

2016-12-14 Thread Sergio Schvezov
El 13/12/16 a las 21:27, Seth Arnold escribió: On Tue, Dec 13, 2016 at 01:57:20PM -0800, Kyle Fazzari wrote: *Option 2*: Automatically take care of everything. If you modify a part with dependencies, snapcraft will rebuild those dependencies as it sees fit without your needing to say so. Similar

Re: Daemon: dbus examples

2016-12-12 Thread Sergio Schvezov
El 12/12/16 a las 18:33, Jamie Strandboge escribió: 2. snapcraft doesn't allow you to specify it (which is good since the implementation doesn't work correctly) This is because we agreed to bring it back in 16 with a more integrated/polished design. I believe the code in snapd are just remn

Re: Ubuntu 16.04, which version of snapcraft

2016-12-07 Thread Sergio Schvezov
El 07/12/16 a las 08:54, Jenny Murphy escribió: Hi, Up to now I had a target platform running Snappy Ubuntu 15.04. I was building the .snap to run on this using snapcraft 1.1.0. The platform I used to build the .snap was running Ubuntu 14.04. To summarize, I was running snapcraft 1.1.0 on Ubu

Re: is there an Avahi (mDNS) service snap?

2016-11-29 Thread Sergio Schvezov
El 29/11/16 a las 12:42, George Gross escribió: Hi, I'm a Ubuntu Snap newbie, so if there is a readily available and reliable web database stating which Debian packages have been converted into snaps, please direct me to that web link, as that would help me a lot to get oriented. My question

Re: WIP snap for 0ad

2016-11-18 Thread Sergio Schvezov
El 18/11/16 a las 10:37, Jamie Strandboge escribió: On Fri, 2016-11-18 at 13:13 +0100, Olivier Tilloy wrote: Hi everyone, I’ve been working on snapping up 0ad¹ as a side project, and I’m at the point where I’ve got it to run fully confined. I’ve had to modify the generated seccomp profile fo

Re: Cross platform snap creation?

2016-11-16 Thread Sergio Schvezov
El 16/11/16 a las 03:20, Rex Tsai escribió: I also have a Electron app, just need to finalized the parts plugin[2] for generic Electron build script. The current docker/snapcraft does not handle multi-arch yet though. Good stuff, mind creating a PR to get the ball rolling? [1] _https:/

Re: snapd-glib 1.3 released

2016-11-15 Thread Sergio Schvezov
El 15/11/16 a las 05:52, Robert Ancell escribió: On Mon, Nov 14, 2016 at 10:44 PM Zygmunt Krynicki > wrote: Speaking about releases, we have a dedicated list for announcing releases, the snapcraft-relea...@snapcraft.io

Re: configure hook

2016-11-14 Thread Sergio Schvezov
El 14/11/16 a las 18:35, Boris Rybalkin escribió: VM has snapd v2.17, is it possible to install this version on desktop 16.04/16.10 so I can have it for integration tests? It is in xenial-proposed https://launchpad.net/ubuntu/+source/snapd If you want the latest and greatest at all times (non p

Re: Error on compiling snap using wxPython

2016-11-08 Thread Sergio Schvezov
El 07/11/16 a las 10:12, Didier Roche escribió: How could I found the PYTHON_PATH from the parts ? I found that's not possible to download wxPython from PyPI so I can't use python-packages either. So I suppose that I need a Makefile, where I can specify the PYTHON_PATH. What do you think ? Wh

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

2016-11-01 Thread Sergio Schvezov
El 01/11/16 a las 23:31, Joseph Rushton Wakeling escribió: On 27/10/16 22:13, Joseph Rushton Wakeling wrote: On 27/10/16 08:37, Didier Roche wrote: I would look at /var/log/syslogs. Apparmor and seccomp denials are listed there. Note that if you didn't already, you should really start develop

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

2016-10-31 Thread Sergio Schvezov
El 31 oct. 2016 6:25 PM, "Kyle Fazzari" escribió: > > > > On 10/29/2016 08:14 AM, Joseph Rushton Wakeling wrote: > > On 27/10/16 10:27, Didier Roche wrote: > >> Just a note: after a quick double checking , the snapcraft go plugin > >> relies on ubuntu packages (I think it should rather download la

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

2016-10-29 Thread Sergio Schvezov
El 27/10/16 a las 17:13, Joseph Rushton Wakeling escribió: On 27/10/16 08:37, Didier Roche wrote: It would be great to have D support! Thanks for working on that :) Great to hear :-) Just to be clear, it's already in principle possible to package D applications as snaps; DUB support isn't

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

2016-10-29 Thread Sergio Schvezov
El 27/10/16 a las 05:27, Didier Roche escribió: Just a note: after a quick double checking , the snapcraft go plugin relies on ubuntu packages (I think it should rather download latest stable go and use GOROOT to use it). This isn't the case for other plugins like nodejs which was the one I had i

Re: Python 3 plugin sanity checking

2016-10-29 Thread Sergio Schvezov
El 29/10/16 a las 10:44, Mark Shuttleworth escribió: On 28/10/16 23:27, Barry Warsaw wrote: Wouldn't it make sense for the Python 3 plugin to either automatically include the stdlib (e.g. usr/lib) or complain loudly if it's not included explicitly in the resulting snap? Yes, it helps when the

Re: Host tools in snap shell

2016-10-25 Thread Sergio Schvezov
El 25/10/16 a las 12:05, Alberto Mardegan escribió: Hi all! I've a weird issue in my snap which needs some debugging. I understand that snap run --shell is the command I want to use in order to start a shell with the same confinement and environment of my snap (which BTW is in --devmode)

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

2016-10-25 Thread Sergio Schvezov
El 24/10/16 a las 11:54, Didier Roche escribió: Also, I don't see any reason why we are preventing underscores in app name (nothing in yaml prevents key to be underscores). I don't link such command name in general, but I don't see any good reasons for this. Gustavo, is that deliberate? Jami

Re: Missing environment variables

2016-10-23 Thread Sergio Schvezov
El 22/10/16 a las 11:11, Gustavo Niemeyer escribió: If there's a recommendation, I'd suggest recommending the last known stable, as the pace has been so fast that there are significant benefits of running a more recent version. We also have a mechanism snaps can use to declare the dependen

Re: Missing environment variables

2016-10-23 Thread Sergio Schvezov
El 21/10/16 a las 22:41, Gustavo Niemeyer escribió: Hey Aaron, The most likely cause is, as you suspected, an out of date snapd. SNAP_COMMON was introduced some time after 16.04 (don't have exact version at hand right now). With recent versions of snapd, the running infrastructure was sign

Re: Variables in snapcraft.yaml?

2016-10-15 Thread Sergio Schvezov
Hello there, thanks for your interest in improving snapcraft. El sábado, 15 de octubre de 2016 19h'46:35 ART, Dan Kegel escribió: I should think a simple general variable expansion in all string values would suffice for my use case. More complex use cases would be better served by generating

Re: Errors building custom ubuntu-core images

2016-10-14 Thread Sergio Schvezov
El 14/10/16 a las 05:14, John Lenton escribió: On 14 October 2016 at 01:32, Luke Williams wrote: I’m getting http 500 errors when I try anything other than the stable channel…. those 500s come from the CDN; can you retry? (snapcraft should retry 500s on download; we'll get to that at some po

Re: Removing a key

2016-10-14 Thread Sergio Schvezov
El 13/10/16 a las 20:11, Luke Williams escribió: Probably should remove this from the auto respond message then A new account key has been registered to your account on the Ubuntu Store and can now be used to sign snap packages. The new key has SHA3-384 fingerprint '_CH8OBZNar1bC5Zftf7b

  1   2   >