/srv/irclogs.ubuntu.com/2016/11/04/#snappy.txt

mupBug #1638425 changed: The documentation to install snapd in archlinux doesn't mention that the socket needs to be started <snap-docs> <Snappy:Fix Released by fgimenez> <https://launchpad.net/bugs/1638425>00:35
=== JanC_ is now known as JanC
mupBug #1639095 opened: On archlinux, /snap/bin is not added to the $PATH <archlinux> <Snappy:New> <https://launchpad.net/bugs/1639095>00:41
mwhudsonuh00:46
mwhudsoni apparently can't download snaps00:46
mwhudsoni get 500s from the cfn00:46
mwhudson*cdn00:46
mwhudsonheh working now00:47
DSSFirst boot is not accepting my Ubuntu Store login credentials...03:39
DSSOk, so I have to login via SSH first...03:41
DSSNever mind...03:41
mupPR snapd#2264 opened: Reinstate delta download <Created by absoludity> <https://github.com/snapcore/snapd/pull/2264>05:41
liuxgogra_, ping06:19
=== chihchun_afk is now known as chihchun
liuxgogra_, ping06:55
liuxgI am now using kvm to launch ubuntu core, when I am trying to login using "ssh -p 10022 USER@localhost", it prompts me a password. May i know what password should it be? is it the one for the Ubuntu One account or the ssh keys? thanks07:01
liuxgwhat should be the correct password for logging into a kvm ubuntu core system? I have tried to use the Ubuntu One password, but it fails. thanks07:41
foxmaskbonjello07:49
mupPR snapd#2265 opened: Fix build failure on call to UbuntuArchitecture <Created by stolowski> <https://github.com/snapcore/snapd/pull/2265>09:45
mupPR snapcraft#887 closed: Cache apt related files (config, packages) in 'apt' parent directory <Created by squidsoup> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/887>10:00
thomiHi snappy devs, we're considering deploying a new search.apps.u.c today, and wanted to check the state of snapd integration tests, but https://travis-ci.org/snapcore/snapd/builds seems to think nothing has landed in the last 17 days. Am I looking in the wrong place?10:07
zygaPharaoh_Atem: hey, I'm heading home but I have an idea10:08
zygaPharaoh_Atem: can we detect via getenforce if selinux is on and just print a big fat warning10:08
zygaPharaoh_Atem: and release the package as is10:08
zygaPharaoh_Atem: it's better than keeping it siloed10:08
zygaPharaoh_Atem: and more eyes == better10:09
zygaPharaoh_Atem: perhaps someone will figure out how to actually fix the remaining warts10:09
mupPR snapcraft#881 closed: Catkin plugin: Python nodes require gcc/g++ too <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/881>10:12
thominiemeyer: Any idea? ^^10:13
zygathomi: looks odd, we definitely land stuff all the time10:18
thomizyga: that's what I figured - perhaps you stopped using travis for some reason?10:18
mupPR snapcraft#671 closed: Add initial snapcraft manpage <Created by tsimonq2> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/671>10:18
mupPR snapcraft#879 closed: The latest icon definition is deprecated <Created by liu-xiao-guo> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/879>10:18
zygathomi: look at pull requests10:18
thomihmmm, well that's odd10:19
thomibut at least I see some green builds. Thanks zyga !10:19
tsdgeoswhat's the optimal workflow for integrating changes into a snap to see if they fix a bug? the only thing i can think of is, but MR in launchpad, make bileto create a ppa, add ppa to my system, rebuild the snap10:20
tsdgeosbut that looks like a very slow cycle10:20
mupPR snapcraft#661 closed: Added a test Jenkinsfile <Created by elopio> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/661>10:21
mupPR snapcraft#674 closed: Add reference.md <Created by elopio> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/674>10:21
mupPR snapcraft#736 closed: Disable internet access during unit tests <Created by elopio> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/736>10:21
zygathomi: I think those are master builds on push that we've disabled10:21
zygathomi: we test PRs instead10:21
zygathomi: as we don't just push to master willy nilly10:21
kalikiana_stgraber: jdstrand FYI conflicts resolved and the branch has got the latest definitions - I think it works, but by design, apparently, I can't actually test it... so how do we proceed from here? Not quite sure how this will work in the end10:23
mupPR snapcraft#874 closed: Remove the debian packaging <Created by elopio> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/874>10:24
sergiusensPharaoh_Atem hey, I want to land your RPM support to make it go into the next release, will you have time to do the catching up in the branch?10:27
=== devil is now known as Guest43423
tsdgeoshow do i remove stuff i've added with snap try?10:47
dholbachtsdgeos, "snap remove <snap-name>"10:49
tsdgeosdholbach: but that removes everything10:49
tsdgeosdholbach: the thing is, if i have the snap, then i "try" twice, i end up with 3 copies of the snap in /snap10:50
dholbachtsdgeos, I'm not sure I understand... what would you like to remove and what would you like to keep?10:50
tsdgeosi want to remove the two copies added by try10:50
tsdgeosand just be left with the one i actually installed10:50
dholbach[remove command options]10:51
dholbach          --revision= Remove only the given revision10:51
dholbachI've never tried it, but ^ maybe that?10:51
tsdgeosi can try thta i guess10:52
Chipacatsdgeos, --revision should work11:00
Chipacatsdgeos, btw, why are you wanting to remove 'em?11:00
tsdgeosChipaca: because space?11:00
Chipacatsdgeos, they aren't copies11:00
tsdgeosChipaca: doesn't seem to work or i can't pass the correct revision number11:01
Chipacatsdgeos, unless your app creates a lot of data11:01
Chipacaoh?11:01
Chipacalet me look11:01
tsdgeos$ ls /snap/unity8-session/11:01
tsdgeoscurrent  x1  x211:01
tsdgeoshow do i remove x2 ?11:01
mupPR snapd#2265 closed: Fix build failure on call to UbuntuArchitecture <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/2265>11:01
tsdgeosah i have to revert and then remove11:02
Chipacatsdgeos, snap remove --revision x2 unity8-session11:02
tsdgeosChipaca: no that didn't work without reverting first11:02
Chipacatsdgeos, ah, if it's current, yes11:02
Chipacatsdgeos, that's why the help says "revert first" :-D11:02
Chipacanot the help, the error message11:02
tsdgeoswith a ?11:02
tsdgeosdoesn't make one very confident11:02
Chipacawell, it's not a mind reader11:03
Chipacawhether or not it's the right thing to do depends on what you're wanting to do11:03
tsdgeoswell i told it to remove the thing11:03
Chipacafor example, you might not *want* to remove the current revision11:03
tsdgeosthen remove the thing11:03
bzoltandholbach: will you join our call in 11.5h? I would appreciate your input.11:21
bzoltanpopey: mhall119:dholbach: I have added a doc to the invitation.. if you can spare few minutes to review that would make our call more efficient.11:22
=== chihchun is now known as chihchun_afk
mupPR snapd#2130 closed: store: retry store ops (phase 1) <Created by stolowski> <Closed by stolowski> <https://github.com/snapcore/snapd/pull/2130>11:36
=== Guest43423 is now known as devil_
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== hikiko is now known as hikiko|ln
mupPR snapd#2266 opened: tests: run autopkgtests <Created by mvo5> <https://github.com/snapcore/snapd/pull/2266>11:58
popeybzoltan: okay! :)12:04
Son_Gokuelopio: thanks for the unit test example12:20
Son_GokuI was able to add another test based on that one, so there's two tests now12:20
dholbachbzoltan, 11.5h?12:20
Son_GokuI'll have to play with the code to see if I can make a cpio archive with "./" at the beginning of the path, as well as one with "/" at the beginning too12:21
dholbachbzoltan, but yeah12:21
bzoltandholbach: ohh... a typo :) in 11.5h i will be in my pyjama and sleep like a baby12:21
dholbach+112:21
=== hikiko|ln is now known as hikiko
mupBug #1639234 opened: docs/rest has not url for install (refresh, revert, remove) example <Snappy:New> <https://launchpad.net/bugs/1639234>13:19
jdstrandkalikiana_: ack13:33
tsdgeosis there a way for snapcraft to use a local deb instead one from the archive?13:51
tsdgeoswhen building the snap file?13:51
qenghotsdgeos: Yes!13:52
qenghotsdgeos: You know the file path?13:52
tsdgeosqengho: for the deb i want to use?13:52
tsdgeosi can know it, yes13:53
tsdgeosor i guess i can dpkg -x into the prime folder?13:56
qenghotsdgeos: Not merged yet, but you could use it anyway. https://code.launchpad.net/~longsleep/snapcraft/snapcraft-debs-plugin/+merge/26665013:58
bzoltandholbach: popey: once again, thank you for your time. I have edited and format a bit the minutes. Would you please take a quick look at it and call me an idiot if i missed something or interpreted something wrong?14:24
dholbachsure, hang on14:26
qenghoDo we have any way of knowing when snapcraft builder for launchpad-hosted snap building is updated?14:42
mupBug #1639284 opened: Cant start any snap application on Xenial <Snappy:New> <https://launchpad.net/bugs/1639284>15:50
tsdgeosso the unity8-session snap is missing some symlinks that are created by the deb " using the alternate system", i guess snapcraft doesn't run those steps?16:15
tsdgeosi.e. is deb postinst run?16:16
qenghotsdgeos: Correct. There is no post-install. post-install runs have to be done at "stage" or "snap" time, when fabricating a snap package.16:16
tsdgeosok16:17
mupPR snapd#2267 opened: Release version 2.17.1 <Created by mvo5> <https://github.com/snapcore/snapd/pull/2267>16:45
mupPR snapd#2253 closed: interfaces/builtin/mir: allow slot to make recvfrom syscalls <Created by albaguirre> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2253>17:08
Pharaoh_Atemsergiusens: I'm working on it now17:14
Pharaoh_Atembut I'm having a problem17:14
Pharaoh_AtemI don't know why this unit test is failing17:14
Pharaoh_Atemthe code it's failing on is exactly the same as the deb source code17:14
Pharaoh_Atemby all rights, it should work17:14
Pharaoh_AtemI don't know why it isn't17:14
Pharaoh_AtemI think I may not understand how this test is supposed to be written, but... :/17:15
_markfeatherstonHello, I'm trying to build a kernel for ubuntu core and I'm running into troubles (Failed downloading ubuntu-core/edge).  Is anyone here familiar with this error?17:21
_markfeatherstonError: https://paste.ee/p/PjiEd17:21
_markfeatherstonyaml: https://paste.ee/p/pW24W17:21
ogra__markfeatherston, looks like there is a store problem currently17:22
_markfeatherstonAhh, good to know.  I'll hold off a bit on this then.  Thanks!17:22
_markfeatherstonActually I do have other questions in the meantime.  I'm looking at the 96boards kernel as a reference.  It has "confinement: strict" in the yaml.  I think I understand what this means in context of an application, but does the confinement do anything with kernels?17:24
ogra_well, if you set devmode you also need --devmode for snap install and snap refresh ...17:25
ogra_beyond that i dont think it does anything actively atm (it probably will)17:26
_markfeatherstonok, makes sense17:26
_markfeatherstonthe example kernel yaml also had "kdefconfig: [defconfig, distro.config]".  What is the distro.config in this case?  Is that ubuntu core's kernel config options?17:28
ogra_i think thats a question for the kernel team :) ppisati might be your man, but he is at the plumbers conference17:30
_markfeatherstonOk, I'll check back later for that or just experiment when the store comes back up.  thanks :)17:31
qenghoWhere should I file about about the official disk images' compression scheme, xz?18:24
qenghoThat is, I want to ask for images to be gz compressed too. MEMDISK doesn't support xz.18:26
mupBug #1639328 opened: Snappy Ubuntu Core images are not in a format readable by MEMDISK <Snappy:New> <https://launchpad.net/bugs/1639328>18:33
pippo_ho installato ubuntu core ma ad un certo punto mi chiede un email address "from your account in the store": di quale account si tratta ?18:35
Pharaoh_Atemelopio: ping19:04
TrevinhoHey, how can I understand what snap versions are available in each channel?19:05
Pharaoh_Atemelopio: I removed the pull() call, but it's still breaking, and I'm not sure why... https://travis-ci.org/snapcore/snapcraft/jobs/17334802319:05
TrevinhoI was expecting snap refresh --list <snap> to give me that info...19:05
Trevinhobut...19:05
Trevinhoit doesn't seem to do19:05
TrevinhoI can only snap refresh --edge <snap> and see what will happen, but not get those inofs without changing19:06
TrevinhoI mean something similar to snapcraft status for your pkgs...19:09
=== kenvandine_ is now known as kenvandine
=== JanC is now known as Guest51811
=== JanC_ is now known as JanC
noise][Trevinho: I believe we intend to make a `snap info foo` command to provide that information, but is not available yet19:50
dobeyTrevinho: can't you do snap refresh --list --edge?20:07
jdstrandroadmr: hi! please feel free to test r791. that has the fix for bools as strings as well as everything for parsing the base declaration and applying overrides with --plugs/--slots20:12
roadmrjdstrand: awesome! Sure, I'll give it a whirl in a sec20:12
jdstrandroadmr: I have one more thing to implement for completeness, but it isn't used anywhere yet20:12
Trevinhonoise][: yeah, I was wondering why that isn't available too...20:20
roadmrjdstrand: ok20:20
Trevinhodobey: I tried the same, but no... It says --list does not take mode nor channel flags20:20
noise][Trevinho: i think just didn't make the cut in the rush to the UC 16 release but I suspect will get added before long20:21
Trevinhonoise][: I hope so. Thanks for the info about `info` tho :-)20:21
roadmrjdstrand: it works! so if I pass a --plugs plugs.json with a payload allowing e.g. lxd-support, my snap which uses it gets auto-passed; if I just change the interface name in the payload, it gets flagged for manual review20:25
roadmrjdstrand: the message is a bit cryptic (if accurate): "not allowed by 'allow-installation' in base declaration" doesn't hint that it could also be allowed in a --plugs or --slots override. But I think it's fine like this and we can tweak if we get confusion20:27
jdstrandroadmr: we are going to give the messages an overhaul. the message is meant to convey what denied it, not how to override it since a reviewer will presumably know that20:39
jdstrandroadmr: but again, yes, we'll be giving the errors a once over20:39
roadmrjdstrand: thanks, that'll be quite useful20:39
roadmrreviewers are humans too \o/20:39
Trevinhosergiusens: hey... Is there any way to make the version in the snapcraft.yaml to be more dynamic? I.e. to add a cvs revision or something similar?20:48
elopioPharaoh_Atem: doesn't make a lot of sense. It's the same code as the other test ¯\_(ツ)_/¯21:41
elopiolet me finish my travis builds, and I'll try to debug it.21:41
Pharaoh_Atemokay21:41
* Pharaoh_Atem is starting to feel really frustrated with this particular test21:42
Pharaoh_AtemI was tempted to just delete the test, but that feels like cheating...21:42
elopioit's almost done. I just feel bad that we were so slow to review it. Hopefully we get faster now that there are no sprints and no big releases.21:43
* Pharaoh_Atem shrugs21:53
Pharaoh_Atemelopio: I wanted it to make it into the next version of snapcraft21:53
Pharaoh_Atembut I think it just went out today21:53
Pharaoh_Atemhmm, went out two days ago21:55
Pharaoh_Atemkyrofa: why do you think you'll get to avoid SRUs with snaps?21:58
Pharaoh_Atemif anything, I think the SRU process would transfer over to snaps, since it'd be more important with the coarser dependency logic21:58
naccSRU is a way to control the rollout in the repository; snaps are controlled by the developer independently, no?21:59
Pharaoh_Atemnacc: sure, but if you're the developer...?21:59
Pharaoh_Atemyou better have a process for ensuring things are worth releasing21:59
* nacc lacks context21:59
naccbut i think it's just saying that there is no such thing as the SRU process for snaps22:00
naccyou just push fixes22:00
naccwith your own CI22:00
naccpresumably22:00
naccand QA22:00
Pharaoh_Atemyes, but in https://github.com/snapcore/snapcraft/pull/880, kyrofa makes the comment that pushing major version updates will not have an SRU process22:00
mupPR snapcraft#880: Remove license concepts <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/880>22:00
Pharaoh_AtemI'd argue that you'd likely be forced to be more careful, because there's literally no way to check and guard against breakage at all22:00
naccSRU and various other tools require that you go through a formal process22:01
Pharaoh_Atemyes22:01
naccrun by the SRU team22:01
naccthere is no such process for snaps22:01
Pharaoh_Atemthere probably will be eventually22:01
naccyou as the end developer can push whatever version you want to whatever stream22:01
Pharaoh_Atemsure22:01
Pharaoh_Atembut you (as Canonical) would have a process for pushing updates to your own snaps22:02
nacci'm not so sure; the lack of SRU is meant to be one of the pros :)22:02
Pharaoh_Atemjust as I (as a dumb human) would have a process for ensuring what I push is halfway decent22:02
naccwell for canonical owned snaps, they'd figure something out, i'm sure22:02
nacci'm not sure what that has to do with SRU22:02
Pharaoh_Atemimho, tools cannot eliminate processes22:03
naccthat's more a statement that if you change something, test it and make sure it doesn't break anything -- SRU is a specific implentation of that22:03
Pharaoh_Atemonly people can eliminate processes22:03
Pharaoh_Atemnobody said you *have* to have an SRU process for Ubuntu repos22:03
naccPharaoh_Atem: dunno; i think the point in there was that SRUs are generally not meant to be major version bumps -- but snaps make that easier to deleiver22:03
Pharaoh_Atembut breaking people's world is generally not a good idea and something you probably don't want to do22:03
Pharaoh_Atemso that would require implementing a process to ensure you don't do that22:04
nacchow would you break their world?22:04
Pharaoh_Atemwell, at least in this example (PR880), they broke snapcraft.yaml files that used the license stuff because they removed it22:04
Pharaoh_Atemmaking those files that used it now invalid22:04
_markfeatherstonIs this at all still relevant for ubuntu core 16? https://developer.ubuntu.com/en/snappy/guides/porting/22:06
naccPharaoh_Atem:  i don't know the specific context, sorry22:06
* Pharaoh_Atem shrugs22:06
Pharaoh_Atemthe general point I'm making is that tools don't necessarily get rid of processes22:06
Pharaoh_Atemonly people do22:06
Pharaoh_Atemif you want a lighter process, you change the process to be so22:07
=== JanC_ is now known as JanC
mupPR snapcraft#888 opened: Always respect go-buildtags <Created by stgraber> <https://github.com/snapcore/snapcraft/pull/888>23:34

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