/srv/irclogs.ubuntu.com/2018/06/10/#snappy.txt

=== vila__ is now known as vila
=== rbasak_ is now known as rbasak
cjwatsonpopey: hey, do you have any examples of electron-builder snaps that fail to build for networky sorts of reasons on BSI?11:04
cjwatsonpopey: elopio filed a bug about one of those a while back, but the GH repository for it is gone11:04
popeycjwatson: we generally don't hook e-b apps to bsi. Because it doesn't build with a yaml in the root11:44
cjwatsonpopey: Can you explain that a bit further?12:43
popey_cjwatson: sorry for the delay, irccloud-desktop from edge is segfaulting and I'm on 50K/s wifi13:16
popey_cjwatson: so, electron-builder knows how to build snaps. A single line in the package.json in the root of an electron-builder based project is often enough to spit out a valid snap13:16
popey_cjwatson: sometimes you need extra stuff like interfaces listed, or stage-packages, but often not.13:16
popey_cjwatson: internally e-b will build the application with npm/yarn or whatever, and then bundle the built assets into a snap (I think using snapcraft)13:17
popey_cjwatson: so e-b projects don't actually have a snapcraft.yaml anywhere in their source tree, it gets generated (I think) at build time, and then thrown away.13:18
cjwatsonpopey_: Ah, so https://bugs.launchpad.net/launchpad-buildd/+bug/1732811 was an anomaly?13:21
mupBug #1732811: glowing-bear fails to build, but it works on container build <launchpad-buildd:Incomplete> <https://launchpad.net/bugs/1732811>13:22
cjwatsonI assumed from that bug that there was some kind of wrapper boilerplate in snapcraft.yaml that called electron-builder.13:22
popey_yeah, i dunno what it did, we nuked it because it was all broken13:24
popey_so it could well be an anomoly, I'd close it and we can re-open if we see it again13:24
cjwatsonpopey_: OK, would you mind doing that?  Always good to have the user('s team) withdraw rather than the nasty evil maintainer wontfixing :)13:25
cjwatsonpopey_: I think my proxy work will likely take care of the specific download problem there in any case13:25
popey:D13:26
cjwatson(well, maybe; or else it'll require the same kind of more heroic measures that bloody maven-ant-tasks will)13:26
popeyoh. you've fixed maven? :)13:26
cjwatson... sort of, in some cases13:26
cjwatsonmaven-ant-tasks is a special snowflake13:27
popeyah okay.13:27
cjwatsonI have a fix for the general case of stuff that doesn't work with authed proxies13:27
cjwatsonbut maven-ant-tasks is terrible and is just ignoring me no matter what I try13:27
cjwatsonI think I must have insulted its ancestors or something13:27
popeyMore free software developers should have to live behind proxy servers. This stuff would happen less often.13:27
cjwatsonI do find it astonishing that Java stuff doesn't work right, given the corporate world13:28
popeyyeah13:28
cjwatsonthe internet is full of half-complete threads to the effect of "how do I get maven to work behind my proxy" that sort of tail off13:28
popey:(13:28
cjwatsonanyway, I have an evil plan13:28
cjwatsonit may involve iptables and redsocks13:29
popeyevil plans are best plans13:30
cjwatsonhttp://grokbase.com/t/ant/user/166fc12046/maven-ant-tasks-proxy-issue is one of the threads I mentioned and is somebody with essentially the same requirements we do13:31
cjwatsoni.e. put a proxy in place without changing the actual project's build config13:31
=== erio is now known as erio|away
vidal72[m]is something like this ok to be allowed on snapstore? https://snapcraft.io/juan-test-number-117:02
=== erio|away is now known as erio
Lukehey guys. is there a comprehensive doc on the $SNAP variables available for snapcraft?19:40
Lukehey guys. is there a comprehensive doc on the $SNAP variables available for snapcraft?19:43
Luke(sorry if I sent that twice, wasn't sure if I was online yet)19:44
Lukeah I found it!19:49
Lukehttps://docs.snapcraft.io/reference/env19:49
Lukehow do I just copy a file form src into the install dir?20:35
binarycreationsHello there20:37
Lukehey20:37
binarycreationsFor better or worse I am running on Arch atm, trying to create my first snap. Followed the wiki to symlink /snap to the right location and read the same on the forum. However still can't install snapcraft as I am getting the --classic isn't supported error.20:38
binarycreationsListing snap --version gives me an Unknown version but the installed package is 2.26.1-320:40
binarycreationsSorry I can't provide any more information.20:41
binarycreationsIs there any way I can get more detailed logging or output from the snap command? More than happy to spend a bit of time walking through this a bit more20:49
binarycreationsOkay, I have rebuilt the latest package from the AUR manually. The same error still exists21:00
binarycreationsOkay... so re-installed the snap again, deleted existing snaps first and now that appears to have worked. Output from snap --version looks much better. snap and snapd report version 2.32.9-1, I will assume stupidity but perhaps there was an issue with older installation.21:09
binarycreationssnap aur*21:09

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