/srv/irclogs.ubuntu.com/2018/04/02/#snappy.txt

=== Sir_Gallantmon is now known as Son_Goku
mupIssue snapcraft#2044 opened: snap install process creates empty dirs on Home folder <Created by mmartinortiz> <https://github.com/snapcore/snapcraft/issue/2044>10:31
=== matiasb_ is now known as matiasb
petanhow can I register an URI protocol so that my app is launched when someone clicks a link in browser?12:09
petanis there any snappy option for this?12:09
petanmy app is irc client so I want to register irc:// and ircs://12:09
MavrikHi, I'm having trouble finding in documentation on how to exclude a part from the final snap when defining snapcraft.yaml - I have parts that are essentially only build dependencies and their binaries shouldn't be included in the final snap. Any ideas?14:18
kyrofaMavrik, definitely-- you want to use the `prime` keyword to filter the entire part out14:22
kyrofaMavrik, let me find you an example14:22
kyrofaMavrik, here, boost is a part only needed to build mysql, and shouldn't be shipped in the final snap. Using the `prime` keyword, it is filtered out like this: https://github.com/nextcloud/nextcloud-snap/blob/master/snap/snapcraft.yaml#L24614:23
Mavrikoh, hmm, lemme try this14:23
MavrikYup, that did it. Thanks!14:24
kyrofaSure thing14:25
kyrofaMavrik, the syntax for these keywords is here, for future reference: https://docs.snapcraft.io/build-snaps/syntax14:25
kyrofaEr, documentation, rather14:25
MavrikYeah, I found that, I just didn't think of just wildcarding everything out.14:27
mupPR snapcraft#2041 closed: kernel plugin: add kmod as build-package <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2041>14:29
mupPR snapcraft#1930 closed: lxd: friendly errror with suggestions if network is broken <Created by kalikiana> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1930>14:35
MavrikHmm, another question - binary in my snap has to invoke a binary in /usr/local/bin or /usr/share/bin of the installed system. As I see, "strict" confinement prevents this. Any way to ask for access ?14:46
mupBug #1746710 opened: Snap creates redundant duplicate directories in home folder <amd64> <apport-bug> <artful> <bionic> <Snappy:New> <snapd (Ubuntu):Confirmed> <https://launchpad.net/bugs/1746710>14:54
kyrofaMavrik, no, that sort of defeats the purpose of confinement. Is there a reason you can't bundle these applications within the snap itself?14:58
kyrofaYou can use a different confinement type if necessary, but that depends on the use-case14:58
MavrikMy tool is invoking "adb" from Android SDK which spawns a daemon on first invocation.14:59
MavrikAnd there's a plethora of problems if you invoke different versions of adb one after another.14:59
kyrofaHow do you ensure adb is actually installed?14:59
MavrikSo if I package adb with my snap and the user is an Android developer, it'll interfere with their Android Studio IDE15:00
MavrikHmm, the documentation implied I should use stage-packages: android-tools-adb for this15:00
MavrikTo basically add system dependency.15:00
kyrofaMavrik, stage-packages get placed into the snap15:00
Mavrik(I'm also opening a forum thread to see if there's a better way.)15:00
MavrikAh.15:00
MavrikHrmf.15:00
kyrofaYou can use classic confinement (i.e. unconfined) if such access is required, but that's subject to a more thorough review15:01
Mavrikyeah, that's fine with me for now15:02
mupPR core-build#11 closed: remove cruft from the writable-paths <Created by mvo5> <https://github.com/snapcore/core-build/pull/11>15:04
mupPR core-build#22 closed: unit testing for sync_dir() <Created by mvo5> <https://github.com/snapcore/core-build/pull/22>15:04
mupPR core-build#26 closed: move most of the customization into the core snap build <Created by mvo5> <https://github.com/snapcore/core-build/pull/26>15:04
MavrikI'll open a topic as the review system demands and see what the conclusion is :)15:04
mupPR core-build#11 opened: remove cruft from the writable-paths <Created by mvo5> <https://github.com/snapcore/core-build/pull/11>15:05
mupPR core-build#22 opened: unit testing for sync_dir() <Created by mvo5> <https://github.com/snapcore/core-build/pull/22>15:05
mupPR core-build#26 opened: move most of the customization into the core snap build <Created by mvo5> <https://github.com/snapcore/core-build/pull/26>15:05
mupPR core-build#22 closed: unit testing for sync_dir() <Created by mvo5> <https://github.com/snapcore/core-build/pull/22>16:03
mupPR core-build#26 closed: move most of the customization into the core snap build <Created by mvo5> <https://github.com/snapcore/core-build/pull/26>16:03
mupPR core-build#11 opened: remove cruft from the writable-paths <Created by mvo5> <https://github.com/snapcore/core-build/pull/11>16:04
mupPR core-build#22 opened: unit testing for sync_dir() <Created by mvo5> <https://github.com/snapcore/core-build/pull/22>16:04
mupPR core-build#26 opened: move most of the customization into the core snap build <Created by mvo5> <https://github.com/snapcore/core-build/pull/26>16:04
mupIssue snapcraft#2044 closed: snap install process creates empty dirs on Home folder <Created by mmartinortiz> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/issue/2044>16:12
kyrofajdstrand, I'm getting a store review failure I've never seen before, and I haven't changed anything in the snap: found errors in file output: unusual mode 'rwxr-sr-x' for entry './error/include', unusual mode 'rwxr-sr-x' for entry './icons/small' security-snap-v2_squashfs_files16:52
kyrofaThe snap is being built on launchpad16:53
kyrofaAny ideas?16:53
kyrofaThey're all failing that way, now17:00
kyrofaAlso, when I download the snap, I don't see that: drwxr-xr-x 2 kyrofa kyrofa  4096 Apr  2 09:48 include17:03
kyrofadrwxr-xr-x 2 kyrofa kyrofa  12288 Apr  2 09:48 small17:04
jdstrandkyrofa: you are shipping setgid files. don't do that17:09
jdstrandhmm17:09
kyrofajdstrand, not that I can see17:09
jdstrandkyrofa: what is the snap?17:09
kyrofajdstrand, here's a failed rev: https://dashboard.snapcraft.io/snaps/nextcloud/revisions/6106/17:09
jdstrandkyrofa: by 'download the snap', you mean you are running unsquashfs and then examining? if so, unless you do that as root, the setgid bit is stripped. you can use 'unsquashfs -lls <snap>'17:13
jdstrandkyrofa: $ unsquashfs -lls /home/jamie/Desktop/njObIbGQEaVx1H4nyWxchk1i8opy4h54_6106.snap | grep error/include17:13
jdstranddrwxr-sr-x root/root                81 2018-04-02 11:48 squashfs-root/error/include17:13
jdstrand...17:13
kyrofaAh, yes that's what I meant17:15
kyrofaHuh. jdstrand did we just add that check?17:16
kyrofaI haven't changed anything, I'm not even sure which part is providing these files17:16
jdstrandkyrofa: no. been there for ages17:16
kyrofaHow odd17:16
jdstrandsnapcraft is supposed to clean those up afaik17:16
jdstrandmaybe that cleanup changed?17:16
kyrofaThat's possible17:17
kyrofaNot because anything changed of which I'm aware, but because a new snapcraft was released relatively recently17:18
kyrofaOh, Apache is doing this17:19
kyrofaYeah, what the heck-- the Apache tarball ships with setgid dirs17:20
mupPR core#83 closed: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>18:03
mupPR core#38 opened: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>18:04
mupPR core#83 opened: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>18:04
mupPR # closed: snapd#3963, snapd#4358, snapd#4369, snapd#4387, snapd#4399, snapd#4416, snapd#4443, snapd#4497, snapd#4504, snapd#4509, snapd#4510, snapd#4538, snapd#4545, snapd#4551, snapd#4562, snapd#4588, snapd#4600, snapd#4700, snapd#4750, snapd#4767, snapd#4790, snapd#4805, snapd#4832,18:34
mupsnapd#4833, snapd#4840, snapd#4844, snapd#4845, snapd#4868, snapd#4873, snapd#4880, snapd#4889, snapd#4900, snapd#4911, snapd#4917, snapd#4930, snapd#4938, snapd#4940, snapd#4942, snapd#4951, snapd#4957, snapd#4965, snapd#496718:34
mupPR # opened: snapd#3963, snapd#4358, snapd#4369, snapd#4387, snapd#4399, snapd#4416, snapd#4443, snapd#4497, snapd#4504, snapd#4509, snapd#4510, snapd#4538, snapd#4545, snapd#4551, snapd#4562, snapd#4588, snapd#4600, snapd#4700, snapd#4750, snapd#4767, snapd#4790, snapd#4805, snapd#4832,18:35
mupsnapd#4833, snapd#4840, snapd#4844, snapd#4845, snapd#4868, snapd#4873, snapd#4880, snapd#4889, snapd#4900, snapd#4911, snapd#4917, snapd#4930, snapd#4938, snapd#4940, snapd#4942, snapd#4951, snapd#4957, snapd#4965, snapd#496718:35
cwaynejeeze mup18:54
popeycwayne: do you know who 'owns' the network-manager snap?18:55
cwaynepopey: abeato I think (or more generally, anewman's team)18:56
popeyah okay.18:56
popeyanewman: hello. :) is it possible to get nmtui added to the network-manager snap?18:56
cwayneIs there an issue with it?18:56
cwayneAh18:56
popeynmtui is a great UI for connecting to networks, nmcli is not18:57
anewmanpopey: is this for use on Ubuntu Core?18:57
popeyyes18:58
anewmanOkay. The most common user of network manager is a management system of some sort speaking d-bus so we haven’t been super focused on UI. We also have some snap configure hooks for basic settings.18:59
popeyok. I have installed core on a laptop and am using it like a weird person might18:59
anewmanIs nmtui part of network-manager itself? If so, that seems pretty straightforward.19:01
popeyon ubuntu proper it's in the network-manager package19:03
anewmanSo we probably just stripped it out to keep the dependencies at a minimum. Sounds simple.19:05
anewmanpopey: reckon you could file a bug here: https://launchpad.net/snappy-hwe-snaps19:06
popeysho thang19:06
popeydone19:08
popeyjdstrand: i am getting the snap review fail for emoj. It's a command line tool and I added x11 because it uses xsel, but doesn't need a desktop file19:20
popeyhttps://dashboard.snapcraft.io/snaps/emoj/revisions/19/19:20
mupBug #1746710 changed: Snap creates redundant duplicate directories in home folder <amd64> <apport-bug> <artful> <bionic> <snapd (Ubuntu):Confirmed> <https://launchpad.net/bugs/1746710>19:34
popeycorehuzzah. irssi on ubuntu core.20:50
popeyjdstrand: do you know what the plan is for a classic interface?20:51
popeyhttps://forum.snapcraft.io/t/classic-interface/4806 :)20:52
mupPR snapcraft#2045 opened: many: add override-pull scriptlet <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2045>20:56
jdstrandpopey: not any more than what you asked about, no21:27
popeyah okay.21:27
popeyit's a bummer not being able to run more than one thing at once on a core system21:28
Caelumzyga: ping23:07
Caelumzyga: guy I know from linux gaming discord who is deeply involved in oS suggested another addition to your canonical-docs PR, also update Leap version from 42.2 to 42.323:09

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