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: 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: 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: 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: 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: 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: 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-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: 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-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: 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 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-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: 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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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-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: 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: 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: 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 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

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: 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

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 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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 >

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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

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: 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: 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: snapcraft cleanbuild problem

2016-08-08 Thread Sergio Schvezov
El 08/08/16 a las 11:42, Cemil Azizoglu escribió: > Hi, > > I've created a snap for mesa demos [1, 2] to add to the playpen. While > building using "snapcraft cleanbuild" I'm getting "500 Internal Server > Error" [3]. My lxc/lxd setup looks sane. Any ideas what might be wrong? This may be rela

Re: ntopng strict snap published

2016-08-08 Thread Sergio Schvezov
El 08/08/16 a las 13:35, Blake Rouse escribió: > Good news. > > Upstream has merged my pull request that places the snapcraft.yaml in > the root of the project. Nice! > I now have a question on how I can provide them with an account that > will allow them to upload as ntopng. Currently ntopng

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

2016-08-10 Thread Sergio Schvezov
El 10/08/16 a las 03:14, Didier Roche escribió: > Le 09/08/2016 à 23:41, Joe Talbott a écrit : > Namespacing was really nice for things like desktop/ parts > (desktop/gtk3, desktop/gtk2, desktop/qt5, desktop/qt4, > desktop/glibonly). There is as well mqtt-paho/python2 and > pqtt-patho/python3. I

ANN: snapcraft 2.14 has been released

2016-08-10 Thread Sergio Schvezov
Hi there, just in case people are not on the announce list (you should if you care about these ANN emails), here's the announcement email link: https://lists.ubuntu.com/archives/snapcraft-announce/2016-August/00.html If you prefer formatted text the same content can be seen here: https://git

Re: my snap cannot be build anymore - 'ascii' codec can't encode character

2016-08-16 Thread Sergio Schvezov
El 16/08/16 a las 11:22, Oliver Grawert escribió: > hi, > On Di, 2016-08-16 at 16:17 +0200, Pawel Stolowski wrote: >> Hi, >> >> I'm getting the following error when trying to 'snapcraft >> cleanbuild' >> ... >> Processing triggers for ureadahead (0.100.0-19) ... >> 'ascii' codec can't encode cha

Re: Putting git inside a snap

2016-08-16 Thread Sergio Schvezov
El 16/08/16 a las 20:28, Marco Ceppi escribió: > Thanks for the hint, I've added that to my snapcraft.yaml but I'm still > getting the same error. What's the best way to troubleshoot this, is > there a way to 'enter' the snap environment and poke the git command? Create a new `apps` entry like t

Re: Putting git inside a snap

2016-08-17 Thread Sergio Schvezov
El 17/08/16 a las 10:36, Marco Ceppi escribió: > On Tue, Aug 16, 2016 at 10:11 PM Sergio Schvezov > mailto:sergio.schve...@canonical.com>> > wrote: > > Create a new `apps` entry like this > > apps: >sh: >command: bash >

Re: ANN: snapcraft 2.14 has been released

2016-08-17 Thread Sergio Schvezov
El 17/08/16 a las 22:47, David Chen escribió: > Hi Sergio, > > Do you know where I can find examples for new plugins `dump`, `rust` and > `godeps`? For godeps look at the juju folk (ping balloons on irc). For dump, it is pretty straightforward, the tomcat maven example/demo in the sources use it.

Re: ubuntu login on Snappy Ubuntu Core

2016-08-18 Thread Sergio Schvezov
El 18/08/16 a las 08:37, Jenny Murphy escribió: > Hi, > Is it possible that the ubuntu login on a Snappy Ubuntu Core platform > can expire. > Up to one month ago I was logging in with username ubuntu and the > password ubuntu. > Now access is denied with that password. > I am grateful for any s

Re: ubuntu login on Snappy Ubuntu Core

2016-08-18 Thread Sergio Schvezov
Disregard my previous email, my mind was set to snapd and store communication. Sorry about that El 18/08/16 a las 08:37, Jenny Murphy escribió: > Hi, > Is it possible that the ubuntu login on a Snappy Ubuntu Core platform > can expire. > Up to one month ago I was logging in with username ubuntu

Re: Build snaps in container

2016-08-23 Thread Sergio Schvezov
El 23/08/16 a las 07:33, Loïc Minier escribió: > Hi, > > On Tue, Aug 16, 2016 at 3:39 PM, Matt Bruzek > mailto:matthew.bru...@canonical.com>> wrote: > > It is also available on docker hub: > https://hub.docker.com/r/jujusolutions/snapbox/ >

