/srv/irclogs.ubuntu.com/2017/06/26/#snappy.txt

=== chihchun_afk is now known as chihchun
waters33637_how do i change the sshd port on snappy core?03:57
VamsiHi, is it possible to write snaps in a language other than python? I mean already read a page where the snaps can be written in Go. But is it possible to write in other languages?07:43
kyrofaVamsi, oh certainly-- anything, really!07:47
kyrofaVamsi, snapcraft has a number of plugins included by default, including cmake, autotools, and yes, python, go, and so on07:48
kyrofaVamsi, run snapcraft list-plugins for more info07:48
Vamsikyrofa: Thank you very much.07:50
kyrofaVamsi, even if you want to do something that current plugins don't support, snapcraft supports using plugins in your actual tree as well. And you can always upstream them back to snapcraft, we're nice ;)07:53
Vamsikyrofa: That's awesome. Just another question. Is it possible to work with snapcraft on an IDE for noobs like me who find it easier to write code there? :|07:55
kyrofaVamsi, ugh, I lost my connection, sorry08:08
kyrofaVamsi, not sure if my previous messages got through08:08
kyrofa<kyrofa> Vamsi, yes, although snapcraft is a bit of a meta build system, which doesn't make that fit quite perfect08:08
kyrofa<kyrofa> i.e. your snap could be made up of multiple parts08:08
=== __chip__ is now known as Chipaca
Vamsikyrofa: So when you say parts, does it mean that I develop it as a regular app on an IDE and then convert it to a snap?08:40
renatHi guys! It's Renat from Screenly.08:41
kyrofaHey renat, welcome!08:41
kyrofaIt's been a while!08:41
renatYup=)08:41
kyrofaHow have you been?08:41
renatFine, thanks=)08:42
renatI have a question about timezone control snap=)08:42
renatHm. No. timezone control interface.08:43
renatIs it possible to include timezone control interface fix to 2.26.4 release? I investigated the timezone_control.go file on GitHub, but the fix is still not released in 2.26.4=(08:44
renatWe need that fix desperately=)08:45
kyrofarenat, does time-control cover that?08:45
renatkyrofa, no, unfortunately.08:46
kyrofarenat, we'll need to talk to zyga and/or jdstrand, then08:47
renatkyrofa, thanks! I will write them, I think.08:48
kyrofaAlright. jdstrand will probably be around in a few hours, too08:48
kozaogra_, hey, fyi, fuses blown, can boot core now09:54
mupPR snapd#3521 closed: snap-seccomp: make sure snap-seccomp writes the bpf file atomically <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3521>10:18
=== chihchun is now known as chihchun_afk
ogra_kyrofa, https://forum.snapcraft.io/t/building-u-boot-gadget-snaps-a-series-of-blog-posts/82111:09
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
UlfHey there11:48
mptWhere should I report a bug on the results of “snap find”?12:57
mupPR snapd#3526 opened: hooks: support for refresh hook <Created by stolowski> <https://github.com/snapcore/snapd/pull/3526>13:04
mupPR snapd#3527 opened: hooks: support for revert hook <Created by stolowski> <https://github.com/snapcore/snapd/pull/3527>13:05
xnoxHow do i search for packages in the edge channel?14:21
xnoxe.g. $ snap find --edge hello does not work14:21
xnox$ sudo snap find --edge hello14:22
xnoxerror: unknown flag `edge'14:22
seb128you don't14:22
mupPR snapd#3507 closed: many: backport of seccomp-bpf branch (#3431) to the 2.26 release <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3507>14:26
=== Sir_Gallantmon is now known as Son_Goku
Chipacaxnox: find explicitly only searches published, stable snaps14:33
kyrofapstolowski, done reviewing install/remove hooks, asked a few questions14:34
xnoxseb128, Chipaca: so how does one discover edge channel packages?!14:34
xnoxwhy does install accept --channel flag and find does not?14:34
pstolowskikyrofa, thanks!14:34
kyrofaxnox, by having admin store access and searching14:34
Chipacaxnox: non-stable snaps, you learn about them from the developer directly (or word of mouth)14:35
xnoxo_O14:35
Chipacaxnox: or, if you already know about a snap and would like to try its beta (or edge), snap info will tell you14:35
xnoxi find it weird, that i can call info on something, and install, which find does not find.14:36
Chipacaxnox: I'm ok with you finding it weird14:37
Chipacaxnox: :-D14:37
xnoxit feels like not having +r permission on ones home directory14:37
seb128xnox, it's not only you don't worry :-)14:38
Chipacaxnox: it's more like apt not telling you about things from debian experimental14:38
seb128it does14:38
Chipacaseb128: not unless you do a lot of work for it to do so14:38
seb128if you added the corresponding source14:38
xnoxChipaca, they are findable with apt search, but not installed by default with apt install unless e.g. /experimental is given.14:38
seb128lot of work?14:38
Chipacawhen i did it last at least, yes14:38
xnoxChipaca, e.g. on ubuntu backports are enabled by default; are searchable; do show up in the results; are not installed by default unless e.g. /xenial-backports is specified.14:39
xnoxChipaca, and that seems normal to me. What was your bug with apt?14:39
seb128xnox, that seems what one would expect as a behaviour :-)14:39
Chipacaxnox: I never said I had a bug with apt?14:40
xnoxChipaca, "xnox: it's more like apt not telling you about things from debian experimental" but it does...14:41
Chipacaxnox: it doesn't unless you do more work, was more my point14:41
Chipacaxnox: in any case I think you understand what I mean and are just being argumentative at this point14:41
Chipacaif on the other hand you didn't understand what I meant, I'll try harder14:42
xnoxcommented on https://bugs.launchpad.net/snappy/+bug/1662962 and marked myself as affected.14:43
mupBug #1662962: 'snap find' does not allow channel specification <Snappy:New> <https://launchpad.net/bugs/1662962>14:43
xnoxChipaca, on ubuntu, with apt, we have repositories that can be enabled/disabled and can be installable by default, or not.14:44
Chipacaxnox: yes, snapd does not support that14:44
Chipacaxnox: i'd forgotten about that bug, where the current behaviour is explained or rationalised rather well14:45
xnoxChipaca, on ubuntu we enable by default: security, updates, and backports. However, we by default only install from security and updates. backports are visible in ~= info / find, and work with install with extra flags.14:45
xnoxVery similar to snapd channels, which are possible to use with flags, for channels, for commands info/install, but not find.14:45
xnoxChipaca, the last comment says that if there are more people affected the --channels/--beta/et.al. should be supported in the find command.14:46
xnox(from mark that is)14:46
Chipacas/should/could/14:47
Chipacaxnox: if you can "snap install --edge --devmode foo", would you expect "snap find --edge --devmode" to find foo?14:48
ogra_slangasek, i noticed you started building daily ubuntu-core images on cdimage, i'd like to shut down my builds, but can you please fix the naming of the dargonboard ones ? theere are different versions of dragonboards and we only support the 410c, linaro/96boards asked me to make that clear in our images when i started building the ones in http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ ... would be great if the ones on14:49
ogra_cdimage could use the same naming scheme14:49
xnoxChipaca, yes. Not sure what "--devmode" does. For me there is a package one can install with --edge, and query with info, but not possible to "snap find --edge foo"14:51
Chipacaxnox: devmode snaps are not confined14:51
xnoxbecause --channel= --beta --edge --candidate --stable flags do not exist on the find subcommand.14:51
xnoxChipaca, ok so --devmode does not affect channel selection (e.g. devmode is not a subchannel of edge)14:52
xnoxso should be irrelevant here.14:52
Chipacaxnox: as i see it, it hinges on that if the developer hasn't put it in stable, it means they don't think it's suitable for general use14:53
xnoxChipaca, then why is there install --edge and why does info show it by default?14:54
xnoxChipaca, imho all command should default to show info from stable channel only.14:54
xnoxAnd all commands should be able to show other channels. If there is need to operate on other channels for the `info` and `install` so should also `find`14:55
Chipacaxnox: i think the difference is that find is about promoting/suggesting you use stuff, as opposed to info which is about telling you all we know about stuff14:56
xnoxChipaca, please tell me this is not an ACL / security feature14:56
xnoxthat one cannot "find" edge channel data....14:56
Chipacaxnox: exactly how stupid do you think we are? :-/14:57
xnoxgiven lack of --channel= flag on find command, my bar is set low =))))))))))))))))14:58
Chipacaxnox: so you disagree with some design decisions, you immediately assume we're incompetent?14:58
xnoxChipaca, please note i'm fairly new to using snap on regular basis. I have built a snap, and do use it. But I'm fairly unfamiliar with all the ins and outs.14:58
xnoxChipaca, artificially limiting user's ability to view _information_, imho, is censorship =) and nothing else. Especially since viewing the information should be harmless.15:00
xnoxI would understand ACLs were e.g. publisher alone can find packages, which are authenticated search results, before a package is made public.15:01
xnoxbut not able to find packages, in all channels, is still perplexing to me.15:01
Chipacaxnox: snap find --private is the only-find-private-packages bit15:02
kyrofaxnox, I think the idea is that there could potentially be all sorts of crap in edge etc. that could be totally useless and not ready for use. Showing such results when searching for a snap to use could be considered noise15:03
Chipacaxnox: and the lack of channel flags rationale is, I _think_ (but haven't checked) is from before sections support, so maybe it's time to rehash the discussion15:03
Chipacathere _is_ all sorts of crap in edge15:03
Chipaca:-)15:03
xnoxsure, there is crap, i'm not asking for it to be show by default15:03
kyrofaTotally useless and not ready for use == my redundancy of the day15:03
kyrofaAh, right, you just want find --channel15:04
xnoxkyrofa, snap find crap -> should return nothing; snap find --edge crap => should return all the crap =)15:04
kyrofaSure, gotcha. I agree, that would be useful15:04
xnoxkyrofa, please mark yourself as affected on https://bugs.launchpad.net/snappy/+bug/166296215:04
mupBug #1662962: 'snap find' does not allow channel specification <Snappy:New> <https://launchpad.net/bugs/1662962>15:04
kyrofaI've embarrassingly forgotten the names of my own snaps in non-stable channels. Had to login to the dashboard to jog my memory15:06
Chipacakyrofa: snapcraft list-registered15:06
Chipaca:-D15:06
kyrofaChipaca, you know about features in my own project that I didn't know about. This is a bad situation15:07
kyrofaBut that still seems like a workaround15:07
Chipacadude, i'm not the one that needs convincing15:07
kyrofaHaha, I know!15:07
mupPR snapd#3528 opened: Use RFC3339 time format for refresh times <Created by robert-ancell> <https://github.com/snapcore/snapd/pull/3528>15:09
mupBug #1651597 opened: no bug reporting method <Snappy:Confirmed> <https://launchpad.net/bugs/1651597>15:11
kyrofaJamieBennett, https://forum.snapcraft.io/t/dropping-grade-from-the-template-produced-by-snapcraft-init/783 FYI15:16
ChipacaPharaoh_Atem: https://en.wikipedia.org/wiki/Rocca_Calascio15:19
cjwatsonmpt: https://bugs.launchpad.net/snapstore15:37
mupBug #1651597 changed: no bug reporting method <Snappy:Fix Released> <https://launchpad.net/bugs/1651597>15:41
mupBug #1700560 opened: “snap find” returns confusing results <Snappy:New> <Snap Store:New> <https://launchpad.net/bugs/1700560>15:41
ChipacaI want to publicly thank kyrofa for offering to work without complaining on all the random snapcraft work we're throwing at him15:52
* Chipaca waits for kyrofa to follow his "always accept praise" rule15:52
kyrofaChipaca, haha, so far none of the tasks I've agreed to are assigned to me!15:52
* kyrofa accepts praise15:53
Chipacakyrofa: this can be fixed15:53
Chipacarobert_ancell: should i be waiting for another commit on snapd#3528?15:57
mupPR snapd#3528: Use RFC3339 time format for refresh times <Created by robert-ancell> <https://github.com/snapcore/snapd/pull/3528>15:57
robert_ancellChipaca, Was called into a discussion, still working on it15:57
Chipacarobert_ancell: tsk tsk15:57
mupPR snapd#3529 opened: interfaces: allow snaps to use the timedatectl utility  <Created by mvo5> <https://github.com/snapcore/snapd/pull/3529>15:58
slangasekogra_: can you file a bug (or do a merge) against ubuntu-cdimage for the dragonboard rename so there's a paper trail?16:18
ogra_slangasek, will do16:18
mupPR snapd#3530 opened: cmd/snap: include snap type in notes <Created by chipaca> <https://github.com/snapcore/snapd/pull/3530>16:32
seb128hum, my test vm crashed while I was installing libreoffice snap16:34
seb128I rebooted and now it says "snap libreoffice has changes in progress"16:34
seb128what does that mean and how can I get out of it?16:35
seb128remove says it's not installed16:35
seb128installed gives that message I don't understandf16:35
pstolowskiseb128, what does 'snap changes' say? try 'snap abort <changeid>; any errors reported by journalctl16:38
pstolowski?16:38
seb128pstolowski, seems it's installed now16:40
seb128so I guess it resumed installing it in bg16:40
seb128and "changes in progress" is a way to say that which was just not undertandable to me16:40
kyrofaseb128, welcome to transactional package operations!16:41
kyrofaNot the not-understandable part, but the fact that it didn't end up in a weird state. Nice huh?16:42
seb128yeah, would be nice if it as telling you what it's doing16:42
seb128rather than throwing a weird error that make you want to nuke the install16:42
seb128:-)16:42
seb128I was close from trashing the vm and redoing a fresh ubuntu install16:43
=== ratliff_ is now known as ratliff
seb128since I had no clue how to get out of the situation16:43
pstolowskiperhaps the message should give a hint about 'snap changes'16:45
coreycbhi all, the keystone snap was blocked on upload to the snap store due to an interface issue which i've since been able to drop. but i think it's still blocked.  can someone take a look?16:57
coreycbalso the nova snap appears to have the same issue.16:59
seb128give an hint about snap changes would be one option17:06
seb128another would be to explain what's going on17:06
seb128like that it's being installed and that waiting is enough17:06
neozerohi. first time snap user on Ubuntu 16.04. '$ sudo snap install wekan' went fine, but '$ wekan.help => cannot mount /snap/wekan/2/$SNAP_DATA/share at /snap/wekan/2/$SNAP_DATA/shared with options bind. errmsg: No such file or directory17:45
mupPR snapd#3531 opened: interfaces: updates default, mir, optical-observe, system-observe, screen-inhibit-control and unity7 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3531>19:29
jdstrandroadmr: hi! would you mind updating the tools to r887?20:36
jdstrandogra_: fyi, that has your new kernel and two gadgets ^ (prevous revisions had the other one)20:36
roadmrjdstrand: sure thing, coming up20:53
neozeroanything I should be looking at for this simple case of Ubuntu 16.04 $ snap install wekan => $ wekan.help => cannot mount /snap/wekan/2/$SNAP_DATA/share at /snap/wekan/2/$SNAP_DATA/shared with options bind. errmsg: No such file or directory20:55
jdstrandroadmr: thanks. I forgot to mention no rush21:29
roadmrjdstrand: np, I'll need to hold the merge until tomorrow but should deploy shortly after21:32
roadmr(but it's already prepared - just waiting for me to pull the trigger)21:32
jdstrandroadmr: cool, thanks22:05
=== JanC_ is now known as JanC

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