[09:53] hi [09:53] hi [09:54] Hi elopio, kyrofa, sergiusens! [10:09] popey: you there? [10:12] omairqazi: give this a try [10:12] omairqazi: https://www.cyberciti.biz/faq/how-to-use-chmod-and-chown-command/ [10:13] Accelerator: i will try the snapcraft-preload plugin from sergiusens [10:14] omairqazi: Alright np..if the plugin does not work then change user permissions :) [10:15] ok [10:23] tsimonq2: there? [10:24] No..he is offline [10:25] kk [10:29] hi to elopio, kyrofa and sergiusens [10:30] Answer a snapcraft question in askubuntu [10:30] Hey RAI, just want to let you know, they will only be online in around 3 hours [10:30] Please ask a specific question [10:31] We can help but you need to be specific and patient [10:32] daniellimws[m]: That task has a step to say hi to those mentors...i don't think he needs any help for now [10:32] Ok then [11:16] hi popey [11:16] hi [11:17] oh, popey, hi! [11:17] popey: regarding the backslide snap. it works with sudo without classic confinement. but still many commands does not work they say EACCES: permission denied, scandir '/home/omair/backslide' [11:19] and for changing the port it says Cannot start server: EACCES: permission denied, rmdir '.tmp' [11:19] popey please help [11:20] I'm not sure this is trivially fixable. [11:21] popey: but it works with classic confinement [11:21] Yes, but it's not something that would get approval in the store for classic. [11:21] I don't know who suggested classic to you, but it's frankly not an option [11:22] ok [11:22] popey: also devmode works with strict confinement [11:22] right, and devmode can't go in the stable channel [11:22] we could put it in devmode in the edge channel [11:22] hmm [11:22] that would be fine [11:22] and then work on getting it confined strictly later, that's certainly an option [11:22] ok [11:23] and would give you a solution to this snap [11:23] hmm [11:23] balloons: there? [11:23] popey: snappy-debug seccomp says syscall chown. as suggested i install snapcraft preload [11:24] but no luck [11:24] yeah, i never had luck with snapcraft preload [11:24] popey: I'm sorry for bothering you, but I'm still having issues with snapping an electron app. I tried with another project - firebase-admin, but it's quite similar to messenger-demo-viewer - works perfectly fine in devmode, but there are some issues in strict. Snappy-debug again shows some issues with chown (while trying to change app's settings or delete/add connections): https://paste.ubuntu.com/26352633/ [11:25] ugh [11:28] popey for the alias https://forum.snapcraft.io/t/alias-for-backslide/3430 [11:39] popey, sorry I was the one that suggested to use classic as I saw that in an article regarding asciinema [11:39] I'm very curious, if we confine the snap to only one directory, wouldn't it lose the packaged app's intended functionality? [11:39] When that happens won't people prefer installing via npm or pip which already works instead [11:40] daniellimws[m]: popey told me to use devmode and release to the edge channel [11:40] No worries :) [11:41] daniellimws[m]: it's not confined to only one directory, the snap has write access to multiple places. [11:45] popey: but what about when apparmor denies open/read/write access? [11:46] Most snaps can be convinced to write to specific places [11:46] they have their $HOME set to /home/$USER/snap/$SNAPNAME/current [11:46] which is writable [11:48] popey: do you have any idea what to do with this chown error? :/ [11:49] what about in the case of backslide which wants to write to the current working directory? [11:50] it can, if you add the home interface/plug [11:52] oh so that will expose the snap to the entire home directory? [11:53] well home plug didn't work for backslide [11:53] but you can try [11:54] but home plug is mandatory if your snap reads and writes data to the home directory [11:57] yes, add the home plug to most snaps [12:07] popey i released it to edge https://forum.snapcraft.io/t/call-for-testing-backslide/3408/14 [12:27] coolpolygons: Empty pings solve nothing. ;) [12:31] popey, what about /tmp [12:31] each snap has access to their own tmp [12:32] https://docs.snapcraft.io/snaps/structure [12:33] ahh ok thanks [12:33] popey: sorry to disturb you. please take a look at my submission https://codein.withgoogle.com/dashboard/task-instances/6091379543375872/ [12:34] will do! [12:35] thanks [12:40] popey: if you dont mind from next time onwards please call me Omair instead of Qazi :) [12:40] oh, apologies. [12:47] popey: it is ok. did test my snap? it works in devmode. sudo snap install backslide --edge --devmode [12:47] s/did/did you [12:49] hi guys again. sorry network problem [12:50] np [13:04] tsimonq2: wondering if u could check my work here: https://codein.withgoogle.com/dashboard/task-instances/4613563035418624/ [13:12] coolpolygons: Sure, I'll get to it by the end of the day US time [13:14] thank you :D [13:21] elopio hi! [13:35] Guys, does anyone have some time to test my snap? I have some issues with it, and I want to confirm it's not an issue with my environment. [13:36] If so, please follow these instructions: https://paste.ubuntu.com/26353137/. I'd be very thankful for your help! [13:40] I'm feeling a bit lazy but sure ;) [13:41] looks like a little too much work.. i'll come back later [13:43] ok :) [14:16] elopio there? [14:38] elopio hi [14:43] popey: you there? [14:44] elopio: please take a look https://codein.withgoogle.com/dashboard/task-instances/6091379543375872/?sp-page=2 [14:52] coolpolygons, ? === yash is now known as Guest11093 [15:06] Hello evilnick, degville, pmatulis and davidcalle I'm Jacob this is my task Google Code-In [15:30] Hi Elopio kyrofa sergiusens! [15:31] hello Dominic1234 [15:33] elopio === Dan_ is now known as Guest98771 [15:33] anyone there [15:34] hello Guest98771 [15:35] elopio: can I ask you something about the electron snaps? [15:36] Hi [15:37] Where can I get how to tutorial [15:37] nevermind [15:38] Hi ChinmayKulkarni it's in the task description :) [15:38] https://tutorials.ubuntu.com/tutorial/tutorial-guidelines [15:38] Ya I found [15:38] Actually I don't have a pc [15:38] konrad11901: sure. [15:38] So now what should I do [15:39] ChinmayKulkarni: ah, then you can't do the task, you should pick another one [15:40] elopio [15:40] hello [15:40] Ok [15:41] elopio: Yesterday popey tested the orbitdb snap and concluded that the softwares not working he also told you to accept my task.... and i asked you what should i do u said to subit reviews [15:42] yes, I reviewed and found a solution after all :) [15:42] Will that work you tried it? [15:43] I tried it, yes. I hope it will work for you too [15:43] ok then i will try and see now [15:44] and what is g++ in the build packages [15:44] great [15:44] g++ is the c++ compiler. [15:45] what is make? [15:45] make is a program to build other programs. [15:46] can you find soln for my other snap also it is dev-time [15:46] https://pastebin.ubuntu.com/26346578/ [15:46] maybe, I haven't tried that one yet [15:47] can you help me plz [15:48] i really like that app cause it shows the local time of github users [15:48] sure, I have it in my list of things to do. [15:49] ok no prob [15:59] kyrofa: One of the errors i got is that the fix you suggested is too long-(91 > 79 characters)...is there a way to bypass the limit? [15:59] Accelerator, no, but line breaks are totally okay [16:01] kyrofa: But then won't it be a deformed? [16:01] s/a/- [16:01] Haha, a little I suppose, but no way around that [16:02] Ok totally cool with that :) [16:06] elopio: nevermind, I managed to solve my problem, but thanks anyway :) [16:06] happy to have helped :D [16:07] elopio i got an error not working-orbitdb [16:08] DANIELLIVINGSTON: please put your error on paste.ubuntu.com and send us the link. Also add the commands you ran, and the snapcraft.yaml [16:12] elopio:https://pastebin.ubuntu.com/26353801/ [16:13] sergiusens: if you have some spare time, could you check my submission please? :) [16:13] DANIELLIVINGSTON: ah, I think I now what happened. You copied my source: ., but probably you should use source: https://github.com/orbitdb/orbit-db.git [16:14] ok i will see [16:37] wxl: hi! please take a look at my submission: https://codein.withgoogle.com/dashboard/task-instances/6047433035350016/ Thanks! [16:44] elopio [16:45] Kyrofa: Do i need to define all these? https://pastebin.ubuntu.com/26353957/ [16:47] elopio: i again got an error will running orbitdb after installing [16:49] bye guys [16:49] meet you tomorrow IST [16:49] * omairqazi is going to sleep [17:02] Accelerator, yep [17:02] popey: hi, regarding my snap uber, is it ready to be forked into snapcrafters repo? [17:02] Accelerator, or remove them, if necessary [17:02] (as I mentioned in my most recent review) [17:15] kyrofa: If i do remove them...then what will i put let's say here-->raise errors.MissingDesktopFileError(?) [17:25] kyrofa: nvm...can i make another PR though because it would be quite difficult to edit online 😅😅 [17:48] Hi all, one question. I see that snapcraft is available on macOS through homebrew. What about the snap support itself? Are snaps supported on macOS, is it planned or it won't probably happen? [17:54] konrad11901: https://forum.snapcraft.io/t/support-for-macos/1290 [18:01] Accelerator: ok, thanks! [18:01] np [18:10] elopio: what should I do? how can I make travis use lxd or docker? [18:11] m4sk1n: did you try installing the snapcraft snap? That might work on trusty [18:11] it runs snapcraft with `npm run dist`, so there’s no way other than running the whole build in container [18:12] yes, but command not found [18:12] that's because /snap/bin is not in $PATH [18:13] you can add "export PATH=$PATH:/snap/bin" [18:13] ENOENT [18:14] sorry, what? [18:15] error [18:15] from npm [18:16] sergiussens: hi. https://codein.withgoogle.com/dashboard/task-instances/6583702333161472/. for this task. for the new branch. should i upload a new file ? [18:16] m4sk1n: after exporting th path? [18:16] before [18:17] let me try it now [18:17] * m4sk1n uploaded an image: Screenshot_20180109-191647.png (197KB) [18:17] :D [18:42] kyrofa: Can i make a new PR and a new branch or do you need the old commits? [18:42] Accelerator, for the same task? Use the same PR [18:53] 55.9kB/s on travis ci… [19:20] elopio: hi [19:20] https://codein.withgoogle.com/dashboard/task-instances/5373896733753344/ [19:20] i need help for this task [19:22] after cd in the repository which i have cloned. when i do git checkout -b add-snap-support: it says :'fatal: Not a git repository (or any of the parent directories): .git' [19:23] Nissaar_, If you are having problems then check this out: https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github [19:24] Error downloading stage packages for part 'desktop-gtk2': The package 'adwaita-icon-theme' was not found. [19:25] im following this tutorial<: https://gist.github.com/popey/7803cfbda9b337fab792c403e50e4709 [19:30] Nissaar_, the one i gave you is more simple to follow and understand [19:32] elopio: trusty has no adwaita-icon-theme, so there’s no way to build it XD [20:10] elopio ? [20:10] popey ? [21:41] -_- [21:41] elopio: it fails because of travis ci, they have problems witch connection XD [21:44] m4sk1n: oh well, that was worth a try [21:46] m4sk1n: changing the job to use lxd or docker will be very invasive, I'm not sure they would like it [21:46] but also, worth to suggest. [21:47] m4sk1n: here is how you set up lxd in travis: https://github.com/snapcore/snapcraft/blob/master/tools/travis/setup_lxd.sh [21:48] here is an example of calling snapcraft from docker: https://github.com/elopio/blockchain-snaps/blob/master/.travis.yml#L27