Re: File permissions within a snap

2016-08-25 Thread Sergio Schvezov
El jueves, 25 de agosto de 2016 08h'31:34 ART, Jenny Murphy escribió: Hi, Unfortunately, either inside or outside quotes it is still blank. Do you have a link to that hello world example you mentioned. The previous reply (from yesterday) mentioned the use of interfaces, maybe this would be cl

Re: Setting release version in snapcraft build

2016-09-01 Thread Sergio Schvezov
El 01/09/16 a las 14:05, Casey Marshall escribió: When automating the build process for snaps, I'd like to be able to provide the release version as an argument to snapcraft, which could then be used as a variable in the snapcraft.yaml. For example, say I'd like to release "foo" version "1.2.3

Re: Setting release version in snapcraft build

2016-09-01 Thread Sergio Schvezov
Readding the list El 01/09/16 a las 14:27, Casey Marshall escribió: On Thu, Sep 1, 2016 at 12:15 PM, Sergio Schvezov mailto:sergio.schve...@canonical.com>> wrote: El 01/09/16 a las 14:05, Casey Marshall escribió: When automating the build process for snaps, I'd like

Re: Snapping LDC (LLVM-based D compiler)

2016-09-01 Thread Sergio Schvezov
El 01/09/16 a las 18:06, Joseph Rushton Wakeling escribió: On 31.08.2016 21:35, Joseph Rushton Wakeling wrote: First things first, run `snapcraft stage`. Then edit the auto-generated stage/etc/ldc2.conf and replace it with this: https://gist.github.com/WebDrake/229645efeca14fa54b0b1c82bcbb647

Re: Let's kill "sideloading"

2016-09-02 Thread Sergio Schvezov
El 02/09/16 a las 11:10, Gustavo Niemeyer escribió: On Fri, Sep 2, 2016 at 10:35 AM, Tony Espy > wrote: On 09/01/2016 06:15 PM, Gustavo Niemeyer wrote: Hello all, With assertions finally being put to great use, it's time to kill the

Re: PostgreSQL 9.6 snap and feedback

2016-09-02 Thread Sergio Schvezov
El 02/09/16 a las 08:29, Mark Shuttleworth escribió: >Usability is currently poor. PostgreSQL is cli heavy, so having all >the well known commands with munged names like >'postgresql-9-6.pg-dump' instead of 'pg_dump' would stop adoption all >by itself. I understand that this is being addressed, a

Re: PostgreSQL 9.6 snap and feedback

2016-09-02 Thread Sergio Schvezov
El 02/09/16 a las 13:59, Michael Hall escribió: On 09/02/2016 12:29 PM, Sergio Schvezov wrote: El 02/09/16 a las 08:29, Mark Shuttleworth escribió: Usability is currently poor. PostgreSQL is cli heavy, so having all the well known commands with munged names like 'postgresql-9-6.pg

Re: PostgreSQL 9.6 snap and feedback

2016-09-02 Thread Sergio Schvezov
El 02/09/16 a las 14:15, Michael Hall escribió: On 09/02/2016 01:06 PM, Evan Dandrea wrote: On Fri, 2 Sep 2016 at 04:30 Mark Shuttleworth mailto:m...@ubuntu.com>> wrote: Remember they can also build postgres INTO their own snap (and it actually might be worth exporting a shared pg p

snapcraft's python plugins, road ahead and changes.

2016-09-02 Thread Sergio Schvezov
Hi there, after seeing many problems with the current python plugins I decided to overhaul them. It has basically been re-written, fixing many bugs and annoyances. Among those nice things these changes provide are: smaller resulting snaps, easier iteration, wheel support and a clear separation

Re: snapcraft's python plugins, road ahead and changes.

2016-09-02 Thread Sergio Schvezov
El 02/09/16 a las 14:58, Érico P escribió: Hey Sergio, I have tried to use the python plugin before but had some trouble relating to encodings. Posted here a question http://askubuntu.com/questions/783758/self-built-snap-run-fail-on-locale-error I addressed that on askubuntu. What do I

Re: DEPRECATED: 'license' defined in snapcraft.yaml

2016-09-05 Thread Sergio Schvezov
El 05/09/16 a las 11:38, Jamie Bennett escribió: On 05/09/16 at 01:34pm, Simon Fels wrote: On 05.09.2016 13:31, Jamie Bennett wrote: On 05/09/16 at 07:06pm, Stuart Bishop wrote: On 5 September 2016 at 18:08, David Callé wrote: > License files can be copied across if they are presen

Re: Auto start of snap application on boot up

2016-09-08 Thread Sergio Schvezov
El 08/09/16 a las 16:10, Daniel Manrique escribió: On Thu, Sep 8, 2016 at 3:05 PM, Jenny Murphy wrote: Hi, I would like my snap application to start automatically when the system boots. On a non snappy platform I would add the start line to /etc/rc.local, but I see that this is not possible

Re: First time snapcraft user having issues

2016-09-13 Thread Sergio Schvezov
El 14/09/16 a las 00:08, Robert Park escribió: Hi all, So I want to snap up a script that needs root and does administrative stuff on the host system. I realize this goes against snaps' goals of being all secure and confined, is there any way I can list a plug in my 'plugs:' that would give me

Re: First time snapcraft user having issues

2016-09-14 Thread Sergio Schvezov
El 14/09/16 a las 12:08, Akash Chandrashekar escribió: Additionally if you want to figure out things like how apparmor blocks certain things and resolve them you can follow /var/log/syslog. Preferably `snap install snappy-debug` and use that :-) http://askubuntu.com/questions/783979/how-d

