/srv/irclogs.ubuntu.com/2016/06/15/#snappy.txt

TheMusoI'm working on a snap that is command-line tools, but it has multiple command-line tools. When installing the snap, I notice the files in /snap/bin are renamed snapname.command... Any way to work around this in snapcraft.yaml, or is this by design?03:55
jdstrandniemeyer1: done04:37
lpotter_TheMuso: that's the design05:21
jdstrandChipaca: hey, when you have a moment can you help me debug a testsuite issue?05:44
TheMusolpotter_: Urm ok.05:45
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
Gunther_Good morning! Is there a way in vivid, to influence ubuntu-device-flash so that I am able to set a custom static ip (instead of dhcp)? How can I change the "ubuntu" user or its password. I want to do this changes to the image at time of creation.06:50
trijntjeHi all, I'm trying to get started using snaps by following the webcam tutorial on the site. I've got the snap to build, but when I install it with sudo snap install webcam_0.1_amd64.snap I dont know where it went06:57
=== chihchun_afk is now known as chihchun
tsimonq2!info kde4-config yakkety07:11
ubottuPackage kde4-config does not exist in yakkety07:11
tsimonq2!info kde-config yakkety07:11
ubottuPackage kde-config does not exist in yakkety07:11
tsimonq2hmm07:11
tsimonq2!info kdelibs-bin07:12
ubottukdelibs-bin (source: kde4libs): core executables for KDE Applications. In component universe, is optional. Version 4:4.14.16-0ubuntu3 (xenial), package size 181 kB, installed size 791 kB07:12
tsimonq2\o/07:12
nhainesI'm sort of curious as to how far out the pulseaudio socket is from landing in snapd.  :)07:16
tsimonq2^ yeah that would be nice07:16
=== chihchun is now known as chihchun_afk
nhainesI have a cute little script whose only function is to throw sound at the speakers.  I'd love to snappify it.07:18
tsimonq2nhaines: link? :D07:19
trijntjeShould snap packages work in a normal 16.04 system? I've tried to install the 'hello' package with 'sudo snap  install hello', but when I run it I get  failed to create user data directory. errmsg: Permission denied07:21
tsimonq2trijntje: I am getting that exact same error on my machine, I think it's been reported already, but I could be wrong07:22
nhainestsimonq2: oh, I should probably put it on LP or at least a bzr directory...07:22
nhaineshttp://www.apress.com/9781484206096 under "Source Code/Downloads".  It requires sox.07:22
trijntjetsimonq2: ok thanks, I'm trying 'notes' now07:23
trijntjehmm, same error07:23
dholbachtsimonq2, trijntje: does 'snap changes' give anything?07:28
dholbachis this with snapd 2.0.8?07:28
nhainesdholbach: how do I find what's changed between various revisions of the moon-buggy snap?07:30
dholbachnhaines, I think I would need to put it into changelog box when uploading the snap :)07:31
dholbachthe last upload was quite a while ago, so I'm not sure what I changed back then07:31
nhainesdholbach: sure, but I don't think that shows up with 'snap' at all either, right?  :)07:31
mvotsimonq2, trijntje: anything in "ls -lR ~/snap" that is owned by a different user (or root) by any chance?07:32
tsimonq2snap changes gives nothing07:34
tsimonq2mvo: everything in ls -lR ~/snap shows that I'm the owner07:34
tsimonq2dholbach: and yes, snapd 2.0.807:35
trijntjemvo: no, its all owned by me. I also found a bug report about appArmor getting upset at encrypted homes, so I'm going to test that next.07:36
dholbachnhaines, I don't know07:36
dholbachnhaines, if not, maybe there should be a bug for it?07:36
trijntjebut its lying anyway since it did create ~/snap/notes/1, so it has permission to write in my home dir07:36
tsimonq2trijntje: I have an encrypted home directory :)07:36
tsimonq2yeah07:36
nhainesdholbach: hmm, maybe.  I suppose I'll have to look into it.07:36
dholbachcool, thanks!07:36
nhaines'snap login' is really vague and confusing to me!  All I know is that if I use it, I don't have to run 'snap install' with sudo.  Why?  :D07:37
mvotsimonq2, trijntje thank you07:37
* mvo scratches head07:37
tsimonq2mvo: and like stated eralier, I have an encrypted home directory with ecryptfs07:37
tsimonq2*earlier07:37
mvotsimonq2: oh, that might indeed be why I don't see it here!07:38
zygatsimonq2: there's a bug about encrypted home directory07:43
zygatsimonq2: though last time I checked on xenial, it wasn't breaking anything, just printing messages when snap-confine / ubuntu-core-launcher were started07:43
zygaah07:44
zygamvo: one thing *has* changed07:44
tsimonq2zyga: I'm on Yakkety :)07:44
zygamvo: the home directory is no longer created by snap-confine, now it's made by what? snap-run?07:44
tsimonq2(FWIW)07:44
zygamvo: but that's not live yet, is it?07:44
mvozyga: thats not in xenial yet AFAIK07:46
=== chihchun_afk is now known as chihchun
ovalseven8_Hello, what's the exact difference between the distribution of a statically linked software (one executable) and the Snap packages?07:55
zygaovalseven8_: snaps can use shared libraries (e.g. you can ship two executables and a common shared library inside a snap)07:56
zygaovalseven8_: statically linked software is just that, a static executable07:56
trijntjezyga, mvo: both hello and notes work in a fresh 16.04 in virtualbox without encrypted home07:56
zygaovalseven8_: snaps provide data, shared libraries, executables and services in one bundle07:57
trijntjeshould I report a new bug or comment on the existing one?07:57
zygatrijntje: please comment on the existing one unless you think this is something very different than before, please include the version of snapd and ubuntu-core-launcher you have installed (apt-cache policy snapd)07:57
trijntjezyga: can you link the bug report?07:58
ovalseven8_zyga: Ok, but for the user of the software it doesn't really make a difference? Because if there's a bug in a dependency, he will have to update the snap/executable07:58
zygatsimonq2: I see https://bugs.launchpad.net/snappy/+bug/1574556 but reading it quickly I think a new bug is better now07:59
ubottuLaunchpad bug 1574556 in ubuntu-core-launcher (Ubuntu Xenial) "apparmor denials reported for encryped HOME" [Medium,Triaged]07:59
zygaovalseven8_: if there's a bug in the dependency the maker of the snap will see that as the snap won't run on their machine08:00
zygaovalseven8_: snaps don't depend on anything from the system08:00
trijntjezyga: ill file a new bug report, but it looks like the last two comment (from bruno nova) are about the same problem I have08:01
ovalseven8_zyga: Yeah, but the delivered dependencies inside the snap have to be updated, no?08:01
zygaovalseven8_: updated for what?08:02
ovalseven8_zyga: If there's a bug08:02
nhainesovalseven8_: typically, the maker of a snap uses 'snapcraft', which automates getting everything from the Ubuntu repositories or from source repositories and then builds everything.  So the snap maker would have to run 'snapcraft' again, wait 5 minutes, and then upload the new version to the store.08:04
zygaovalseven8_: yes08:04
zygaovalseven8_: that's correct08:04
trijntjehttps://bugs.launchpad.net/ubuntu/+source/snapd/+bug/159269608:08
ubottuLaunchpad bug 1592696 in snapd (Ubuntu) "snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied" [Undecided,New]08:08
=== chihchun is now known as chihchun_afk
tsimonq2!info json-glib yakkety08:44
ubottuPackage json-glib does not exist in yakkety08:44
tsimonq2!info libjson-glib-1.0-0 yakkety08:44
ubottulibjson-glib-1.0-0 (source: json-glib): GLib JSON manipulation library. In component main, is optional. Version 1.2.0-1 (yakkety), package size 62 kB, installed size 313 kB08:44
tsimonq2!info libjson-glib-dev yakkety08:45
ubottulibjson-glib-dev (source: json-glib): GLib JSON manipulation library (development files). In component main, is optional. Version 1.2.0-1 (yakkety), package size 27 kB, installed size 441 kB08:45
=== chihchun_afk is now known as chihchun
tsimonq2!info gnome-keyring08:59
ubottugnome-keyring (source: gnome-keyring): GNOME keyring services (daemon and tools). In component main, is optional. Version 3.18.3-0ubuntu2 (xenial), package size 577 kB, installed size 3908 kB08:59
morphiszyga: ping08:59
tsimonq2!info gnome-keyring-dev09:13
ubottuPackage gnome-keyring-dev does not exist in xenial09:13
petermaffayhey there, i'm new to packaging snap and got a question: i develop a webapp which needs apache and php7, is there an option to import these two with the "plugin" tag in snapcraft09:18
tsimonq2petermaffay: hello, you would put the appropriate packages in build-packages, the plugin is for compiling the snap09:20
dholbachuse "stage-packages" if you want to include the contents of packages in the snap.09:22
dholbach"build-packages" are just packages you need to build the snap.09:22
petermaffaythanks very much!!09:22
dholbachanytime :)09:23
tsimonq2petermaffay: if you want to check out some examples, take a look at snappy-playpen: https://github.com/ubuntu/snappy-playpen - if you have questions for how that would be implemented and such09:24
tsimonq2!info cpp09:28
ubottucpp (source: gcc-defaults (1.150ubuntu1)): GNU C preprocessor (cpp). In component main, is optional. Version 4:5.3.1-1ubuntu1 (xenial), package size 27 kB, installed size 62 kB09:28
tsimonq2!info c++09:28
ubottuintercal (source: intercal): INTERCAL de-obfuscator. In component universe, is extra. Version 30:0.30-1 (xenial), package size 685 kB, installed size 1398 kB09:29
tsimonq2!info g++09:29
ubottug++ (source: gcc-defaults (1.150ubuntu1)): GNU C++ compiler. In component main, is optional. Version 4:5.3.1-1ubuntu1 (xenial), package size 1 kB, installed size 16 kB09:29
tsimonq2aha09:29
dpmdavidcalle, in addition to the snapcraft.io coverage, I was enjoying seeing the image you created for d.u.c on the media :) http://www.zdnet.com/article/ubuntu-snap-takes-charge-of-linux-desktop-and-iot-software-distribution/09:50
seb128is there a way for snapcraft to run manual commands after the "make install" step from the autotools plugins?09:52
seb128like to move files around or clean some09:52
seb128before the squashfs is generated09:52
seb128sergiusens, ^09:52
davidcalledpm: hehe same here, also on https://www.linux.com/news/ubuntu-snappy-based-package-format-aims-bridge-linux-divide . "Make it. Snap it. Push it. Update it" has been out there as well, this is pretty fun.09:56
tsimonq2!info kde4-devel10:05
ubottuPackage kde4-devel does not exist in xenial10:05
tsimonq2!info kdebase-dev-kde410:05
ubottuPackage kdebase-dev-kde4 does not exist in xenial10:05
tsimonq2!info kdelibs4-dev10:06
ubottuPackage kdelibs4-dev does not exist in xenial10:06
tsimonq2!info kdelibs5-dev10:06
ubottukdelibs5-dev (source: kde4libs): development files for the KDE Development Platform libraries. In component universe, is optional. Version 4:4.14.16-0ubuntu3 (xenial), package size 1303 kB, installed size 9465 kB10:06
bolloI installed vtop and then tried to remove it but it just stuck on remove. I then ran abort and now it's just stuck on that.10:08
bolloRestarted snapd to see if that would solve anything but no.10:09
bolloSo now I can't try to remove it again since it's stuck on abort.10:10
=== chihchun is now known as chihchun_afk
bolloI can't remove it since it can't be unmounted it seems10:17
jdstrandzyga: hey, so snap-confine HEAD has a failing test. I feel like maybe I am not compiling it right with the lastest updates. basically, I'm snagging the Build-Depends, then doing 'debian/rules build'10:25
jdstrandzyga: meh, nm10:27
jdstrandcommon.sh was missing a syscall10:27
zygajdstrand: :-)10:34
zygajdstrand: I'll be enrolling snap-confine in spread this week10:34
zygajdstrand: to ensure it compiles and builds on ubuntu, fedora and arch (initially)10:35
zygajdstrand: and that tests pass10:35
zygajdstrand: we need to start thinking about making testing possible when snap-exec story is done10:35
zygajdstrand: and snap-confine unconditionally execs snap-exec10:35
petermaffayhey, still trying to build apache snap, got this now: name: anchor  version: 0.1  summary: anchor file browser  description: no production use  confinement: devmode  parts:  webserver: stage-packages:      - apache210:47
petermaffaywhat should i use for plugin and source as they are required fields?10:48
petermaffayat the moment just trying to package apache :P10:48
=== chihchun_afk is now known as chihchun
georgeowellHey all. I have an encrypted home directory and I'm running into this bug: https://bugs.launchpad.net/snappy/+bug/157455610:50
ubottuLaunchpad bug 1574556 in ubuntu-core-launcher (Ubuntu Xenial) "apparmor denials reported for encryped HOME" [Medium,Triaged]10:50
georgeowellIs there a work around? I don't really understand the stuff referenced in the launchpad comments.10:51
georgeowellI get "failed to create user data directory. errmsg: Permission denied" when I try and run a snap10:52
=== chihchun is now known as chihchun_afk
trijntjegeorgeowell: I think this is the bug you have: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/159269611:09
ubottuLaunchpad bug 1592696 in snapd (Ubuntu) "snaps dont work with encrypted home: failed to create user data directory. errmsg: Permission denied" [Undecided,Confirmed]11:09
georgeowellDo I just select "this affects me"?11:10
trijntjeyes, that way the developers see that a lof of people run into this bug11:12
trijntjeI expect this will be fixed pretty fast, since its a recent problem and a lot of people have encrypted homes (though I'm not a developer for snap)11:13
=== hikiko is now known as hikiko|ln
=== chihchun_afk is now known as chihchun
Gunther_Hi there!11:55
Gunther_Is there a working way to configure a static network interface in vivid using u-d-f? (Tried modifying meta-data with little success)11:57
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
ogra_Gunther_, 15.04 is pretty dead, but you couold create your own gadget snap and apply config through that12:02
ollit12:04
ogra_u12:04
Gunther_ogra_: I am currently editing the created image. Still /etc/network/interfaces.d/eth0 gets automatically created using a dhcp config. If I try to insert a static configuration file at the same place, its changed to dhcp at the first boot.12:04
Gunther_I think the behaviour on 16.04 is the same12:05
ogra_well, 16.04 isnt done yet ... the config interface and firstboot stuff is still in the works (all focus was at the desktop and cross distro stuff for the last weeks, images are looked at now )12:06
Gunther_Just one answer please :): Who is generating /etc/network/interfaces.d/eth0 ?  systemd or cloud-init?12:08
ogra_snapd12:09
ogra_well12:09
ogra_not sure if it did that in 15.0412:09
ogra_nobody touched that in monts12:09
ogra_(includign me)12:09
ogra_(not even sure there was snapd ... could have been called snappy-firstboot or some such)12:10
Gunther_ok looking for firstboot now. thanks12:10
Gunther_ubuntu-snappy.firstboot.service :)12:11
ogra_yeah12:13
ogra_kyrofa, trying snapcraft for a wine package i get "multiple repeat at position 40" as answer when it fails ... any indicator what that might mean ?12:13
=== chihchun is now known as chihchun_afk
kyrofaogra_, huh... can you pastebin the result of snapcraft --debug ?12:15
ogra_or sergiusens ^^12:15
ogra_kyrofa, http://paste.ubuntu.com/17358094/12:16
ogra_hmm12:16
=== hikiko|ln is now known as hikiko
ogra_could it be because i dont use a subdir for the binaries i want to copy ?12:16
ogra_(i have everything in the toplevel dir)12:17
kyrofaogra_, seems like a regex error12:17
ogra_http://paste.ubuntu.com/17358140/ is the snapcraft.yaml12:17
kyrofaogra_, when it's trying to replace $SNAP in the output12:18
kyrofaogra_, please log a bug, I think there's a larger problem here12:18
ogra_hmm .. i have a dash in the package name12:18
ogra_ok12:18
ogra_(though there are other packages with dash ... )12:19
* ogra_ files a bug 12:19
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
ogra_kyrofa, sergiusens, bug 159279512:25
ubottubug 1592795 in Snapcraft ""multiple repeat at position 40" when trying to create a snap" [Undecided,New] https://launchpad.net/bugs/159279512:25
kyrofaogra_, no I don't think this is a YAML problem, it has something to do with the combination of the regex we're using and the file contents of the snap that needs some investigating12:26
ogra_k12:27
=== chrisccoulson_ is now known as chrisccoulson
ogra_Son_Goku, zyga is zyga if he is on IRC :)12:52
Son_Goku:/12:52
ogra_(he isnt around atm obviously)12:53
Son_Gokuwhat time zone does he live in?12:53
Son_GokuI'm in UTC-412:53
ogra_EU ... but i think he has to care for personal stuff this afternoon12:53
ogra_perhaps we can help you ?12:54
ogra_  yeah, he is UTC-2 or so12:55
Son_Gokuwell, I wanted to talk to him about Fedora / Mageia packaging for snaps12:56
Son_Gokubut perhaps you can answer a more general question of mine12:57
Son_Gokuwhen will the server components to snaps be open sourced and allow for alternative repositories of snaps to exist?12:57
jamiebennettHi Son_Goku, the server-side components are not planned to be open sourced at this time12:59
Son_Goku...12:59
Son_Gokuwuh?!12:59
Son_Gokuwhy?!12:59
Son_Gokuis this going to be Launchpad all over again?13:00
jamiebennettSon_Goku: we have been concentrating on the client side of snaps so it has not been on the roadmap so far13:00
jamiebennettSon_Goku: we will of course continue to assess this going forward13:00
m15k"error: cannot remove "jenkins": snap "jenkins" has changes in progress" any suggestions howto solve this?13:00
Narcotixbeing completely new to the "snap" topic, i wonder: can anyone set up a "snap store"? i mean is the snap package system bound to the ubuntu store or ir cannonical just the only provider of snaps atm?13:00
Son_Gokuno one can currently set up snap stores13:01
Son_GokuCanonical is the gatekeeper for all things snappy :(13:01
Narcotixholy moly :O this is rly evil13:01
jamiebennettSon_Goku: snaps can be side loaded easily13:01
Son_Gokuthat's not an suitable answer13:01
Narcotixi mean this is like with the windows universal apps13:02
jamiebennettSon_Goku: sorry I can't give you a date at this time13:02
Son_Gokusideloading means that there's no mechanism for updates13:02
ogra_you can sideload the updates too :)13:02
Narcotixso the snap packaging tool isn't open source ?13:02
jamiebennettNarcotix: it13:02
jamiebennettis13:02
jamiebennettNarcotix: the server side stuff is not at this time13:02
Son_Gokuogra_ yes, but that's not quite the same thing13:02
jamiebennettNarcotix: for stores13:03
Son_Gokuessentially, if you want another store to exist, someone has to reverse engineer the protocol and then alter the client to user it13:03
Son_Goku*use13:03
Narcotixyeah but... it's like anyone can set up a store with win32 api programms, but only microsoft can set up a store for universal apps13:03
Son_Gokuto some extent, I'm not really surprised13:04
ogra_no, but it is upgradeable that way13:04
Son_Gokuthe system was designed for the mobile context, where everything is locked down because things13:04
Son_Goku(the reasoning for locked down systems in mobile is too complicated for me to want to get into...)13:05
Son_Gokubut this new trend of bringing that locked down nature to traditionally open platforms is frightening13:05
Narcotixwow, so if snap packages would become THE standard among all distros, this would mean that Linux would become more of a walled garden (if deb, yum and others get dropped somewhen in the future)13:06
ogra_why woud deb and yum be dropped ?13:06
ogra_there is no reason to drop them13:06
Narcotixwell, i guess you are right13:07
jamiebennettNarcotix: and of course anyone can develop and push a snap to the store13:07
Narcotixbut developers could drop them13:07
ogra_and none of the newer packaging systems focus on that ... they all focus on delivering apps13:07
jamiebennettit is just a delivery mechanism13:07
Son_Gokuogra_ that's not what Canonical is putting out13:07
Narcotixso they still exist, but programs won't get published as debs13:07
Son_Gokuthey've been talking about moving over to snap system in place of debs and rpms13:08
ogra_Son_Goku, what are you referring to now ?13:08
Son_Gokuubuntu snappy core and ubuntu snappy desktop13:08
ogra_Son_Goku, do you have a refercene for that ?13:08
Son_Gokulemme see if I can find it...13:08
ogra_(an official statement)13:08
* ogra_ is sure there is none 13:08
ogra_probably a third party speculation ...13:09
ogra_oor a developers wishful thinking :)13:09
* Son_Goku sighs13:09
Son_Gokuit was somewhere on either launchpad or one of the ubuntu dev blogs13:09
ogra_debs wont go away in ubuntu13:09
ogra_neither will the classic installs13:09
ogra_even *if* there will perhaps be full snappy based desktop installs ... the ubuntu deb archive would have to be used to create these snaps13:10
ogra_so how could we ever drop it ? :)13:10
ogra_Son_Goku, https://plus.google.com/+OliverGrawert/posts/YQ7idGAXzFd see the comments here13:14
=== Thomas_ is now known as Guest17077
=== JanC is now known as Guest29167
=== JanC_ is now known as JanC
m15kIs there a documentation how the snapped packages are run? Currently I'm a little bit confused if the applications are isolated or how...13:16
justtestingWith regard to isolation, here's a page on security: https://developer.ubuntu.com/en/snappy/guides/security/ Not sure how they are really run though. Maybe another page details that.13:19
jdstrandjusttesting: see this https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/13:20
jdstrandm15k: ^13:20
ogra_m15k, they are run inside the core snap  ... and via interfaces they can talk to the host13:20
m15kThanks, I'll have a look at the pages.13:21
ogra_(and yeah, that page is probably the better answer :) )13:21
sabdflm15k, the apps run under a profile that is setup by the snap machinery, and covers seccomp, apparmor and a range of other confinement techniques13:33
sabdflm15k, the idea is that a snap can have a binary running as root which still doesn't see anything it is not allowed to13:33
morphisogra_, jdstrand: btw. how is the core snap involved on desktop? is LD_LIBRARY_PATH or so linked to it or is there no usage at all?13:35
ogra_the launcer sets the library path13:36
morphisok as I thought13:36
morphismatteo: ^^13:36
morphisogra_: so host binaries should used at all?13:37
ogra_no, they shouldnt13:37
morphisok13:37
matteoyes, I've tried but got a SIGSEGV13:38
seb128does anyone know where is the snap/.desktop integration documented?13:46
seb128there is no [.]desktop mentioned on http://snapcraft.io/create/13:47
seb128nor on https://developer.ubuntu.com/en/desktop/get-started/13:48
seb128why isn't it just using/exporting one based on the snap/u/s/a one with the exec mangled?13:49
seb128mvo, ^ do you know?14:06
kyrofaseb128, I suspect it's still not documented14:07
kyrofaseb128, but you just drop them in snapcraft's setup/gui/ directory14:08
mvoseb128: is https://github.com/snapcore/snapd/blob/master/docs/meta.md#gui-directory helpful?14:09
seb128mvo, yes, thanks ... do you know why we just don't use the upstream one? would be less packaging work/easier14:10
seb128and get translations&co14:10
mvoseb128: its very close to the upstream one, translations and all will be unchanged, the upstream one will do something like /usr/bin/foo but it won't be /usr/bin/foo in the snap so that requires a tiny bit of tweaking. essentially Exec= and Icon= is what needs tweaking. I guess snapcraft could try to be smart about it14:16
seb128mvo, right, my point is "why not using the upstream one and just mangling exec/icon automatically for the user"14:18
seb128mvo, with the current scheme you need to dup info and keep up with upstream tweaking e.g their description or categories or keywords14:18
mvoseb128: that would be cool, its a bit tricky to know how to map the meta/snap.yaml app to the exec line, we could try to do pattern matching I guess, we could of course be radical and allow only exec lines that match the snap name itself by default14:19
mvoseb128: same for icons14:19
mvoseb128: that would solve the common case at least, i.e. if you package "gnome-foo" your app in snap.yaml must be named "gnome-foo" and that is the exec line you get in your deskop file (and then we need to think about an override for this openoffice thing with 243324 desktop files inside ;)14:20
seb128mvo, or you could have the manifest have a section that let you override the exec/icon by specifying those14:20
seb128and having snapcraft doing the work for copying/sedding with those values14:21
mvoseb128: manifest == snapcraft.yaml?14:21
seb128yes14:21
seb128sorry14:21
mvoseb128: yeah, that is a sergiusens thing then :) works for me14:21
mvoseb128: no worries, just wanted to be sure we talk about the same thing14:21
seb128the current way is undocumented on our main websites14:22
seb128so it's likely most desktop app snappers are going to overlook that14:22
mvodavidcalle: -^ is that something you could help with?14:22
seb128and we have less good integration in the desktop as a result14:22
mvodavidcalle: basicly making https://github.com/snapcore/snapd/blob/master/docs/meta.md#gui-directory available somehow14:22
mvoseb128: +114:22
seb128mvo, thanks for relaying the nag to the right people ;-)14:23
seb128mvo, also since it's similar/related, do you know if there is an consideration using the upstream appstream info if available rather than requesting the snapcraft.yaml to duplicate e.g the description?14:23
davidcallemvo: sure, give me 3 min14:23
seb128mvo, or we could have description: $appstream-desc14:24
seb128?14:24
davidcallemvo: oh I thought it was a new edit on the doc, but the last commit is actually mine... You mean giving it more visibility than in https://developer.ubuntu.com/en/snappy/guides/meta/?14:29
blackout24What happend to the idea of frameworks? I can't find any info on framework snap anymore on the official websites.14:32
seb128hum14:35
seb128does anyone know how to I tell snapcraft that no the build step is not outdated?14:36
seb128and that it should access to prime as I asked14:36
seb128sergiusens, ^?14:38
seb128shrug14:42
davidcalleseb128: mvo: what about a new example (desktop integration-oriented) using the krita snap in https://developer.ubuntu.com/en/desktop/examples/14:42
seb128davidcalle, shouldn't those things be covered on snapcraft.io?14:43
seb128davidcalle, also I think the .desktop should be autogenerated from the upstream one rather than requesting you to have a new one14:43
sergiusensseb128 you will need to marshall some yaml, how did you end up in this situation? kyrofa can help with state management14:44
seb128sergiusens, I built a snap, then decided I need to do some changes before it's packed so I "snapcraft clean -s prime" and copied things around in stage/snap14:45
davidcalleseb128: I fuly agree on both points, but if we want to have something sooner than later, let's use what we have (krita snap with custom desktop file), I think that desktop file generation is snapcraft's territory14:45
seb128sergiusens, no that I modified the stage I wanted to rebuild the snap by using "snapcraft prime"14:45
seb128now*14:46
seb128sergiusens, should that work of did I do something fundamentally wrong?14:47
kyrofaseb128, are you sure you didn't change the YAML at all?14:48
seb128kyrofa, oh, I might for another later iteration14:49
kyrofaseb128, because the build step saves the YAML on which it ran and compares to the current YAML to determine whether or not it's out of date14:49
seb128where does it save it?14:50
seb128there is no other *yaml in my dir14:50
kyrofaseb128, in parts/<part>/state/<step>14:50
seb128ok, indeed14:51
seb128thanks kyrofa14:51
seb128that didn't have the argument I added14:51
kyrofaseb128, yep, that'll do it14:51
seb128hum14:51
seb128can I move things around in the stage?14:52
seb128prime is complaining about a missing file14:52
seb128which I moved around14:52
sergiusensseb128 the files really get migrated from parts/<part-name>/install14:52
seb128sergiusens, snapcraft.io states14:53
seb128"stage/ is where all the content from parts/<part_name>/install is copied and consolidated in a single directory."14:53
seb128so I though it was the step after14:53
seb128like things get copied from parts14:53
seb128and then the stage is moved to prime14:53
seb128is that wrong?14:53
seb128if I want to move things around should I do it in the install?14:54
sergiusensseb128 mvo about desktop files and snapcraft. Doing things by convention was a mistake. I'll be allowing it to be declarative which would allow adapting such desktop file to whatever the "by convention" is in snapd14:59
seb128sergiusens, would that avoid having to create one? could you say15:07
seb128desktop:15:07
seb128    file: ...15:07
seb128   exec:15:07
seb128     icon:15:07
seb128and have it use the upstream "file" points at just sedding the exec/icon values?15:08
ogra_sergiusens, i got the telegram update today, now i have a broken icon in the panel ... known issue ?15:08
sergiusensogra_ yeah, telegram does not respect the --no-auto-update switch it has :-/15:15
ogra_well, i dont mind the update ... and i definitely didnt have a panel applet before15:16
ogra_it is just the icon that is missing it seems15:16
kyrofaseb128, regarding stage versus install: the files are pulled from stage, but the filesets are determined using install15:16
kyrofaseb128, that's why you may notice that if you use the `stage` keyword to filter stuff, you almost always must include the same filter with the `snap` keyword15:17
didrockskyrofa: I guess seb128 is talking about the other stage15:17
didrockslike:   stage        Stage the part's built artifacts into the common staging area.15:18
* ogra_ wishes he would be able to build any snaps at all :(15:18
ogra_Fetched 0 B in 0s (0 B/s)15:18
ogra_E:Unable to correct problems, you have held broken packages.15:18
seb128kyrofa, sorry I don't understand, if I want to tweak the target layout between the "make install" and the prime what do I change?15:18
ogra_thats all i see since hours :(((15:18
didrocks(not the stage as stage-packages)15:18
kyrofadidrocks, indeed, as am I15:18
dholbachogra_, did you try using --enable-geoip?15:19
didrocksah sorry, unsure to understand you either then :p15:19
dholbachogra_, or clearing your /var/lib/apt/lists cache?15:19
kyrofaseb128, in my experience you kinda need to do that in prime15:19
kyrofaseb128, because moving files around in stage will lead to issues when priming, as you noticed15:19
kyrofaseb128, you can change contents in stage, but not layout15:19
ogra_dholbach, well, ithe hosts apt works just fine ... it is only under snapcraft15:19
seb128kyrofa, ok...15:19
kyrofaseb128, not one of my favorite features, but I seem to remember there being a reason for it15:20
ogra_it also worked once this morning ... but not anymore since15:20
kyrofaogra_, huh... does your system apt work okay?15:21
ogra_yes15:21
ogra_i have one private PPA enabled though ... i wonder if that causes havoc (though it didnt in the morning)15:21
dholbachpopey, http://paste.ubuntu.com/17365382/? :-)15:24
RaycatRakittraHello?15:34
RaycatRakittraAnyone active?15:35
ogra_yes15:38
ogra_:P15:38
seb128shrug15:39
seb128I screwed snapcraft by moving a dir in the stage15:39
seb128"snapcraft clean" fails now15:39
seb128sergiusens, is there a "clean-without-check"?15:40
* seb128 just rm15:40
kyrofaseb128, yeah, rm. Also rm the parts/<part>/state/stage15:40
seb128kyrofa, thanks15:40
seb128that was needed15:40
seb128pocking around things you shouldn't is fun :p15:41
kyrofaseb128, the state tracking is pretty whiny, but it means you can actually unstage a part without messing with other parts15:41
kyrofaseb128, but yeah, it results in that if you poke at it15:41
seb128I'm still unclear what I should do exactly if I want to move things after the make install15:42
seb128move or remove15:42
seb128like some of the make installed thing are useless and waste space15:42
kyrofaseb128, at that point all best are off if you want snapcraft to continue working. You should be doing such things with the organize keyword, etc15:42
seb128what's the official way to deal with that?15:42
matteoI've disabled confinement in ubuntu-core-launcher with this patch: http://pastebin.ubuntu.com/17366167/ looks reasonable for you?15:42
kyrofaseb128, or filter them out with the stage and snap keywords15:42
seb128kyrofa, are those snapcraft.yaml keywords?15:43
kyrofaseb128, indeed15:43
kyrofaseb128, https://github.com/ubuntu-core/snapcraft/blob/master/docs/snapcraft-syntax.md15:43
seb128snapcraft.io doesn't cover those15:43
seb128thanks15:43
seb128kyrofa, so default is everything but if you use stage: you need to manually list all the things you want?15:44
seb128is there a reverse "clean"?15:44
seb128or "exclude"?15:44
kyrofaseb128, or prefix with a minus15:44
kyrofaseb128, to blacklist15:45
kyrofaseb128, an example of all the mysql stuff I didn't want to ship in the nextcloud snap: https://github.com/kyrofa/nextcloud-snap/blob/master/snapcraft.yaml#L14415:45
seb128kyrofa, thanks15:47
seb128kyrofa, I don't really understand why there is a "snap"15:48
seb128kyrofa, if you exclude things from the stage they are not going to be in the snap either at the end right?15:48
kyrofaseb128, filter applying to stage versus filter applying to prime15:48
seb128what difference does it make?15:48
kyrofaseb128, no, that's what I was trying to say earlier15:48
=== chihchun_afk is now known as chihchun
kyrofaseb128, for example, take the boost part: https://github.com/kyrofa/nextcloud-snap/blob/master/snapcraft.yaml#L11515:49
kyrofaseb128, I need it in stage so I can build against it, but I don't want to ship it in the final snap15:49
seb128oh, I see15:50
seb128that makes sense now15:50
seb128thanks15:50
kyrofaSure thing!15:53
didrockskyrofa: but if you exclude it from the stage, it will be excluded in the prime directory as a result, right?15:55
kyrofadidrocks, no, that's what I was saying15:55
kyrofadidrocks, it'll error instead :)15:55
kyrofadidrocks, try it!15:55
didrocksI was thinking stage -> impacts primes that way15:55
didrockshum, ok, will do15:55
kyrofadidrocks, seb128 https://bugs.launchpad.net/snapcraft/+bug/153785015:57
ubottuLaunchpad bug 1537850 in Snapcraft "Migratable filesets for stage should be considered in snap" [Undecided,Invalid]15:57
kyrofasergiusens may know more about the history/reasons for doing it that way15:57
didrockskyrofa: ok, so reading this… shouldn't stage/ be skipped or kept empty if you don't have some after: keyword?15:59
kyrofadidrocks, that's also where reorganization happens, I think16:00
didrocks(and stage/ be populated only by parts which are declared after any after: keywords)16:00
didrockskyrofa: if the reorg happens in stage/ it's counter-intuitive then16:00
didrocksas this will impact prime16:00
kyrofadidrocks, indeed, I think you need to use the reorganized named in the filters: "filesets will refer to the exposed named applied after organization is applied."16:01
kyrofas/named/names/16:01
didrockskyrofa: something is still unclear in my head. I need to play with this and reorganizing at the same time. I bet if seb, you & I were puzzled at some point about this, something isn't right in the way snapcraft is handling it16:02
didrocksbut we may be all wrong (the 3 of us :p)16:02
kyrofadidrocks, I completely agree16:02
didrocksok, I'll play with this tomorrow with reorg to see the behavior16:03
matteoping mvo16:03
kyrofadidrocks, let me know16:04
didrockswill do :)16:04
mhall119sgclark: d_ed: hey, niemeyer1 would like to talk with you guys about how best to support the sharing of KDE Frameworks between KDE snaps16:37
d_edsure16:38
d_edI can tell you what we're currently doing for FlatPak at least.16:38
mhall119niemeyer1: do you want to have a hangout for this?16:39
mhall119sgclark: also, I have a pull request for your kate snap, I've got building in a clean lxc now16:42
sgclarkalrighty16:46
kyrofakgunn, here's the qmake plugin if you're able to take a look: https://github.com/ubuntu-core/snapcraft/pull/566/files#diff-dd46e36f2d591eb4108efc48a69fa41eR117:00
mvomatteo: pong17:01
matteohi mvo17:01
mvohi17:01
matteoI've compiled ubuntu-core-launched with a patch to disable confinement17:01
matteobut it's working bad, can you have a quick look?17:02
matteohttp://pastebin.ubuntu.com/17366167/17:02
mvomatteo: oh, interessting! can you please check out https://github.com/snapcore/snap-confine ?17:02
mvomatteo: it has a --isable-confinment configure switch17:02
matteoyes I know17:03
mvomatteo: and is otherwise compatible with ubuntu-core-launcher, so its a drop-in17:03
matteoI took the relevant part from there17:03
matteomvo: I see that there is a wrapper around it17:03
matteowhich removes an argument17:03
matteoright?17:03
mvomatteo: yeah, it provides a wrapper, but that should be ok, did it not work for you?17:04
mvomatteo: i.e. if it does not work, that would be a bug, its meant to be a drop-in replacement17:04
mvofully comaptible and all that17:04
matteoI never tried that because I tought that snapd was not ready17:04
matteook, I'll discard the core launcher then17:04
mvomatteo: aha, sorry, please give it a try a shout if there are any problems :)17:04
matteothanks17:04
mvomatteo: thank you! and keep us/me updated please17:05
matteowill do :)17:05
mhall119is it possible to build a snap for a different arch using snapcraft cleanbuild?17:14
mhall119sgclark: I'm getting this when trying to build kdevelop: [Errno 2] No such file or directory:17:25
mhall119'/root/parts/kdevelop/install/usr/bin/pp-trace'17:25
mhall119any suggestion on what package that might be in?17:26
kyrofamhall119, regarding the cross-building, that's only supported for kernels right now17:33
kyrofamhall119, though if you ran snapcraft in a 32-bit lxc, that should work fine (cleanbuild won't do that for you)17:34
elopioping ogra_: I have a bash question. Are you here?17:35
willcookekyrofa, hey, re: qmake plugin.  I had an issue with qmake yesterday where I had to pass in the name of a specific .pro file.  I don't /think/ your plugin caters for that.  Do you want a patch?17:42
sgclarkmhall119: my repo has all the deps needed, builds in cleanbuild. however that is a qt4 build which I do not want.17:42
mhall119sgclark: is there a cmake flag or something to tell it to build only for qt5?17:44
kyrofawillcooke, ah, I was wondering about that17:44
kyrofawillcooke, what does that command look like?17:44
sgclarkmhall119: nevermind, that particualre one is fine it will build qt517:45
sgclarkwe are doing some a bit differently17:45
willcookekyrofa, it's dead simple:  https://github.com/8none1/fritzing-snap/blob/master/parts/plugins/x-qmake.py#L5417:45
willcookekyrofa, it's probably a hack, but I'm not familiar with qmake, but it worked for me17:46
kyrofawillcooke, looking at the manpage, it seems you can profile multiple .pro files, is that correct?17:46
kyrofas/profile/provide/17:46
kyrofawillcooke, yeah, my familiarity with it is rather limited as well, obviously. I only ever use it from qtcreator :P17:47
willcookekyrofa, ah, yes it does look like it, haven't accommodated that but it should be easy enough17:48
kyrofawillcooke, alright I'll add an optional config parameter that is an array of .pro files. Will that serve your purpose okay?17:48
willcookekyrofa, yeah, should do!  I can easily test with my use-case at least17:49
kyrofawillcooke, also, can I safely assume that these are _paths_ to .pro files? i.e. they don't need to be in cwd?17:49
willcookekyrofa, hummm, don't know I'm afraid.  I just passed a .pro that *was* in cwd17:50
=== chihchun is now known as chihchun_afk
willcookei.e. "project-file:  wills-special-pro-file.pro"17:51
willcookein the yaml17:51
kyrofawillcooke, alright17:51
willcookeanyone in the channel a qmake expert? mhall119, know anyone?17:52
mhall119willcooke: bzoltan maybe?17:53
willcookeoh yeah! bzoltan do you know if the "files" passed in to qmake need to be in the cwd or can they be absolute paths as well?  I'd assuming the later.17:53
elopioogra_: hey, you would be proud. Look how I solved it: subunit2pyunit results.subunit 2>&1 >/dev/null | sed "s/\\\n/\n/g"18:08
bzoltanwillcooke:  hard to say, could you pastebin the pro file?18:09
elopiothe scary thing is that I'm understanding bash, and it's all your fault.18:09
kyrofaelopio, aww, I could have helped you there, I'm sorry18:10
willcookebzoltan, the one I was using is here:18:11
willcookeerr, here: https://github.com/fritzing/fritzing-app/blob/master/phoenix.pro18:11
willcookebut this is more a qmake thing,  can it accept absolute paths *and* relative ones passed to qmake?18:12
willcookeUsage: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake [mode] [options] [files]18:12
thibranhi18:12
bzoltanwillcooke:  the file path there should be relative to the project file18:13
bzoltanwillcooke:  absolut path I am not sure about18:13
willcookebzoltan, oki, thanks!18:14
willcookekyrofa, so I guess we go with relative for now then ^18:14
thibranwould you be interested in a patch to change the output of 'snap find *' to 'snap find'?18:14
bzoltanwillcooke: good luck, ping me back if you ned help... i am not at the sharpest state right now... 9pm and started 5am :)18:14
willcookebzoltan, cheers!18:15
kyrofabzoltan, just to clarify, this is about the `files` parameter to the qmake cli18:15
kyrofabzoltan, it sounds like you're talking about the contents of the .pro file, no?18:15
kyrofabzoltan, but I think it must accept paths, since it seems out-of-source builds work fine18:16
bzoltankyrofa: yes, i am talking about the pro file18:17
bzoltanzbenjamin: ^^^18:17
baggednismodoes anyone know the specifics og ubuntu core boot? hoping it loads an image in ram but cant find any docs on it anywhere18:22
zbenjaminwillcooke: kyrofa: since qmake supports shadow builds they can be somewhere else than cwd... there might be some restrictions. so for example the build directory can not be a subdirectory of the source dir18:33
zbenjaminif i remember correctly18:34
kyrofazbenjamin, so if I'm in my build directory, `qmake /my/path/to/src` and `qmake /my/path/to/src/my_project.pro` both look like fine invocations?18:35
zbenjaminkyrofa: yeah that should work18:36
ali1234baggednismo: i don't think it does that. i think it has a read only root with tmpfs for logs etc18:40
kyrofazbenjamin, thank you!18:40
ralsinaHi there, I seem to have managed to create a snap that breaks snapd :-)18:48
ralsinahttps://pastebin.canonical.com/158808/18:48
ralsinaAnd the snapcraft.yaml is not very weird http://pastebin.ubuntu.com/17374772/18:49
baggednismo@ali1234 im having trouble with my ubuntu IOT devices and they are getting powered off improperly. they are dropping like flies so I need a solution that loads the OS in ram so any read/write doesnt damage the OS if improperly shutdown18:52
nothalbaggednismo: No such command!18:52
ali1234baggednismo: i have the same problem. i don't know the solution yet...18:52
ali1234raspberry pi?18:52
baggednismo:-)18:52
baggednismoand liva18:52
baggednismothey are powered by TV USB so when TV is turned off the pi is turned off18:53
baggednismoliva is lasting longer because it never shuts off18:53
ali1234yeah... it's a problem for sure18:53
ali1234i had hope that snappy core would solve this problem but i haven't really been able to even get it to work yet18:53
baggednismoi was hoping if the root is read only then it cannot possibly corrupt the OS18:53
ali1234in theory it is supposed to be read only18:54
baggednismoi was just reviewing snaps, mine would be time consuming but doable. need a LAMP stack on it18:54
ali1234LAMP should be trivial18:55
ali1234i need the videocore libraries for my app... i don't know how to include them in a snap18:55
baggednismoright now im using wget to pull a page down to apache so if there is no connection to inet it will load the default. do you think thats doable? the apache directory will change regularly18:56
ali1234also since i'm doing a battery powered device i used the A+... and ubuntu can't run on it18:56
ali1234so i'm waiting for the 3A to be released18:56
baggednismo:-(18:56
baggednismoluckily i had a pi2 sitting around because even the last ubuntu core cant be ran on pi318:57
ali1234it should be working on 3 now i think... if you build the image youself18:57
ali1234but i have all the different models... it's just that only the A+ fits inside my device18:58
ali1234so i've tried running snaps on the 2B... but i didn't get very far18:58
ali1234and that's even with loads of fantastic help from the people here18:58
ali1234i'm sure LAMP would work fine though... it's very common18:59
baggednismoim concerned about persistent storage though18:59
ali1234not sure what happens if that gets corrupted19:00
elopiokyrofa: what's the tag in askubuntu? ubuntu-core?19:00
saalenhow to resolve this snapcraft error on Arch (after reading the snapcraft.yaml): Could not find a required package in 'build-packages': "The cache has no package named 'make'" ?19:00
kyrofaelopio, there are so many now... you might be able to just use my filter, hold on19:00
elopiosaalen: hey, snapcraft's build-packages are only for ubuntu. If you have lxc installed, you could do a cleanbuild.19:01
kgunnkyrofa: so are snapcraft.ProjectOptions basically the usr/lib/$ARCH dirs?19:03
saalenelopio: mmh, it is present in AUR and I read about it being ported to other distributions... so I gave it a try ;)19:03
kgunnkyrofa: sorry...context is the qt plugin19:03
elopiosaalen: snapd is currently working in all the distributions. snapcraft not yet.19:04
saalenelopio: thx19:05
kyrofakgunn, the ProjectOptions hold stuff like the target arch, number of parallel build jobs supported, etc19:08
baggednismook so the question of the day before i start building my snap. where is the persistent storage on core if any?19:08
kgunnkyrofa: ack..i was just trying to trace through that QT_SELECT would end up with env of /usr/lib/$ARCH/qt5/bin19:08
kgunnwhich if your stuff works, then it must19:08
kyrofakgunn, basically they reflect command-line parameters that affect all plugins19:09
ali1234baggednismo: it is on a separate partition which is created at first boot... at least on the raspi19:09
kyrofabaggednismo, there are two environment variables: SNAP_DATA and SNAP_USER_DATA19:09
kyrofaSNAP_DATA is in /var/snap/<snapname>/<snapversion>, SNAP_USER_DATA is in HOME/snap/<snapname>/<snapversion>/19:09
baggednismoand what happend when the device gets rebooted repeatedly improperly? the data gets damaged and i will have to handle that in my snap?19:10
baggednismoi just gotta make sure that OS will always boot. I can handle the data that gets damaged as long as its not the OS19:11
kyrofabaggednismo, the OS and snap app themselves are read-only19:13
kyrofabaggednismo, so unless there's real damage,  you should be okay19:13
kyrofakgunn, the QT_SELECT stuff is using qt as a build-package though19:15
kgunnkyrofa: oh, not runtime env19:15
kyrofakgunn, indeed19:15
kgunnwhich is fine19:15
baggednismodefine real damage? i have found a lot of my devices out there have random problems like all permissions got changed, services wont start, os just fails to boot all simply from powering the device off improperly. what would constitute "real damage"?19:15
baggednismoor are you jumt implying physical damage?19:17
Shibewhy are ubutnu snaps so big?19:27
Shibeaccording to phoronix the libreoffice snap is 1.1GB19:27
Shibewill this size issue get better?19:27
=== caraka_ is now known as caraka
kyrofabaggednismo, I was more talking about physical damage19:35
kyrofaShibe, because snaps bundle their dependencies19:35
baggednismook, let me get into snap's then ;-) thanks for your help kyrofa19:35
baggednismoali1234, i think we have an answer. I will be testing this over the next few weeks and hopefully report success19:37
Shibekyrofa: yes but will anything be done to reduce the size in the future?19:38
Shibelike sharing dependencies between programs that require the same version?19:38
ali1234Shibe: we already have debs if you want a system that works that way19:42
caraka^^19:43
Shibeali1234: yes but there's the dependency hell thing19:43
ali1234yeah well you have to pick one or the other19:43
Shibei mean like share libraries when both require the same version19:43
carakano dependency hell if they are bundled.19:43
carakaThe price is disk space19:43
ali1234snaps already share the basic platform19:43
Shibecaraka: but the snappy package is bigger than the combined size of the windows installer, a deb and an rpm of libreoffice19:43
ali1234it is possible that the platform may be expanded in the future19:44
Shibecaraka: and it's be problematic on mobile too since phones have much less storage than desktops usually19:44
ali1234storage is the least of your worries on phones19:44
ali1234if your phone is fast enough to run LO i bet it has 32GB as standard already19:45
carakaall true Shibe, but storage and power are increasing rapidly on phones, and the truly monstrous apps aren't quite the kind for phone19:45
ali1234like the nexus 6P... comes with 32GB, 64GB, or 128GB19:47
Shibecaraka: and there's also the issues of low-end computers or people dualbooting Ubuntu19:49
ali1234LO is an outlier anyway. most snaps are nowhere near that big19:49
Shibeusually they won't give the Ubuntu partition as much storage as the windows one does19:49
carakaAll true Shibe, but then they can use the traditonal deb format and stay slim and light19:50
Shibecaraka: but deb's are annoying and you usually stay behind versions depending on your distro19:50
Shibeor your risk instabillity with arch and stuff19:50
carakathere are tradeoffs for each of the systems - size is one of them19:50
ali1234can you name a change made in the last release of LO?19:51
Shibeali1234: what is LO?19:51
carakano guarantee that outdated dependencies won;t get bundeled into snaps either19:51
ali1234libreoffice19:51
Shibeoh libreoffice19:51
carakaLibreOffice19:51
Shibeali1234: uh libreoffice 5 took quite a while to appear on some distros19:52
Shibefor example, mint got it in 17.3, many months after 5 came out19:52
ali1234mint is a very silly place19:52
carakasnaps won't solve all issues - only create different tradeoffs19:52
Shibeali1234: yeah but mainly because it's on Ubuntu 14.04 and dependencies are always tricky19:53
Shibewho knows whether upgrading this library could break something19:53
carakasame will happen with snaps19:53
Shibecaraka: but don't snaps get to decide which version of a library they want?19:54
ali1234Shibe: it's just a filesystem containing some files, ultimately19:54
kyrofaShibe, there's a content-sharing interface that is in the planning stages. The plan is to use that for e.g. the kde runtime, or gtk, etc19:54
Shibeali1234: yeah, but the developer knows that all users will be getting the same versions of libraries and hence it will work similarly across all distros19:54
carakayes they do. And the same developers will make the same kind of decisions when they package for snap as they do for other things - sometimes for the better and sometimes for the worse19:54
kyrofaRather, the plan is to be ABLE to use that. Devs don't have to19:55
Shibewhat about gtk apps btw?19:55
kyrofaWhat about them?19:55
ali1234what people don't seem to realise is that this is actually quite a hard problem19:55
ShibeI used nix once, and each gtk app was a few hundred MB in size because they all downloaded the adwaita icon theme19:55
ali1234there's a lot of talk in the peanut gallery along the lines of "old school unix developers, so naive... i could do better than that"19:55
ali1234but when you actually try it, it's not as easy as it looks19:56
carakayoung developers are sometimes too abstracted from the bare metal and think it's all plug and play19:56
caraka(says the old man)19:57
kyrofaShibe, I think the point is, as caraka mentions, there's no silver bullet. There are always going to be tradeoffs19:58
caraka^^19:58
carakasnaps will have their ecosystem and their appropriate use. But they won;lt be the be-all end-all19:59
ali1234platforms will be nice19:59
ali1234i mean... optional ones as mentioned above19:59
Shibealso how come the flatpak package is smaller than the snap?19:59
Shibeflatpak is somehow only 156mb20:00
kyrofaShibe, because they have a runtime20:00
Shibeok20:00
ali1234so... can i use PPAs when building a snap?20:01
kyrofajosepht, elopio I'm not able to duplicate the ROS failures in the example tests... is something weird about that environment?20:01
kyrofaali1234, yes you can. snapcraft will use your sources20:01
carakaali1234: my PPAs offer to build snaps now. I haven't tried20:01
kyrofaali1234, oh, you mean build snaps in launchpad? Yes, you can do that as well20:02
ali1234i found this ppa with videocore libs: https://launchpad.net/~ubuntu-raspi2/+archive/ubuntu/ppa20:02
ali1234i want to put those libs into my snap20:02
kyrofaAh, yeah, add the PPA to your system and snapcraft should use it20:02
ali1234kyrofa: i think you were right the first time20:02
kyrofacaraka, the LP snap builders are pretty handy. https://kyrofa.com/posts/building-your-snap-on-device-there-s-a-better-way20:02
carakaI'm still trying to bundle by hand beffore I ask launchpad to do it20:02
kyrofaGood idea20:03
carakayeah. get it right at home before sending it out into the world20:03
ali1234i've got so many raspberry pis now that i'm having difficulty knowing which one is which20:05
ali1234i need to reflash one again then i'll see if i can get videocore stuff working in a snap20:05
ali1234that's where i got stuck last time20:06
willcookekyrofa, did you push that new qmake plugin in to your feature/1574774 branch?  The version I'm looking at there says it's 4 days old?20:10
allesz_hi guys link http://www.snapcraft.io does not resolve for me21:20
ArmOrAttAkno dns entry for that21:22
ArmOrAttAkremove the www.21:22
allesz_ArmOrAttAk: thanks that did the trick21:23
tsimonq2jamiebennett: Hey, would you be able to contact someone about that? ^21:46
jamiebennetttsimonq2: wow, not sure what is going on there21:56
=== StoneTable is now known as aisrael
=== dasjoe_ is now known as dasjoe
=== dustino_ is now known as dustino
=== daker_ is now known as daker
=== DavidDuffey is now known as dduffey
=== thomi_ is now known as thomi
=== verterok` is now known as verterok
=== attente_ is now known as attente

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!