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

mhall119sergiusens: if you're around tomorrow, I could really use your help with some cmake/pkg-config problems I'm having00:10
Shibein a snappy system, will apt still be used for core parts of the system such as kernel and drivers?00:26
mhall119sgclark: d_ed: we've started sending out a weekly email higlighting snap work from the community, do you have a few bullet points about what you've been doing that I can include?00:31
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
nhainesShibe: no.02:32
=== chihchun_afk is now known as chihchun
nhainesI give up.  I'm trying to snapify a script that calls sox via play, and I can't get any progress past "play FAIL sox: Sorry, there is no default audio device configured".03:21
nhainesThe "pulseaudio" interface is defined and connected.  I don't know whether or not I'm supposed to have PulseAudio installed in the snap (it doesn't seem to make a difference) or for that matter, why sox works immediately on a classic system and has no configuration inside a snap.03:22
nhainesI have installed libsox-fmt-pulse.  I come back to it every week and it's been five weeks and I'm stumped.03:23
elopionhaines: does it fail even with --devmode ?03:24
elopiothomi: hey, I see in keybaise that you have an invitation available... :)03:25
elopio*keybase03:25
thomielopio: I sure do - you want one?03:25
nhaineselopio: it does!03:26
elopiothomi: yes please.03:26
thomielopio: PM me your email address03:26
elopionhaines: please report a bug. Sounds like sox needs configuration, which I have no idea how to do.03:27
nhaineselopio: after 5 weeks of trying, neither do I!  :)03:27
nhainesBut I hate to report a bug if it's really me just being dumb.  :)03:28
elopionhaines: that's what I do all day!03:30
nhainesheh  :)03:31
nhainesWhat project do I file against in LP?03:32
=== chihchun is now known as chihchun_afk
elopionhaines: snappy03:44
nhainesNow to figure out how to protect my suuuuuper secret proprietary one-line sox command trade secrets!03:47
Shibe<nhaines> Shibe: no.03:55
Shibeokay, so how will drivers and kernels be installed/updated in snappy?03:55
Shibeisn't each snap isolated from the rest of the system?03:55
nhainesShibe: drivers will be part of the gadget snaps and kernels will be part of the kernel snaps.03:57
Shibenhaines: is there any information about these "gadget/kernel snaps"?03:58
nhaineshttps://developer.ubuntu.com/en/snappy/ under System Overview03:59
nhainesAlso probably https://developer.ubuntu.com/en/snappy/guides/porting/04:00
ePierrehello!04:21
ePierreI'm trying to create a snap from a Python package. I've managed to create the snap, but when I try to run it, I have the following issue:04:21
ePierrelocale.setlocale(locale.LC_ALL, '')04:22
ePierre  File "/home/pierre/dev/rapid/parts/rapid/install/usr/lib/python3.5/locale.py", line 595, in setlocale04:22
ePierre    return _setlocale(category, locale)04:22
ePierrelocale.Error: unsupported locale setting04:22
ePierreargh. Now I get another error when trying to re-build the snap. → "ImportError: No module named 'DistUtilsExtra'" although in my snapcraft.yaml, I have04:38
ePierrebuild-packages:04:39
ePierre- python3-distutils-extra04:39
ePierrelooks like snapcraft doesn't downloaded this package before trying to build...04:39
ePierre(but it worked before and I don't know how)04:39
=== chihchun_afk is now known as chihchun
nhaineshttps://bugs.launchpad.net/snappy/+bug/159355805:30
ubottuLaunchpad bug 1593558 in Snappy "sox not configured for pulseaudio when packaged in a snap" [Undecided,New]05:30
=== JanC is now known as Guest67075
=== JanC_ is now known as JanC
trijntjeI've installed a snap as user1, but I can't use it as user2. When I want to install it for user2, I get a message that the snap is already installed. Is that a known limitation or should I file a bug?06:00
trijntjehmm, it looks like /snap/bin is not in the PATH of the new user I created with adduser06:01
qenghotrijntje: $ grep /snap /etc/profile.d/*06:07
trijntje/etc/profile.d/apps-bin-path.sh:# Expand the $PATH to include /snap/bin which is what snappy applications06:07
trijntje/etc/profile.d/apps-bin-path.sh:PATH=$PATH:/snap/bin06:07
trijntjeqengho: I've added /snap/bin to my PATH as a temporary fix06:08
trijntjeIt happens both for users added with adduser and via the gui. Should I file a bug against snapd for this problem?06:11
dholbachhey hey06:11
trijntjehttps://bugs.launchpad.net/ubuntu/+source/snapd/+bug/159357806:24
ubottuLaunchpad bug 1593578 in snapd (Ubuntu) "new users don't have /snap/bin in PATH" [Undecided,New]06:24
qenghotrijntje: What shell do new users have? Check /etc/passwd .06:26
trijntjeqengho: /bin/bash, same as the first user06:27
qenghotrijntje: Is anything in their home clobbering PATH var? Also see /etc/skel/ .06:28
trijntjeqengho: no, only /etc/skel/.profile adds $HOME/bin to PATH.06:32
trijntjeecho $PATH06:32
trijntje/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games06:32
nhainesdholbach: morning!06:37
dholbachhi nhaines06:39
qenghotrijntje: $ ls -l /etc/profile.d/apps-bin-path.sh06:41
trijntje$ ls -l /etc/profile.d/apps-bin-path.sh06:42
trijntje-rw-r--r-- 1 root root 101 mei  3 08:00 /etc/profile.d/apps-bin-path.sh06:42
qenghotrijntje: That doesn't make sense. Something you said is wrong. At login, bash "runs" /etc/profile, which runs /etc/profile.d/*, which sets PATH to include /snap/bin . Put a "echo hi" in /etc/profile.d/apps-bin-path.sh to see if/that it's running.06:48
trijntjeqengho: you are right. If I do a real login, snap is in the path. I was just using 'su user' from a terminal, and if I do that its not in the path06:50
nhainesdholbach: snapcraft frustrates me, as I've been unable to build absolutely anything.  But I've destroyed whole development systems over and over in lxc containers while my laptop's 16.04 LTS install remains pristine, and *that's* been really pleasant.  :)07:01
trijntjeqengho: what does this mean for the bug? Is it invalid/expected behaviour?07:11
d_edmhall119: * patched parts of KDE frameworks to support KIO in snappy07:15
d_edmhall119: thus fixing downloading/file browsing07:15
qenghotrijntje: well, the bug-report title should be changed to mention "su".07:17
dholbachnhaines, maybe if you post your snapcraft.yaml somewhere, somebody can help you?07:20
dholbachnhaines, or you ask a more specific question?07:20
trijntjeqengho: I've added this to the bug report, thanks for your help07:24
ePierrehey there07:24
ePierreI'm trying to create a snap for this app: https://launchpad.net/rapid07:25
ePierreI bzr branched the code (bzr branch lp:rapid), then created a snapcraft.yaml file, but I cannot build it07:25
qenghotrijntje: In the mean time, $ su other -07:25
ePierreit worked once (but then I couldn't run the program, which is another issue), and since then, whenever I try to rebuild, I get an error07:26
qenghoThat's all. sic07:26
ePierreboth snapcraft.yaml and error are here: http://paste.ubuntu.com/17426643/07:26
ePierredoes anyone have a clue of what's going on?07:26
qenghoePierre: also use "--debug" as arg to snacraft.07:27
ePierreqengho, ok. It provides a bit more info, but nothing interesting I think07:29
nhainesdholbach: I did!  It's in the bug report.  :)  https://bugs.launchpad.net/bugs/159355807:31
ubottuLaunchpad bug 1593558 in Snappy "sox not configured for pulseaudio when packaged in a snap" [Undecided,New]07:31
dholbachcool07:32
qenghoePierre: "cd parts/rapid/install; pip3 install"  # What is wrong with pip3 install there? How should you install?07:32
qengho...if this were not a snap, what are install instructions?07:32
nhainesdholbach: although my attempt at snappifying hollywood didn't go anywhere either, which is sort of a shame.  :)07:33
dholbachbring it up on the mailing list07:33
nhainesOkay.  I'm shy of mailing lists when the more probable cause is my own incompetence.  :)07:34
* nhaines tries to remember what the mailing list is caled this week.07:34
ogra_snapcraft@snapcraft.lol07:34
ogra_;)07:34
nhainesogra_: :D07:34
nhainesThe list admin should really use the [snapcraft] prefix.07:35
svijogra_: you forgot the "lists." before snapcraft.lol! :P07:35
ogra_ouch, indeed07:35
ogra_nhaines, so that you cant read the subject in dekko you mean ?07:35
ogra_yep, good idea :)07:35
ePierreqengho, there is an install script: https://launchpad.net/rapid/pyqt/0.9.0a3/+download/install.py07:36
qenghoePierre: plugins are only smart about standard ways of installing software parts. You could make your own plugin that runs that. Extend python3 module, perhaps.07:40
trijntjeWhat is the proper way to create a snap for a program that can read files outside of the users home (eg /bigdata)07:40
nhainesogra_: do that I can find them in Thunderbird.  Is there some strange Dekko bug?  :)07:41
zygagood morning07:41
ogra_nhaines, no, just a strange screen width of phones :P07:42
ogra_prefixing subjects is a pretty bad habit since it pushes the actual info you want to the right ... if your screen isnt particulary wide the text you want to read might not be readable anymore07:43
nhainesogra_: that's what rotating the phone sideways is for, of course.  ;)07:48
ogra_sure ...07:48
nhainesThe actual info I want tends to be "why am I getting these emails?"07:48
ogra_i get that by looking at the "To" address :)07:50
nhainesogra_: I don't have time for that.  :)07:51
ogra_then use a proper filter ;)07:52
trijntjeis it possible to have a snapped program read a file from outside the users home directory? 'my-app /path/to/data/file'07:54
ogra_not at the moment07:56
morphiszyga: ping07:56
ogra_well ... if you install with --devmode it might07:57
zygamorphis: hi07:57
morphiszyga: do you have time to take a last look at the modem-manager interface?07:57
zygamorphis: little but I can have a quick look now07:58
trijntjeogra_: I'll give devmode a try, thanks07:58
morphiszyga: we would like to get it merged, jdstrand already gave his +107:58
morphisabeato: ^^07:58
pmpmorning, I finally succeeded in building a custom kernel (which is correctly configured to working with ubuntu-core) for raspi with IIO support \o/07:58
nhainesYay!07:58
pmpI finally could run a command from a snap which tries to access iio-devices07:59
pmpand it fails ! Yay!07:59
nhaines\o/07:59
pmpI'm using lsiio which access sysfs07:59
pmpmy goal is to create a bug on launchpad which will make the devs create an appropriate interface - unless there is already one?! Hence my report here before posting a bug.08:00
pmp(I will also try to write an article/report on how I did to create an IIO-kernel for raspi based on 4.7-rc3 - it wasn't torture but not far from it. Thanks to ogra_ for supporting me all the time08:02
trijntjeogra_: putting 'devmode' in the snapcraft.yaml file did not work, but installing the snap with --devmode did. Thanks for the advice08:05
dpmseb128, good morning. I tried your suggestion last night http://paste.ubuntu.com/17426218 and that made dconf happy - thanks! The app started, but then apparmor blocks it as it's trying to write to /var/cache/fontconfig/08:08
ePierreqengho, thanks! I'll dig a bit more and perhaps discuss with the owner of the software about it08:08
seb128dpm, great for dconf! unsure about the fontconfig issue though08:10
dpmno worries, I'll keep investigating08:10
seb128dpm, first time I see that issue, you use the standard wrapper?08:12
dpmseb128, parts of it. It's the qt5-launch wrapper, to which I had to add some bits from the gtk wrapper for a qt app that uses gtk theming08:13
seb128dpm, is XDG_CACHE_HOME set?08:13
dpmseb128, yeah, that's one bit that I took from the gtk wrapper: https://github.com/dplanella/qt5conf/blob/with-gtk/qt5-launch#L5308:14
seb128dpm, sorry I don't know offhand08:16
dpmnp, thanks anyway08:16
ogra_trijntje, yeah, the entry in snapcraft.yaml just makes sure that a snap from the store blocks when you install it without --devmode ...08:17
trijntjeogra_: I see. I was still able to install it though, I just got the same 'permission denied' error when I tried to read the file08:21
ogra_trijntje, yeah, but you installed it locally ... the a snap install from the store should behave differently08:25
ogra_we dont actually stop you from shooting both your feet when you sideload stuff ;)08:26
=== chihchun is now known as chihchun_afk
trijntjeogra_: that makes sense. I'll mostly be creating snaps for myself and some colleagues, so foot-shooting is no big deal ;)08:27
ogra_just wear these heavy duty shoes then ;)08:27
=== verterok` is now known as verterok
=== chihchun_afk is now known as chihchun
didrocksdholbach: dpm: did you get issues with snapcraft cleanbuild? I'm trying from snapcraft-example godd, run "snapcraft cleanbuild"08:47
didrocksI'm getting a lot of E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/f/file/python3-magic_5.25-2ubuntu1_all.deb  500  Internal Server Error08:47
didrocksin my new lxd container08:47
didrocksit doesn't refresh?08:47
dholbachit worked for other projects earlier08:48
dpmdidrocks, it worked for me yesterday, I've not tested it today. I think someone mentioned this on gitter yesterday, and `lxd init` helped them08:48
dholbachlet me try godd08:48
didrocksthanks :)08:48
didrockskeep me posted08:48
dholbachit wfm with godd - looks like snapcraft 2.11 can get all build-deps - trying with trunk08:49
dholbachhum... it install snapcraft 2.11 in the lxc container08:50
dholbachso yeah... it works08:51
slvnhello, I tried the "pulseaudio" interface on my snap, and it didnot seem to work. I have blocked message from app armor08:52
didrocksI'm going to try lxd init08:52
didrocksalready ran :/08:52
didrockshum, unsure what's happening08:52
tsimonq2didrocks: there's an open bug by Alan Pope reporting the 50008:58
* tsimonq2 finds it08:58
didrocksoh great!08:59
didrockspopey: you have the same issue as well, did you get it fixed?08:59
popeydidrocks: I am not here, but I did fix it08:59
popeynuke lxd/lxc config from orbit and start again09:00
popeyit was lxc/lxd networking at fault, not snappy09:00
* popey disappears in a puff of aether09:00
didrockspopey: always the big restart button! Many things, and good week-end! :)09:00
* tsimonq2 chases after popey but to no avail, he is gone (:P)09:00
tsimonq2popey: have a good weekend :)09:01
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
ePierreWhen I try to build a snap from a Python3 project, what happens in snapcraft exactly? Cause in the project I'm trying to build, it requires a few packages to be installed (e.g. python3-gi), and they are installed on my system, and they are also in build-packages: section, but somehow the setup.py script doesn't seem to have access to them when I launch snapcraft09:31
zygaePierre: you want them in stage-packages09:37
zygaePierre: they are required at runtime, not just at build-time09:37
zygaePierre: gi is gobject introspection09:37
zygaePierre: that requires the actual shared objects (random .so files)09:37
zygaePierre: the .gir files09:37
ePierrezyga, indeed... it seems to build properly now09:37
zygaePierre: and then python[23]-gi itself09:37
=== chihchun is now known as chihchun_afk
=== qengho_ is now known as qengho
jdstranddpm: the access to /var/cache/fontconfig is non-fatal and almost certainly not why your app didn't work (consider the fact that it wants to write to a directory it doesn't have access to anyway-- that dir is root owned and your app runs as you)10:34
jdstrandit is a weird fontconfig thing10:34
dpmjdstrand, I figured out the /var/cache/fontconfig issue, as you say, it was a red herring. It turns out that the app ships a fonts.conf file that specifies that directory as the first to use in a list. I tried to alter that list with a local.conf file, which didn't work, and then figured out that the app was not starting because of a missing 'network-bind' plug, which snappy-debug hadn't flagged in previous tests10:37
dpmafter it did, I added the plug and it then worked10:37
pandaadbHi - I am trying to package a java server application with snappy for the first time. My jenkins server builds the things and I have a url for that (hardcoded for now).10:41
pandaadbWhat I would like to do is to download it (with auth)10:41
pandaadbis there a wget plugin?10:41
pandaadbor would that be the pull plugin10:41
dpmjdstrand, by the way, am I using snappy-debug correctly? It does not seem to work as expected -> http://paste.ubuntu.com/1742856110:41
=== chihchun_afk is now known as chihchun
jdstranddpm: you said 'does not start the app', but it does-- it is tailing the log and will hang there until it has something to report10:43
jdstranddpm: you can run it as non-root, but if you do you run the risk of hitting kernel rate limiting for log output10:43
jdstranddpm: so, in earlier tests it might have been rate-limited or stopped before it hit the denial10:44
jdstrand(the app stopped before it hit the denial)10:44
dpmack10:44
dpmjdstrand, so regarding the usage of snappy-debug, then it's better to launch the app in another terminal to at least see the UI?10:45
jdstranddpm: there is no ui. think of it as a fancy 'tail -f /var/log/syslog'10:45
jdstrandwell, there is no gui10:45
jdstrandthere is cli output10:46
dpmjdstrand, right, I just thought that that would launch the app's UI rather than holding it10:47
MikaelaIs there any ETA for Firefox and LibreOffice snaps appearing?10:47
tsimonq2Mikaela: AFAIK there's already a LibreOffice snap10:48
tsimonq2Mikaela: http://news.softpedia.com/news/libreoffice-5-2-beta-2-now-available-as-a-snap-for-ubuntu-linux-other-distros-505263.shtml10:49
tsimonq2that's from two days ago10:49
Mikaelanice10:50
pandaadbIs there a place where the plugins are documented?10:51
pandaadbe.g. the curl plugin has no docs doing snapcraft help curl10:53
tsimonq2dpm, dholbach: ^10:54
pandaadbMaybe i should take a step back and find out if I am using this for the right purpose? I have the server app that is already built. I want to create a snap package that can be run anywhere. For this all i really need is to download the zip, unzip it in a location and setup the properties. After that it only needs to run10:55
morphiszyga: you had time for the modem-manager interface?11:19
ogra_morphis, not zyga, you know he is slacking all day :)11:22
morphisogra_: I know, but it looks like nobody else can then approve my PR :-)11:22
dholbachpandaadb, https://developer.ubuntu.com/en/snappy/build-apps/plugins/11:35
dholbachthere's no `curl` plugin, it's a part: https://wiki.ubuntu.com/Snappy/Parts11:35
pandaadbhey - thanks11:36
dholbachanytime :)11:36
pandaadbso downloading a zip somewhere is not what I am meant to do? I am starting to think I am using snappy for the wrong purpose11:36
pandaadbOh okay - so using a "curl" part simply downloads curl into my snappy package so that curl is available11:38
zygamorphis: I'm still reading it11:38
zygamorphis: I'll land it shortly11:38
zygamorphis: it's just very long :)11:38
morphiszyga: awesome! :-)11:39
zygamorphis: I think you will be happy to hear about that you may soon get auto-connecting network-manager11:39
zygamorphis: internally plugs and slots will auto-connect within one snap11:40
morphiszyga: you make my dreams become true :-)11:40
dholbachpandaadb, yep and downloading a zip sounds reasonable (https://github.com/ubuntu-core/snapcraft/blob/master/demos/tomcat-maven-webapp/snapcraft.yaml does it too)11:41
pandaadbah tar-content can download anything11:43
Son_Gokuzyga yo11:43
pandaadbsnapcraft help tar-content does not recognize the plugin though for help (add authentication and such)11:43
Son_Gokuzyga, is SELinux support for snaps coming soon?11:45
Son_GokuI'd rather not have to throw SELinux into permissive mode for this11:45
zygaSon_Goku: hi11:47
zygaSon_Goku: I'm not working on it yet but I can help someone that is interested and experienced in selinux11:47
zygaSon_Goku: the model supports it from day one11:48
Son_GokuI work in both the Fedora and Mageia communities, so I'm happy to help if you need anything11:48
zygaSon_Goku: that's great!11:48
Son_Gokuand protip, Fedora COPR will soon offer Mageia as a release target11:49
Son_GokuMageia 6 anyway11:49
Son_Gokusince we're gradually moving onto the same tooling as Fedora for package management11:49
zygaSon_Goku: I think the first thing that should be doable is a way to run snapd in a mode where some interfaces are available and some are not11:49
zygaSon_Goku: and when an interface is not yet implemented for selinux, snaps using those have to be installed in devmode11:49
zygaSon_Goku: on fedora we could enable seccomp pretty easily I think11:49
Son_Gokuyes11:49
Son_Gokuthat should cover most of it11:49
zygaSon_Goku: the first step towards that would be to make snap-confine allow seccomp while not yet using apparmor11:50
zygaSon_Goku: that should be pretty simple, it's roughly one or two lines and an optional compile on one file (have a look, it should be very fast to implement)11:50
zygaSon_Goku: for selinux itself I'd like to have something simple we could implement to prototype the idea11:50
zygaSon_Goku: I think the network interface (the thing that lets snaps talk to the network) is the first thing we could try11:50
Son_Gokuunfortunately can't touch things requiring a CLA11:51
Son_Gokuit gets too messy for me to contribute to stuff like that11:51
Son_Goku:(11:51
Son_Gokubest I can do is help you along11:51
Son_Gokudo you not already talk to NetworkManager?11:51
Son_Gokuall variants of Fedora use NetworkManager as the default management interface11:52
Son_Gokuwell, except Cloud, which uses systemd-networkd11:52
zygaSon_Goku: as it is very well defined, a lot of the snaps need just that and we could try that11:53
zygaSon_Goku: why not? is your employer against that?11:53
zygaSon_Goku: it's not about network manager11:53
zygaSon_Goku: there are two interfaces: network, which lets you create AF_INET sockets and a few other things11:53
zygaSon_Goku: and network-manager, which lets you talk to n-m over dbus11:53
zygaSon_Goku: those are totally separate11:53
zygaSon_Goku: if you cannot work with the CLA in any way then I guess you'll have to wait until someone else steps up and can sign the CLA or that your situation changes11:53
Son_Gokuit's not that I can't, but because the CLA involves copyright assignment, it has to be reviewed11:53
Son_Gokucertain types of CLAs are easier to deal with than others11:53
Son_Gokuand lawyers scare me :)11:54
Son_Gokuin the meantime, it seems like it'd be a good idea to learn Go, though not really a fan of the language11:55
zygaSon_Goku: again, network and network-manager are totally different11:56
zygaSon_Goku: network lets you run a program like wget11:56
zygaSon_Goku: it lets wget use a few syscalls11:56
zygaSon_Goku: and perhaps read a few typical files (/etc/resolv.conf)11:56
zygaSon_Goku: are you familiar with the particular CLA used here? are you sure it's impossble to sign?11:56
zyga(for you)11:56
Son_Gokunot sure actually11:57
Son_Gokubut I was familiar with the ones used in older projects I tried to contribute to11:57
Son_Gokuupstart, etc.11:57
Son_Gokuwhy isn't snapcraft part of the snap project?12:01
zygaSon_Goku: the same codebase or the same group on github?12:03
Son_Gokusnapcraft is in ubuntu-core rather than snap-core12:04
Son_Gokudoes snapcraft only work with ubuntu?12:05
zygaSon_Goku: it is a combination of reorgs to the code12:05
ogra_currently, yes12:05
zygaSon_Goku: currently snapcraft does currently only work on ubuntu but this is being changed12:05
zygaSon_Goku: it should be able to build snaps on any OS12:05
ogra_its just python ... might not be hard to port to other distros12:05
zygaSon_Goku: probably as a snap itself12:05
Son_GokuO.o12:05
pandaadbhey - i am trying to pull a jdk. I read this: If you only need to embed a Java runtime, add a part with the jdk type.12:06
pandaadbhow does a part with a type look like?12:06
Son_Gokuif it's a snap, that'd make it hard to consume things like rpms and debs, wouldn't it?12:06
ogra_why12:06
pandaadbIt keeps telling me to use a plugin but i would like to only add the jdk12:06
zygaSon_Goku: not really, it would be easy to run it anywhere snapd runs12:06
ogra_as long as it knows where to get them and how to unpack them12:06
zygapandaadb: I think the word "type" is really "plugin" today12:06
pandaadboh okay. So that one tells me that source is mandatory12:07
Son_Gokuoh geez12:07
Son_Gokuit needs arch translations12:08
qenghoSon_Goku: Snapcraft is one of many possible tools to make snap packages. For a while, snap packages were made with "cp" and "vi".12:08
Son_Gokuew12:08
Son_Gokuvi!?12:08
qenghoYes. UCB. not vim.12:08
zygaSon_Goku: snaps are just squashfs filesystems with meta/snap.yaml file12:08
zygaSon_Goku: they can be made in any way you want12:08
Son_Gokuthat's more gross than vim12:09
qenghoOkay.12:10
Son_Gokubut wow12:11
Son_Gokuso it's a loop with stuff inside plus a declaration file12:11
qenghoSon_Goku: Anyway, you asked why. Snapcraft came after snap, as an idea to help snaps, not as The Only Ordained Way To Make Snaps Forevermore.12:11
zygayep12:11
Son_GokuI don't see debs as a plugin in snapcraft12:12
Son_Gokuso how does it consume debian packages/repos?12:12
qenghoSon_Goku: Anypart can include debs.12:12
ogra_it pullse the binaries from the ubuntu archive12:12
ogra_*pulls12:12
ogra_and unpacks them so you get your depending libs and all12:12
qenghoSon_Goku: "stage-packages: [...]"12:12
Son_Gokuoh, so it's integral to it rather than being a component of it12:13
ogra_right12:13
ogra_it could use rpms12:13
ogra_or fooples ... or shrobs12:13
ogra_:)12:13
ogra_whatever helps you to fulfill your requirements to run your snap12:13
ogra_(even a tarball full of binary blobs you pre-built would work)12:14
qenghoogra_: package names will not match, so it will matter what kind of system you're building on as to whether a snapcraft.yaml "stage-packages" will work. I think it's safer+better to say "this always gets debian packages".12:16
ogra_sure ... but nothing stops you to do non-standard hackery12:16
pandaadbhm. when using the jdk plugin, i need to define a source (i think it is ignored). But when doing snapcraft snap, it doesn't build my snap anymore :/12:19
ogra_pandaadb, did you run snapcraft clean first ?12:21
pandaadbno, let me try that12:21
pandaadbit seems to be updating my repositories and then in the end tells me my security is a "danglink link" i think12:22
ogra_ah, you need to make sure to not have links that point to somewhere outside the snap12:23
pandaadbah that's maybe because I had to add security certificates to my local java12:24
pandaadband they are not really needed for the snap i am building, but rather so i can talk to our shitty maven repos12:24
* pandaadb tries to remove link12:24
=== hikiko is now known as hikiko|ln
pandaadbOr is there maybe a way to have the jdk part be completely independent?12:24
qenghopandaadb: No. If you need it, you must pick it and ship it in the snap.12:26
pandaadboh by that i meant that it should just download everything and not try to link to something local12:26
pandaadbI think maybe the issue is that I am using the oracle jdk for development, but the snapcraft is downloading the openjdk of a different version12:26
pandaadbthe simlink doesn't even exist (the one it is looking at)12:27
pandaadbi guess that's what dangling means12:27
pandaadbseems to be a known issue: https://bugs.launchpad.net/snapcraft/+bug/150050512:29
ubottuLaunchpad bug 1500505 in Snapcraft "snapcraft produces snaps with dangling external symlinks" [High,Fix released]12:29
Son_Gokuogra_ actually, I'd suggest that it should be able to handle either debian or rpm packages12:31
ogra_Son_Goku, well, as qengho said above, then your snapcraft.yaml cant be universall12:32
ogra_since the names for stage packages will differ12:32
Son_Gokuthe output is universal, though12:32
ogra_well, the idea is also that you can just grab an upstream snapcraft.yaml and it will just build12:33
Son_Gokuso declaring a "from <distro>" is hard?12:34
ogra_so while other package managers will be possible to hack in, i guess snapcraft as a snap (which would then just use debs) will likely become a default12:34
Son_Goku:/12:34
ogra_butu why would you care at all12:34
ogra_you do snap install snapcraft ... feed it your snapcraft.yaml and out comes a snap12:35
ogra_what you care for is your source and how to get it to users and running, no ?12:35
pandaadbOkay - so my snap did not package, because jdk needs a source. But since I didn't get why, i added the string "some source". This is obviously not a location, which is why my snap broke. I set it to "." and now it packages12:35
ogra_:)12:36
qenghopandaadb: Are you getting source from somewhere and compiling it, or wrapping up some existing debianubuntu package in a snap?12:37
ogra_Son_Goku, the execution environment should nnot matter at all in the end12:37
pandaadbqengho, i am trying to package up my java app (build with gradle) and make it run12:38
pandaadbthe next step will be to write a gradle plugin as I am not using maven12:38
pandaadband then i will attempt to build it from source12:38
Son_GokuI care about the source because it can matter12:38
qenghoAh, then you can put it next to snapcraft.yaml and say "source: pandaadbdir"12:38
pandaadbIs te root directory $SNAP or is it @SNAP_DATA ?12:39
pandaadboh okay - that is what the source is for12:39
pandaadbfound it, it's SNAP12:41
qenghopandaadb: SNAP is snap/.   SNAP_DATA is a /var/ something. SNAP_USER_DATA is a /home/~user/ something.12:41
willcookeI need to provide my own .pro file to build this thing (the one that comes with it is "broken" - I will look at fixing it later).  I had added it in to my git repo in parts/<project>/src/  - but then when I tested it from scratch, of course git wont clone in to a non-empty dir.  So is a suitable hack to have another step in my yaml to copy the file over after the checkout has happened?12:41
pandaadbperfect :) thanks a lot12:41
qenghopandaadb: install snap "hello-world" and run hello-world.sh .12:41
willcookes/checkout/clone12:41
pandaadbthanks!12:42
ogra_Son_Goku, so use source for everything (you can do that) and no binary packages at all12:42
pandaadbthis is awesome. Remind me of docker. But with docker if feel so restricted to the container I built. If I made a mistake or i want to change something inside my container, i am kind of screwed12:43
Son_Gokubut that pulls in ubuntu sources, right?12:43
Son_GokuI can't use srpms or something else12:43
ogra_it is just quite some effort and will take extra build time ... but technically nothing stops you from building *all* the bits from source12:43
ogra_it pulls the sources you point to12:43
ogra_(it will use ubuntus GCC ... but thats it)12:43
ogra_i'm talking about upstream tarballs (you can just point to an url) or git trees12:44
ogra_nothing requires that you actually use stage-packages at all12:45
pandaadbcan snappy packages be run with sudo? i think my server can not start because it does not have permissions12:47
ogra_if it is a server it already runs as root12:49
ogra_did you define a daemon line in your snapcraft.yaml ?12:49
pandaadboh okay, that may be the certificate dangling stuff then12:49
ogra_https://github.com/ubuntu/snappy-playpen/blob/master/tinyproxy/snapcraft.yaml12:49
pandaadbogra_, no - gradle creates a wrapper that uses java_home and just runs it with the classpath env12:49
ogra_see how i did it for tinyproxy there12:49
ogra_( you need "daemon: simple" in the "apps:" part)12:50
pandaadbwhat does the plugs do?12:51
qenghowillcooke: Hmm, you could abstract it a bit. Make a ./Makefile next to snapcraft.yaml , and massage it together in your build-step? pull, pull, cp, and build in the makefile.  So, plugin:make and source:. ?12:51
mhall119d_ed: are your KDE patches in upstream, or are they only in an Ubuntu or Neon archive?12:51
qenghowillcooke: that^ will not work in out build servers, though.12:51
qenghoonly pull stage has access to network.12:52
willcookeqengho, ah, good point.12:52
willcookeCan the copy plugin help me I wonder.12:52
* willcooke reads12:52
willcookekyrofa, sucessfully built using your new qmake plugin, thank you!!12:52
kyrofawillcooke, excellent, thank you!12:53
kyrofawillcooke, it'll probably go through some more renditions, but now I know those variables are the ones you need12:53
kyrofawillcooke, so you should be good once it lands12:53
willcookecool!  I will comment on the PR12:53
kyrofaI'd appreciate it12:54
mhall119sergiusens: are you in today?12:54
pandaadbogra_, after adding those lines my snap became not startable (e.g. after installing it I can't just type in server.run)12:56
pandaadbhttp://pastebin.com/E1GS4Gaj12:56
willcookeqengho, I could just write a plugin to mangle my source I think12:57
qenghowillcooke: Yes. Ew. :(12:57
willcooke\o/12:58
willcookesnapcraft.common.link_or_copy might help me12:59
seb128kyrofa, sergiusens, is there a snapcraft way/plugin to move files around in the snap before it's packed?13:00
kyrofaseb128, you can use reorganize13:01
kyrofaseb128, errr, organize13:01
qenghowillcooke: I'd do some terrible relative thing. ../../otherpart/build/13:02
seb128kyrofa, thanks13:02
willcookeqengho, I think it knows where everything will be, so an absolute path should be do-able, and then I can just symlink it13:03
willcookeoh, seb128 - in this Qt project I'm building I'm seeing errors about pixbuf stuff, like we saw for Gtk.  I'll  hit you up for some hints in a bit if you're free?13:03
seb128willcooke, sure13:04
seb128willcooke, I'm iterating over my evince snap13:04
seb128getting there, good stuff13:04
willcookeseb128, \o/13:04
seb128I've a git version starting on xenial and working (can open pdf) including translations (but done in an hacky way)13:05
ogra_pandaadb, it should just auto-start ... check with journalctl and systemctl13:08
pandaadbis that what the daemon is for?13:08
ogra_yeah13:08
ogra_it makes snapcraft create a systemd unit13:08
pandaadband the service name is that smae?13:08
pandaadbso in my case: sudo service media-server.run start ?13:09
ogra_snap.tinyproxy.tinyproxy.service13:09
ogra_thats what i get for tinyproxy13:09
pandaadbah i will give it another try13:09
ogra_systemctl status snap.tinyproxy.tinyproxy.service13:10
ogra_that gets me info if it runs13:10
seb128jdstrand, you set bug #1576308 as fix commited but it still doesn't work out of the box due to missing xdg_runtime_dir, do you want to re-use that bug or should we open a new one?13:10
ubottubug 1576308 in snapd (Ubuntu Yakkety) "gsettings doesn't work with snap confinement" [High,Fix committed] https://launchpad.net/bugs/157630813:10
ogra_(and replacing status with stop or start will then start/stop it)13:10
didrocksseb128: missing, as, the env isn't exported?13:11
didrocks(or access)13:11
seb128didrocks, like the /run dir is not mounted in the snap env13:11
seb128I guess we could create a new one and set the variable13:11
seb128unsure if that wouldn't confuse dconf though13:12
pandaadbooi - is there a plan to just move away from apt-get to snap completely?13:12
seb128since the service is the user session one13:12
didrocksseb128: just for my interest, what is the .pid or .lock that is used?13:12
* didrocks doesn't see anything obvious13:12
seb128didrocks, in that dir?13:13
didrocksyep13:13
seb128iirc desrt said that there was a file writing in there during writes13:13
didrocksah, so it can be transient13:14
seb128which client apps use to know when to read the new value or something13:14
seb128it's transient13:14
seb128it's just there during writes13:14
didrocksyeah, so maybe with separated one, we would have multiple writes…13:14
=== hikiko|ln is now known as hikiko
morphismvo_, niemeyer: is there somebody else who can finish reviewing https://github.com/snapcore/snapd/pull/1226 and merge it so we get it released soon?13:22
seb128slangasek, jdstrand, mvo_, the "socketall/i386" fix|workaround from snapd 2.0.8 isn't right, http://launchpadlibrarian.net/265014833/snapd_2.0.5_2.0.8.diff.gz suggests it's only allowed if network-bind is used, shouldn't be allowed in any case?13:23
matteosnap-confine is responsible of setting some env vars, like ld library path ot the dynamic loadeer?13:25
morphismatteo: what do you mean by dynamic loader?13:27
matteo /snap/ubuntu-core/current/lib/ld-linux.so.213:27
pandaadbmmm snappy does not seem to have permissions to start jetty on part 808513:28
pandaadb(and 8081)13:28
morphismatteo: ah13:30
morphismatteo: it should or some of the generated scripts13:30
matteolike /snap/bin/htop13:30
matteothat's the htop generated script http://pastebin.ubuntu.com/17431353/13:31
matteohttp://pastebin.ubuntu.com/17431370/13:32
matteothe latter also has the wrapper13:32
pandaadbI think it might be openjdk being packaged that is not allowed to access any ports?13:33
jbichamy CPU was running at 100% yesterday13:34
jbichaI checked my processes and saw that it was java13:35
jbichaI killed java and it just came back to life13:35
jbichaand then I realized it was because I had installed the cassandra snap13:35
jbichaso I removed that because I didn't need it anyway, not sure if that's expected behavior for it or not13:36
jbicha(cassandra was a featured app briefly in a dev snapshot of Ubuntu's GNOME Software)13:37
jbichareported it here because I don't know where to report issues with snaps13:38
seb128to the packager usually I think13:39
seb128ev in that case I think?13:40
jbichaok I see snap find tells me that13:40
jbichaI hadn't used the cli, just GNOME Software which doesn't give much info at all13:40
ogra_olli|, poke .... about the bug reporting link in the topic13:43
matteo2.0.9 is the last tag on github?13:44
pandaadbokay it's really odd, but my java app will not start up. It tells me i have no privileges for the ports it wants to start on13:51
pandaadbi can use the jvm in /snap and start it manually13:51
pandaadbi can use the shell scripts that start it manually13:51
pandaadbthat all works, but running it as a service does not13:51
didrockspandaadb: did yu install your snap in --devmode?13:51
didrocksyou*13:51
pandaadbyes13:51
pandaadbis that bad? :D13:51
didrocksno, that was a potential issue you may have (like permission issues)13:52
didrockssomething you can try:13:52
pandaadbso i should move it to strict?13:52
didrocksno no, you should always start in devmode13:52
didrocksah, you declared it that way13:52
didrocksbut when you installed your snap13:52
didrocksyou did run: snap install <snap_name> --devmode13:53
didrocksright?13:53
pandaadbno13:53
didrockshere you go :)13:53
pandaadbjust sudo snap install <name>13:53
didrocksreinstall it in devmode13:53
pandaadbyou are my hero!13:54
pandaadb:) :)13:54
pandaadbthanks!13:54
didrocks(the declaration in snapcraft.yaml is to enforce people to type the --devmode option in the future once snapd enforces it)13:54
didrocksyw! :)13:54
didrockspandaadb: once you are happy with your snap, you can turn it into strict mode13:54
didrocksand add confinement13:54
didrockshttp://snapcraft.io/create/13:54
didrocksyou have here a service example13:54
didrocksyou can read "confinement and devmode13:55
didrocksand "plugs-and-slots: integration with the system and other snaps"13:55
didrockswhich is exactly about web servers, as it seems to be your use case :)13:55
pandaadbyep :)13:55
pandaadbyeah, i have to admit, i read about snappy and got so excited that i just started trial-and-error runs while reading at the same time13:56
ogra_pandaadb, but if you need network, look at my tinyproxy snapcraft.yaml from above13:56
ogra_just add network and netwro-bind to the plugs line for your daemon13:56
didrocksogra_: better to direct people to the documentation, I did hilight the needed section :)13:56
ogra_didrocks, i dont even know where the documentation lives ... i work by example :)13:57
didrocksogra_: you should at least know where it lives to point your community to it :p13:57
ogra_pandaadb, follow the documentation that didrocks will point you to in a minute ;)13:57
didrocksogra_: s/will/did/13:57
pandaadbah he did above :)13:57
pandaadbthanks13:57
didrockssee above ;)13:57
didrocksyw!13:57
pandaadbyes - i am reading about it now. hehe - my next question would have been "it started but i can't curl it" but now I see :)13:58
ogra_oh, "create" lists the possible plugs ?13:58
didrocksogra_: no, just this particular case (webserver)13:59
ogra_ah13:59
didrockslet me find the page about plugs and slots13:59
didrockshttps://developer.ubuntu.com/en/snappy/guides/interfaces/14:00
pandaadbyey :) It runs!14:03
didrocksconfined? excellent :)14:03
pandaadbstill in dev mode for now14:04
evjbicha: can you send me (ev@ubuntu.com) the /var/log/syslog file from that machine?14:05
pandaadbOnly learned about snappy today :) I just figured it would be cool to package my application like that14:06
didrocksyeah, it is! :)14:06
pandaadbSo is it a usecase to have a private snappy repo, so that one can distribute to servers like that14:06
pandaadbAnd then handle updating and all with it14:06
pandaadbit's the awesome version of docker :)14:06
didrockspandaadb: you can control channels and also (in the near future), the way that updates will roll to your users from the main store14:07
didrocksand even have snaps that are private to you or your friends (in devmode IIRC)14:07
pandaadbah perfect. Yeah i was missing a couple of things that i could not work out before14:08
pandaadbe.g. i could not work out how to add authentication to tar-content, so that i could download a zip from my build server14:09
pandaadbthough it seems super easy to write custom plugins or extend some. Or frankly, just use snappy as a build server instead since it builds things automatically14:10
joc_kyrofa: hi, i'm making slow but steady progress though my snapping project using your plugin, still don't think i've encountered anything missing from the plugin that is blocking me14:10
kyrofajoc_, great thanks for letting me know!14:10
joc_kyrofa: my options sections are getting quite big though!14:10
kyrofajoc_, just because of the project, or are there things you think the plugin should be handling?14:11
didrockspandaadb: yeah, you can inherit and write your own public for those use cases14:12
kyrofadidrocks, you're building snaps in the playpen? Are you just making an lxc on travis and building there?14:12
joc_kyrofa: this is the yaml https://github.com/jocave/telegram-app-snap/blob/master/snapcraft.yaml14:12
joc_kyrofa: there is one arch specific lib path in there that i haven't managed to modify in the build14:13
kyrofajoc_, the L$SNAPCRAFT_STAGE/usr/lib/x86_64-linux-gnu ?14:13
joc_yep14:13
kyrofajoc_, you actually shouldn't need that anymore as of yesterday. Can you try removing it and see what happens?14:14
kyrofajoc_, assuming you're running a current version of my branch anyway14:14
joc_kyrofa: sure, ill make sure i'm up to date and try it14:15
didrockskyrofa: unfortunately, as I have to use docker to ship latest snapcraft (remember that their builders is 14.04 LTS at best), I can't run lxd inside docker14:17
didrockskyrofa: that's what I tried today :)14:17
didrocks(well, this last 30 minutes :p)14:17
didrocksthat would help to do a cleanbuild though14:17
pandaadbso for my snap, this obviously has to download tje jdk as a dependency, which makes my snap a bit big. Does snappy know about those dependencies (e.g. if i package a second server and install it, will it duplicate the jre?)14:17
kyrofadidrocks, right, which is why I assumed you were using lxc or something14:18
didrockskyrofa: I've not looked at nested lxc14:18
didrocks(yet)14:18
didrocksbut plan to as option #1 failed14:18
kyrofadidrocks, talk to elopio_, he's done it14:18
didrocksand sharing images as well?14:18
didrocks(would be great to not have to install snapcraft each time)14:18
kyrofadidrocks, no, I think he spun one up each time14:19
didrockswould be interesting to ensure we can distribute images14:19
didrockseven better for people to reproduce any issue14:19
didrockslet's see, I'll devote some time in looking at this14:19
kyrofadidrocks, you could also use the launchpadlib from 14.04 to spin up builds in LP14:19
willcookeseb128, here's what I'm seeing:  http://paste.ubuntu.com/17432569/14:20
kyrofadidrocks, anyway, this is something that I want as well, so let me know if you need a hand14:20
kyrofadidrocks, then I'll steal it from you14:20
willcookeit's a Qt project though, so I dont understand why that is happening.  Pehaps it's normal14:20
didrockskyrofa: yeah, we need though to think about credentials :)14:20
seb128willcooke, let me copy that in a /msg14:21
elopio_didrocks: we abbandoned travis for more complex thing, because the docker nightmare in there was ugly. Do you want to use our jenkins?14:21
didrockskyrofa: same, on my list to see how to have Travis CI handling that correctly, I have used the LP api a lot as you can infer over years ;)14:21
kyrofadidrocks, for LP? True. I figured we'd create a custom LP user, generate a token, and encrypt it in the .travis.yml14:21
=== elopio_ is now known as elopio
didrockselopio_: we need to have the results publically available, is that possible?14:21
kyrofaYes I can imagine!14:21
didrockselopio: a lot of people in the community as access to it :)14:21
elopiodidrocks: we are moving to jenkaas, which will be public as I understand.14:22
elopiowe can start getting ready the jobs for when the last server details are ready.14:22
elopiofgimenez: you said jenkaas will be public, right?14:22
didrockselopio: would be happy to be on board thus! :)14:22
jbichaev: https://paste.fedoraproject.org/380584/14:24
fgimenezelopio, yes, afaik it's already accessible https://jenkins.canonical.com/ubuntu-core/14:25
joc_kyrofa: yep you were correct, i don't appear to need that line now14:25
kyrofajoc_, awesome :)14:25
kyrofaThank willcooke14:25
joc_thaks willcooke14:25
joc_or thanks14:26
elopiofgimenez: you also mentioned a way to send back the results to github with the plugin, right? Or I am imagining this?14:26
willcooke:)14:27
niemeyermorphis: Yeah, these interfaces are sitting there for too long14:28
morphisniemeyeryes14:28
morphisniemeyer: you want to have a look or how are we getting those further?14:29
fgimenezelopio, we can customize the commit status url and point it to $JOB_NAME/$BUILD_NUMBER/testResults, not sure if we can actually send the results to gh14:32
fgimenezelopio, we can also show a line in the status with a summary of the results, iirc we had this enabled at some point..14:34
niemeyermorphis: I'll have a look to see what the next steps should be14:34
elopiofgimenez: ah, yes, I was imagining things.14:35
morphisniemeyer: awesome!14:36
niemeyermorphis: Sorry for the delay on this one.. we must not take so long to get interfaces in14:37
morphisniemeyer: yes, that would be great14:38
willcookedpm, I have a Qt project which also uses gdk pixbuf.  It should be safe to add some pixbuf stuff to the wiki qt5 launch script I think.  Can you point me to where it lives to I can try some local changes first?14:43
dpmwillcooke, actually... there is a branch of qt5conf for those cases, it's the 'qt5conf-with-gtk' launcher as a wiki part, and its code lives here: https://github.com/dplanella/qt5conf/blob/with-gtk/qt5-launch14:45
willcookedpm, ah! Awesome! Thanks14:45
dpmwillcooke, it doesn't have the gdk pixbuf bits yet, but I think it's just what you need :)14:46
evjbicha: can you snap install cassandra, wait a couple of minutes, then pastebin `journalctl -b`? I think there will be more interesting output there.14:46
willcookecool, I can add them, thanks dpm14:46
evand anything else you have in logs that points at Cassandra :)14:48
willcookeseb128, do you know if your gtk launcher script became a wiki part already?14:49
jbichaev: do I need to use --devmode?14:49
seb128willcooke, dpm made one14:49
willcookeperfect, thanks seb128 dpm14:49
seb128willcooke, https://wiki.ubuntu.com/Snappy/Parts14:49
seb128gtkconf14:49
willcookeaha!14:49
aatchisonGood morning14:50
dpmwillcooke, note the part in the wiki points to the 'devel' branch in github, that's the right one to look at for the launcher14:50
willcookehas anyone written a script to parse the depends for a deb and convert them in to yaml for copy&paste in to a snapcraft.yaml yet?14:52
kgunnjdstrand: not sure if you have time, but mir interface PR is really cleaned up14:52
kgunnnot sure if you wanna look one more time14:52
aatchisonI've got my snap building again (I pushed a dependency to pypi.python.org, so no more pip flags are required,) but now I have this issue. http://paste.ubuntu.com/17433513/ Should I be setting some sort of data directory?14:53
aatchisonIt looks like it's still trying to run site packages from my build directory14:54
kyrofaaatchison, yeah it looks like the build process is writing the builddir somewhere, is that possible?14:56
kyrofaaatchison, as some sort of search path, maybe14:57
aatchisonhmm14:59
aatchisonI'll keep fiddling. Here is my project if anyone would like to take a look: https://github.com/MycroftAI/snapcraft-mycroft-core14:59
jbichaev: https://paste.fedoraproject.org/380611/15:03
seb128it's a bit unclear to me how the apps: section of the snapcraft.yaml works15:08
seb128if I package calc, can I get a "calc: calc" command?15:08
ChrisWarrickDoes sna[Cp support Fedora 23?15:08
seb128or does it need to be snapname.calc: ?15:09
seb128didrocks, ^ do you know?15:09
mhall119sergiusens: ping15:14
kyrofaseb128, not sure what the confusion is15:15
kyrofaseb128, are you asking about the YAML, or about how it's presented to the user after the snap is installed?15:15
seb128kyrofa, both,sometime it seems renamed in /snap/bin and sometimes not15:15
Chipacaseb128, if the app is named like the snap, you get to have the barename15:16
seb128kyrofa, also I created a .desktop with Exec=/snap/bin/cmd15:16
Chipacaseb128, that is, snap foo have two apps: foo and bar. So you get /snap/bin/foo and /snap/bin/foo.bar15:16
seb128but the Exec command is missing in the /var/lib/snapd/applications version15:16
kyrofaseb128, so yeah, in /snap/bin it's typically <snapname>.<appname> unless snapname == appname15:16
seb128Chipaca, ah, thanks15:16
seb128Chipaca, kyrofa, do you know any reason why snap would remove the Exec? it's there in the prime dir15:17
kyrofaseb128, from the desktop file?15:17
ChipacaChrisWarrick, I think so? in fact i think in 23 you don't need to turn off selinux (as AIUI the thing in 24 that breaks snapd is not there in 23)15:17
ChipacaChrisWarrick, but I could be wrong! zyga knows more, but he's EOW'ed15:17
didrocksseb128: this is the /create page btw :)15:17
didrocksbut yeah, basically if app name == snap name, it's stripped15:18
ChrisWarrickChipaca: I like not having selinux on15:18
seb128didrocks, thanks15:18
didrocksotherwise, it's always snap_name.app_name15:18
ChipacaChrisWarrick, tut tut :-)15:18
ChipacaChrisWarrick, then it should work fine; give it a spin!15:18
seb128kyrofa, http://paste.ubuntu.com/17434418/15:18
Chipacaseb128, read the docs?15:19
Chipacaseb128, https://github.com/snapcore/snapd/blob/master/docs/meta.md#desktop-files15:19
seb128Chipaca, which ones? http://snapcraft.io/create/ has no mention of it15:19
seb128Chipaca, that goes back to my previous question, I'm in the case where cmd=snapname15:20
seb128so I don't have a snap.cmd15:20
seb128so I can't have a .desktop?15:20
Chipacaah, that might need clarifying15:21
Chipacaseb128, Exec=<the name of the thing in /snap/bin>15:21
seb128oh, ok15:22
Chipacawhich is, granted, problematic and needs revisiting15:22
seb128why is the full path invalid?15:22
Chipacaseb128, that's even more problematic15:22
Chipacaseb128, what's the full path?15:22
seb128Chipaca, /snap/bin/evince15:23
seb128which is what I used15:23
Chipacaseb128, there could be situations where the binary isn't there15:24
seb128Chipaca, which is why we have TryExec15:24
Chipacabah. THe case for it not being in bin is a bad one, but it could happen15:24
Chipacamore possible is that the snap is installed in somewhere other than /snap/ but we'd still put the executable it in /snap/bin15:25
Chipacaseb128, seb128 tryexec is not supported and will be removed, as it says in the docs15:25
seb128Chipaca, that doesn't make sense to me, but that's an argument for another day15:25
seb128Chipaca, I don't want to maintain a fork of the .desktop, I just want to use the upstream one with the Exec seded15:26
Chipacaseb128, and not an argument to be had with me, and not for IRC15:26
seb128Chipaca, anyway, trying now with "evince" instead of "/snap/bin/evince", thanks15:26
Chipacaseb128, at some point that'd have to change, but we'll let people know somehow15:27
seb128k15:27
Chipacaotherwise you risk it breaking15:27
Chipacathat is15:27
Chipacasnap names could change15:27
seb128you mean the mountpoints?15:27
Chipacaso if for legal reasons we suddenly have to rename evince to potato or whatever, suddenly the cmd is no longer "evince" but potato.evince15:27
Chipacabut that work is way in the future still15:28
Chipaca(and i doubt it'd be a problem for evince in particular!)15:28
seb128yeah15:28
seb128but that .desktop is generated at install time15:28
Chipacayes15:28
seb128so in practice it's easy to ensure the Exec is kept in sync15:28
seb128but let's discuss that on the list another day15:28
Chipaca+115:29
Chipacaespecially not this close to eow, and especially not this week15:29
* Chipaca is exhausted15:29
seb128Chipaca, that works, thanks15:30
seb128snap replaced evince by /snap/bin/evince for me15:31
seb128which is a bit ironic :p15:31
seb128when I did that myself it removed the key15:31
seb128also something should probably display a warning in that case15:31
Chipacaseb128, snap is unionized15:31
Chipacaseb128, you tried to do its job!15:31
seb128like "exec cmd invalid and removed"15:31
seb128do you know what component I should open that bug against?15:31
seb128snapcraft? snappy?15:32
Chipacathat's snapd itself15:32
seb128snapcraft could warn about the invalid syntax15:32
Chipacacertainly15:32
Chipacain fact snapcraft could help a lot with writing the .desktop15:32
Chipaca(i thought it did)15:32
seb128that's the discussion to have on the list :p15:32
seb128imho it should automatically use upstream ones when available15:33
seb128seding the Exec and Icon if needed15:33
=== chihchun is now known as chihchun_afk
pandaadbHi - Am I right that snaps are not supposed to share any resources? E.g. with lots of products you'll need things like java installed.15:40
pandaadbWould you just package a new java lib into each snap?15:40
pandaadbOr would one rather have a java snap which uses slots (I think that's right) to expose a java interface for others to use?15:40
pandaadbOr is there a plan to have very common libraries integrated in the framework? Like python and such?15:41
willcookeseb128, dpm - that pixbuf stuff has stopped the errors15:47
willcookethanks!15:47
seb128great15:47
seb128yw!15:48
willcookedpm, just created a PR - but lemme test one more time...15:59
evjbicha: sorry for the delayed reply. The problem, I think, is that you don’t have the mount-observe interface connected, e.g.15:59
evsnap connect cassandra:mount-observe ubuntu-core:mount-observe15:59
evbut really the problem is that we put Cassandra in the GUI where it wouldn’t be obvious that you need to manually connect up that interface16:00
dpmwillcooke, awesome. I'm heads down with an e-mail, but I'll merge your PR in a bit, thanks!16:00
evapologies there to willcooke, seb128, and attente16:00
willcookedpm, no hurry16:00
willcookeev, we didn't land that bit yet, so I think we're ok :)16:01
seb128I think jbicha did beta test the candidate version16:01
willcookeahh16:01
evjbicha: if you’re curious, mount-observe needs to be manually connected in a confined snap because we want you to explicitly acknowledge letting the snap see your mountpoints16:01
evalso, I believe snaps are going to grow hooks that fire once an interface is connected. This would let us sleep cassandra until that interface connection dependency was satisfied16:03
gouchi_hi16:39
gouchi_is it necessary to provide drirc ?16:39
evsergiusens, elopio: looks like we’re good to land https://github.com/ubuntu-core/snapcraft/pull/578 ?16:45
elopioev: done.16:45
evstar, thank you!16:47
elopiothanks to you.16:52
kyrofaelopio, are we running any of snapcraft CI on other archs yet?16:55
elopiokyrofa: I can trigger them. They are not run automatically yet.16:56
elopiokyrofa: want me to check something?16:56
kyrofaelopio, no, but this ldd crawling thing is very architecture-dependent... I'm nervous playing with it16:56
elopiokyrofa: you can trigger a run yourself: http://jenkins.elopio.net:8080/job/github-snapcraft-autopkgtest-cloud/build?delay=0sec16:58
kyrofaelopio, and they actually pass?16:58
elopiokyrofa: I'm having one example failing in i386. I haven't seen the rest yet.16:59
elopiothey should pass, mostly :)16:59
elopiokyrofa: use bos01 as the region, and the available architectures are ppc64el, arm64, amd64 and i38617:00
kyrofaelopio, alright, thanks :)17:00
elopiokyrofa: I can also give you access to those slaves, so you can start a machine and ssh into it.17:01
kyrofaelopio, ah, I may take you up on that once I have a good test case17:02
kyrofaMessing with this makes me miss C++17:02
g_hello18:04
elopiokyrofa: what about getting crazy today and skipping the stand up?18:07
kyrofaelopio, haha, sure18:07
g_hey guys18:08
g_i have a question about using snappy to run services18:09
kyrofag_, hey there! Sure, what's up?18:09
g_so i currently have a suite of programs that i build a single deb to install18:12
niemeyerjdstrand: Spread rev 6 up for review, for when you have a spare moment18:12
g_they are made for ubuntu 12.04 and i made upstart scripts for each of them18:13
niemeyerjdstrand: Any idea of when we'll get home auto-approved?18:13
g_i saw that snappy has its own daemon starting system18:14
g_how does that work?18:14
g_what sort of flexibility does it have for starting after dependent services18:14
g_it seems pretty simplified from the documentation ive seen at snapcraft18:15
g_ideally i could build a snap which the user could configure which services to start since one of them would want to be disabled most of the time18:16
g_also work across different distros18:17
swartzrAre there any permission sets for snaps that allow accessing mounted devices?18:19
Chipacag_, that sounds tricky to do18:19
Chipacag_, as you say, it's pretty simplified18:19
Chipacaswartzr, I *think* that's still TBD but should be coming in the next week or thereabouts (but I could've misunderstood what zyga was going to work on next, as i missed the standup today)18:20
Chipacaswartzr, there are two separate things, one about giving a snap a directory, and another about giving a snap a device18:22
Chipacaswartzr, I don't think I've seen something about giving a snap a "mounted device"18:22
Chipacaswartzr, not sure how that's different from the other two18:22
swartzrChipaca Well the device is already mounted so the directory would work18:22
Chipacaphew :-)18:23
swartzrChipaca thanks for the info. Looks like I'll have come back to it in a while when that feature gets added.18:24
Chipacaswartzr, or get it working in devmode and add the interface and drop devmode when it's ready18:24
Chipacathat's what devmode is for, fwiw18:25
swartzrChipaca yes!! that would work beautifully. It is an internal business app so devmode is really not a problem18:26
Chipacaswartzr, next week's release would also enable getting devmode snaps from the store18:26
Chipacaright now you can publish devmode snaps, but snapd doesn't know how to get them18:26
Chipaca(as the store doesn't hand them out unless asked explicitly)18:27
Chipacathey also don't appear in searches18:27
swartzrChipaca maybe I'll publish it to the store it could be useful to others. Probably will open source it also.18:27
Chipaca\o/18:27
Chipacaswartzr, note that a devmode snap can't be in a "stable" channel18:28
Chipacajust beta and edge18:28
Chipacabut that shouldn't stop you :-)18:28
tianonare there any more detailed docs about getting 16-series snaps secured appropriately?  I've been messing with plugs, but I'm working on an updated "docker" snap so it's likely going to require a custom apparmor/seccomp profile anyhow (current old-style snap even allows switching to/from "privileged" mode/profiles via an included script), but I can't seem to find anything substantial about how to do th…18:30
tianon…at properly (because using "old-security" seems like the wrong approach) so any pointers would be very appreciated (even if they have to be pointers to parsing code or something) :)18:30
kyrofag_, indeed, as you rightly pointed out the service system is very simple18:31
kyrofag_ you kinda need to synchronize them manually I'm afraid18:32
swartzrThanks for the help Chipaca. Looking forward to snappy's future.18:32
swartzrreally impressed by how easy it is to create a snap18:32
Chipacatianon, augh, this might be a bad time to take a poke at properly confining docker-style services18:33
tianonlol18:33
Chipacatianon, we know what we have to do, but we're not there yet18:33
tianonyeah, that's the sense I'm getting while reading docs, etc18:34
Chipacatianon, I'm a bit far from the people doing that work (and it's friday and i've already popped open a beer and dinner is in the oven, so grains of salt), but18:34
Chipacatianon, basically we want to have something like a vm-manager interface18:34
Chipacawhen i last followed this discussion it wasn't clear whether that was generalisable or whether it'd have to be a docker interface18:35
Chipacawhich would be worse, but perhaps more practical18:35
Chipacaworse because then any other vm manager would need their own chunk of work18:35
Chipacabut such is the nature of this18:35
tianonyeah, that's fair18:36
Chipacatianon, jamiebennett might know more, but he's in the same tz as i am18:36
Chipacatianon, so if he hasn't kicked back for the weekend i want to know why18:36
tianonwould it be possible to hack something together in the interim with a custom plug or something?  (hopefully I'm not too horribly misunderstanding too many snap concepts O:) )18:37
Chipacaalso the sun is out, which is rare18:37
tianon:D18:37
tianoncrap, have to go, but appreciate your time <3  (and will idle, so feel free to leave me novels)18:38
Chipacatianon, interfaces are written (described?) in go, so the hackage would be very similar to the actual work18:38
Chipacatianon, devmode devmode devmode18:38
tianonah18:38
tianonyeah18:38
tianonwas afraid of that18:38
tianonthanks :)18:38
Chipacatianon, also, mailing list18:38
Chipacahelps us prioritize things if we see the demand18:38
Chipaca(irc doesn't bring too much visibility to demand, just to firefighting)18:38
Chipacasmells like dinner is ready18:39
* Chipaca out18:39
=== davmor2 is now known as davmor2_HOLS
johnsnoHi, any plans or existing forks of snapd for OS X ? Windows ?18:53
jamiebennettjohnsno: No plans but we do welcome patches ;-)19:10
jamiebennettjohnsno: In all fairness, Ubuntu runs on Windows 10 so it is not beyond the realms of possibility19:10
jamiebennettjohnsno: macOS would definitely be interesting19:11
jbichaev: thanks for looking into it19:16
jbichayes I was just beta-testing, I don't actually know anything about cassandra, I was just clicking buttons :)19:17
ali1234any plans to make that win10 stuff use snappy core rather than just being a regular filesystem?19:17
jbichait's still 'broken' from the cli, in that 'snap install' doesn't run that other cmd or ask the user to run it either19:17
jbichasleeping would at least be better than 100% cpu19:18
jamiebennettali1234: again, at this time no but anythings possible19:18
ali1234it seems logical... i mean is it even possible to dist-upgrade the win10 image?19:19
kyrofaelopio, https://github.com/ubuntu-core/snapcraft/pull/580 is ready for a look19:19
jamiebennettkirkland knows more than I on this, I've not really played with the Ubuntu on Win 10 stuff yet. Its really cool so definitely something on my todo list.19:20
johnsnojamiebennett: Ok thank you, I will try to work on macOS support on my free time19:21
jamiebennettjohnsno: That would be awesome, please let me know how you get on19:21
gouchiwhat is a snapcraft option to rebuild the snap package if I just modified snapcraft.yaml or my wrapper ?19:24
gouchibecause I tried snapcraft prime && snapcraft snap it doesn't take my modification19:24
gouchieverytime I need to do snapcraft clean && snapcraft build19:24
kyrofagouchi, you can clean individual steps with `snapcraft clean -s <step>` or just clean the whole thing19:25
gouchioh ok I will try this thank you19:25
kyrofagouchi, which part of the YAML did you change?19:25
evjbicha: sure thing, and if you find anything else odd with the Jenkins or Cassandra snaps, do let me know :)19:25
bullhello guys :)19:25
gouchinow it ok for the yaml19:25
gouchiI need to tweak my wrapper19:25
bullwhy snapcarft will not pull stage and prime new stuffs if we updated entries in snapcraft file after a build ???19:26
bullkyrofa, hi ,19:27
bullanyone know how to force snapcraft pull to check if files was modified and it have to pull  new enteirs ???19:28
bulli update my snapcraft file and do snapcraft pull and it says already ran as of now , is there a way to do force pull recheck snapcraft entries and do pull for new stuffs ??19:30
kyrofabull, you need to clean the pull step19:31
bulldoing snapcraft clean everytime after editing snapcraft.yaml file and redo everything from scratch looks stupid19:31
bullkyrofa,  is it a bug ???19:31
bullor i have to fire a new in launchpad ??19:31
kyrofabull, you're telling it to pull new and potentially different stuff than what you previously told it. The way it currently makes sure it does what you need is blowing away what was there before and grabbing what you asked for19:32
bullalso stage will not stage new entries after updating entries in yaml file19:33
bullkyrofa, you not getting me , am saying if i added some new libs to yaml file under parts , why pull will not know tthat i added new stuff there just download new stuff and add it to part dir19:34
bullwhy anyone will have to download all the downloaded packages and stuffs that he downloaded before ?? just if he adds something new19:35
kyrofabull, you're saying you added brand new parts and snapcraft didn't notice them?19:36
bullam saying i added new libs under stage-packages and snapcraft did not noticed them19:37
kyrofabull, yes, that's a bug19:38
bullwhy it need clean everything ?? if added a new entry ?? this is my question , as a normal user am asking this question , this makes me hate snapcraft thousands of people gonna test it , and am sure 500 will notice this !!19:39
kyrofabull... we talked about this yesterday, and you already logged a bug for it19:39
bullmy bug was about cleaning downloaded packages after hitting clean command19:40
bullthis is soething different19:40
kyrofabull, that's exactly what this is. In order to make sure it fetches the stage packages you updated, it removes the ones that were there already19:40
bullkyrofa, fox example take our normal ubuntu system , if i added something new in source file , to get some new stuffs , will apt clean my older packages ??? before i issue apt-get update ??19:41
bullwhat apt do is get the new updates and merge it into older one and allow you download new content19:42
bull am just comparing the methodology am not saying make it apt :D , apt work very efficiently and the reason is its methodology19:45
bullsnapcraft looks much like doing stupid things in this case !!!19:46
bulli hope you will pass these as a feedback snapcraft is new project and am providing these suggestion to make it better and sensible to users , cause am in social media hate someone criticize ubuntu and its technologies :) like a guy was talking crap about snapcraft - like 1.1gb libreoffice and shit19:49
jcastrobull: the openoffice snap is like 280 megs, not 1.1gb19:51
ali1234jcastro: only after everyone complained :)19:55
bullam not ceo of ubuntu or canonical and not forcing these changes - make snapcraft simple and sensible , people not gonna accept it like am not yet happy with its progress , people do not see what and how hard you guys are working in back , what they see is how they will have their application run on your platform , so they will drop snapcarft and snap at the first when they will spend their whole day making their app to run on ubuntu , for example my application y19:56
bullesterday i spend my whole day packaging my app which runs fine with normal debian packaging , after successfully packing it into snap it wont run and end up with segmentation faults etc i did all logical things and what i got at end is i spend my whole day packaging an app which still dont runs cause it is packed in snap  format19:56
bullali1234, your are right , i read an article about it on a famous website where thousands of linux and ubuntu users visit everyday , i was talking about the same19:58
swartzrI'm snapping a python app but can't for the life of me figure out how to use a requirements file that is in my source tree. Can anyone help?19:59
swartzrI added requirements: requirements.txt but snappy doesn't pick it up20:00
bullsimply , since we are dealing with dependencies within our packages and we are writing them in snapcraft.yaml we shpuld be able to change them anytime without dealing with what snapcraft is thinking about them we have to make snapcraft work like that ,20:00
bullkyrofa, i hope you will be noticing all this , am not a member of your team but consider me as a good tester :) m big fan of snapcraft but i would love to make it simple and sensible20:02
hguantquick question - is there a good resource for creating custom plugins?20:13
tianonChipaca: ah, totally makes sense; thanks so much :)20:28
Chipacahguant, not sure if kyrofa is still around for that one20:32
Chipacahguant, but either him or sergiusens are the people who might be able to point you in the best direction to look20:33
bullkyrofa, i filed a bug about that issue , please read it here , is that okay ??? https://bugs.launchpad.net/snapcraft/+bug/159386820:33
ubottuLaunchpad bug 1593868 in Snapcraft " snapcarft will not pull, stage and prime new stuffs i added to snapcarft.yaml file after a build " [Undecided,Confirmed]20:33
hguantChipaca no worries - is there a mailing list I can ask in, or should I just lurk 'round here till one of them is on?20:33
Chipacahguant, snapcraft@lists.ubuntu.com20:34
hguantChipaca thanks!20:34
Chipacahguant, https://lists.ubuntu.com/mailman/listinfo/snapcraft20:34
Chipacayw!20:35
bullChipaca, hi20:39
Chipacabull, hi20:39
bulli just files a bug against snapcraft on launchpad , as a user of snapcraft do you think my writing is worth ??? https://bugs.launchpad.net/snapcraft/+bug/159386820:40
ubottuLaunchpad bug 1593868 in Snapcraft " snapcarft will not pull, stage and prime new stuffs i added to snapcarft.yaml file after a build " [Undecided,Confirmed]20:40
Chipacabull, i'll let the snapcraft devs dig into that one20:40
bullty Chipaca20:40
Chipacai'm not sure you're saying snapcraft should cache the old things it downloaded, or track the difference between edits20:41
Chipacain either case, it sounds hard :-)20:41
bullit should not be hard , am just saying - snapcraft should download the new libs and do stage prime again20:42
bullinstead of cleaning everything , and doing things from scratch20:43
Chipacabull, and if the libs have interdependencies, such that the presence of libX modifies the way libY builds?20:44
bullalso snapcraft should not delete the downloaded items by apt , deleting those debs and downloading them again make no sense :D20:44
bullChipaca, thats why am saying it  should stage and prime again20:45
Chipacabull, just in case you forget, i don't dev snapcraft20:46
Chipacahowever20:46
Chipacacaching debs is the job of apt-cacher-ng or whatever the cool kids use these day20:47
bulli dont know why developers didn't caught it lol20:47
Chipacanot sure we want to duplicate that particular effort20:47
bullChipaca, currently i dont think snapcraft is a good packaging tool :P20:48
bullyou cant do nothing with that ??20:49
Chipacabull, you're entitled to that opinion20:49
bulllol20:49
bulldevelopers have to deal with guys like me so that they ca fix the bugs :D20:50
jcastrois there a clean way to not have snaps show up in tools like df? It's manageable now but the list keeps getting bigger every day20:50
bulljcastro, df you mean by tool which report file system disk space usage20:52
jcastroyes20:52
bullwhy you wana hide snaps from df ?? if am not getting you wrong20:52
Chipacajcastro, does “df -h | awk '$6!~/^.snap/{print}'” count?20:52
jcastroyeah I was digging around the manpage for something that just will whole hog filter out /dev/loop things20:53
bulldamn :/20:53
Chipacajcastro, or “df -hT |grep -v squash”20:54
bullwill one of you will brief me what you guys doing ??20:54
bullChipaca, help me :320:55
Chipacabull, with what?20:56
bullwhy jcastro wana hide snaps from df??20:56
bulljust for knowledge20:56
Chipacabull, because he's installed 200 snaps?20:56
jcastrohttp://paste.ubuntu.com/17451287/20:57
Chipacabull, or he's obsessively punctilious20:57
jcastronot quite 200, but at this rate ...20:57
Chipacayeh20:57
bullwow :D20:57
Chipacajcastro, I don't think we want to patch df :-) but maybe skipping squashfs with grep is good enough20:58
jcastroyeah, at first that seemed like a good idea but then I thought it through20:58
bulljcastro, those /dev/loops are snaps ??20:58
Chipacajcastro, yes20:59
Chipacaum20:59
Chipacabull, yes20:59
bull:)21:00
bullChipaca, i will make my qt application opensource tonight , what license should be good if i don't want people to repblish it without asking me or make money from my work .?? thanks21:04
Chipacabull, you can't make it opensource and not make it opensource21:04
bullwhy ?? i will publish it to github ,21:05
Chipacabull, if it's opensource, people can republish it21:05
Chipacathat's kinda how it works21:06
bulli wana allow users to learn from it but i dont want anyone to republish it , so that he/she can make money from it  by remob=ving my rights21:06
bullokay i let them republish it , but how can i stop someone from removing my rights from the code :/ is there any such opensource license ??21:08
Chipacabull, what do you mean by "removing your rights from the code"?21:09
bullChipaca, that i am the author of that code21:09
bull:(]21:09
Chipacabull, that is an unalienable right21:09
Chipaca:-)21:09
bulli should not use any license then :???21:09
Chipacabull, so if people remove you as author, they'll be committing a crime of some sort? or doing something bad. i'm not a lawyer.21:10
Chipacaalso if you wrote the code in your own time, you have copyright over the code21:10
bullits getting offtopic here , sorry guys i have to stop it now21:10
bulli wrote code myself :D21:11
Chipacaso any floss license preserves those things21:11
bullgpl 3 ??21:11
Chipacabull, my recommendation would be that you do your research and don't just decide based on what somebody tells you21:12
bullyou are a goof friend :* thanks for help21:12
Chipacabull, http://choosealicense.com/ might be a good place to start21:12
bulli was snapping that app but after snapping it show unreliable output wheni run it21:13
bullty :) Chipaca21:13
Chipacai'm off for the weekend21:13
Chipacao/21:13
bulli choosed gpl321:15
bullChipaca, can i find you here , when i wana talk to you ?? i will not always seeking help from you i just want you as a friend :P21:16
bullChipaca, :/21:18
mhall119bull: what's going on with your snap?21:19
bullmhall119,  hi :)21:20
bullits not working like yesterday21:20
mhall119where's it stopping today?21:21
bullso am putting my code in repo so someone can build snap for it :P21:21
mhall119ok21:21
palassobull: check this out as well https://tldrlegal.com/21:21
bullno network or x11 issues today21:21
mhall119(no network) issues21:22
mhall119or no (network issues)21:22
mhall119? :)21:22
bullmhall119,  qt was reporting network issues yesterday21:23
mhall119but that's fixed now?21:23
bullpalasso, thanks :)21:23
bullmhall119, yes it is fixed21:23
bullam keeping all these bugs in mind so i will help someone if he/she faces same :)21:23
bullmhall119, am publishing the code21:24
bullunder gpl3 license :D21:24
bullmhall119,  you there ?21:32
mhall119bull: yeah, end of day already and getting ready for dinner though21:45
bulli uploaded it here https://github.com/keshavbhatt/Deskie21:46
bulli want your help creating snap for it please :(21:46
bulldesktop icon also not detected automatically :/ idk whats wrong with it21:47
bulli will create a new branch there to where i will make snap recipe  for deskie please contribute there ...21:48
sgclarkyou have to put the icon in setup/gui atm. I am working on a way to automate that, I have desktop files working ( automated )21:52
sgclarkand it has to have the name of icon.png21:52
bullsgclark, will you give me a pastebin of your example .desktop file so i can see the icon entry in it??21:57
bullas i already having the same setup still it dont work mean i need mosify something in .desktop21:57
sgclarkoh. I see. in that case no most kde apps are also missing that entry, I have a pile of bug reports to file when I get home...21:58
bullokay sgclark22:00
sgclarkwhich is why my automation for icons is broken :)22:00
bullgood night guys feeling sleepy :( i have uploaded the first snapshot og deskie here https://github.com/keshavbhatt/Deskie22:26
bullthere is a new branch fo snapping the application22:26

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