Re: First time snapcraft user having issues

2016-09-14 Thread Sergio Schvezov
El 14/09/16 a las 14:11, Robert Park escribió: On Wed, Sep 14, 2016 at 7:53 AM, Kyle Fazzari wrote: On 09/13/2016 08:08 PM, Robert Park wrote: So I want to snap up a script that needs root and does administrative stuff on the host system. I realize this goes against snaps' goals of being all s

Re: candidate/release

2016-09-15 Thread Sergio Schvezov
El jueves, 15 de septiembre de 2016 18h'37:00 ART, Mark Shuttleworth escribió: On 15/09/16 14:28, Spencer Parkin wrote: I'm embarrassed to say that while, supposedly, I have published a candidate and a stable release, I have no idea how to "go get them" the same way that, say, a user would. I

Re: non-free

2016-09-18 Thread Sergio Schvezov
El sábado, 17 de septiembre de 2016 17h'58:29 ART, Mark Shuttleworth escribió: On 17/09/16 08:56, Spencer wrote: I see. Well, I'm not sure what the answer should be, but I can tell you that it being "non-free" is a significant deterrent against anyone downloading and installing this or anyone'

Re: Setting release version in snapcraft build

2016-09-19 Thread Sergio Schvezov
Sorry for the late reply El 08/09/16 a las 11:28, Olivier Tilloy escribió: That would work for me too. Is there a bug report I can subscribe to to follow progress/implementation? LP: #1594794 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://li

Re: Using xdg-open from snap

2016-09-21 Thread Sergio Schvezov
El 21/09/16 a las 08:18, Gustavo Niemeyer escribió: That was a good explanation indeed, thanks John. Can we do something better than just recommend it on classic? The feature is common enough that this should be a requirement, I think. Even though Recommends doesn't sound like a fit, this

Re: Python2 plugin deprecated, but new plugin not documented?

2016-10-03 Thread Sergio Schvezov
El 02/10/16 a las 11:05, Marco Ceppi escribió: Hello, I'm trying to do another clean build of my snap, this is a 0 change build, but I've got a few problems. After updating to the latest snapcraft (2.18.1), I'm getting a few new error messages and a snap that's 1/2 the size but no longer work

Re: Python2 plugin deprecated, but new plugin not documented?

2016-10-03 Thread Sergio Schvezov
El 03/10/16 a las 14:38, Marco Ceppi escribió: Hi Sergio, This is my snap: https://gist.github.com/marcoceppi/6a0b0bfe9a541162a0e9b18fe6e44ac4 When running after it builds, I get errors about failure to import lazr.restfulclient.resource despite it being present in the snap file system. Th

Re: Python2 plugin deprecated, but new plugin not documented?

2016-10-03 Thread Sergio Schvezov
El 03/10/16 a las 16:47, Marco Ceppi escribió: Hi Sergio, Sorry, replication instructions are as follows: export JUJU_REPOSITORY=$(mktemp -dp $HOME) cd $JUJU_REPOSITORY charm pull-source ~marcoceppi/charm-svg . This will trigger the error. Anytime the code path needs to interact with launch

Re: How to tell dump plugin to only copy a specific file

2016-10-03 Thread Sergio Schvezov
El 03/10/16 a las 19:45, Omer Akram escribió: Hi! I have a very simple python application with a library part and a launcher. The library is being compile by the `python` plugin and I am copying the launcher with `dump` plugin. It works but it seems that the dump plugin copies all the undes

  1   2   >