/srv/irclogs.ubuntu.com/2015/05/06/#snappy.txt

Chipacahttps://code.launchpad.net/~chipaca/webdm/www-tests/+merge/258325 just for beowulf00:00
Chipacasergiusens: i'm not sure i've been clear in my answer to your question in json-respones00:05
Chipacasergiusens: holler if not :)00:05
sergiusensChipaca: last mp needs prereq ;-)00:41
mwenninghi snappy guys, anyone around?01:58
=== c74d3 is now known as _8680_
=== _8680_ is now known as c74d
=== erkules_ is now known as erkules
davidcalleGood morning all o/07:25
asacppisati: hey07:54
asacppisati: the bcm patchset for pi2 ... does that defeat the multiplat property of our kernel?07:55
ppisatippisati: yes, the bcm bsp is not multiplatform-ready07:55
ppisatiops07:55
ppisatiasac: ^07:56
asacppisati: someone said you did a more minimalistic patchset?07:56
asaci assume that is also not multiplat?07:57
ppisatiasac: ??? - it's the bcm bsp rebased, it's the same stuff07:57
asaci guess making something multiplat is nothing that can be done with reasonble effort?07:57
asacppisati: ah ok. hanks07:57
asacppisati: is there a list of socs that are good for multiplat with dtb upstream.?07:58
ppisatiasac: dunno if you can reuse something of that code, and then there's the 'legal problem' of the missing sign-off - we don't knwo where that code come from, etcetc08:03
ppisatiasac: AFAIK there isn't a 'support soc' list - https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/Kconfig08:04
ppisatiasac: follow the Kconfig under the 'menu "Multiple platform selection"'08:04
ppisatiasac: these are all multiplatform (and indeed we turn on as mane as we can already in -generic)08:05
ppisatiasac: but their supports vary08:05
ppisatiasac: and then's there's the rest of the hardware on the boards to take in consideration08:05
asacppisati: do you have a list of those that we enable?08:15
asacyeah in know that the experience will vary quite a lot :)08:15
hawkowlshouldnt snappy be making current/ directories?08:27
hawkowlbecause mine only has the version numbers, no current08:27
hawkowl(for data files)08:27
Chipacahawkowl: not in data dirs08:41
hawkowlokay08:41
hawkowlso, how do i have a current/ data dir?08:41
Chipacahawkowl: where?08:42
hawkowlon the filesystem I guess?08:42
Chipacahawkowl: sorry, are you asking how come you have one, or how would you go around getting one?08:43
hawkowlthe latter08:43
hawkowlbecause I want one :)08:43
Chipacahawkowl: you wouldn't08:43
Chipacahawkowl: why would you want one?08:43
hawkowlto store mutable and persistent local state?08:43
Chipacasounds like you're doing something wrong08:43
Chipacahawkowl: you use $SNAPP_APP_DATA_PATH08:44
hawkowlright08:44
Chipacahawkowl: that gets copied over on upgrade08:44
hawkowluh08:44
hawkowlokay, that sounds interesting08:44
Chipacaum, sorry08:45
Chipacahawkowl: $SNAP_APP_DATA_PATH08:45
Chipacahawkowl: SNAPP_* is deprecated :)08:45
Chipacahawkowl: you also have $SNAP_APP_USER_DATA_PATH, fwiw08:46
Chipacahawkowl: hello-world.env prints all these out08:46
Chipacaor it would if not for a bug wrt tmpdirs08:46
Chipacahmm08:46
Chipacamvo: tmpdir08:46
Chipacamvo: i see a card about creating them08:46
Chipacamvo: but i thought we wanted to set up a namespace and use that08:46
mvoChipaca: a private mount of tmp? yes, thats the plan08:50
mvoChipaca: iirc there was still some dir that was not created I need to double check the card08:50
Chipacamvo: we've got a problem in the current implementation, afaict08:51
Chipacamvo: where some things will create their tempdir as root (e.g. webdm)08:51
Chipacamvo: and then you try to use hello-world.env and it can't create a tempdir because /tmp/snaps is owned by root :)08:51
mvoChipaca: *autsch*08:52
beowulfChipaca: morning, i added a comment to www-tests about an option to run without xfvb, feel free to tell me no :)08:52
Chipacabeowulf: would you also want to reuse an existing karma server thing?08:53
Chipacabeowulf: does the way i'm running it reuse it, or does it kill it?08:53
beowulfChipaca: hmm, i don't think so08:53
beowulfChipaca: let me see08:54
Chipacabeowulf: does --single-run kill the browser window even if the test fails?08:54
Chipacai might not have dug into this as much as it warranted08:54
Chipacamvo: so, should i add a private /tmp/, or should i add $UID to the tempdir?08:55
beowulfChipaca: with an existing karam instance running and listening, 'karma start --single-run' does as you expect it to (start a new browser, run tests, close new browser)08:55
beowulf(I'm assuming that's what you want/expect)08:55
Chipacai expect nothing08:55
* beowulf tries failing test08:56
beowulfChipaca: with failing test, same outcome, running karma watch reports failure, new instance reports failure and exits08:57
Chipacabeowulf: in any case, perhaps the best way is allowing you to override the whole command08:57
Chipacaie ( cd www && ${JS_TESTER:-xvfb-run yadda-yadda yadda} )08:58
beowulfChipaca: maybe, i don't use build.sh very often08:58
beowulfChipaca: i build www and scp to an existing webdm, so it's only when i need to update anything go-like that i run build08:59
Chipacabeowulf: i'm reading that as a "yes". Holler if you're trying to politely say "that's a stupid idea"08:59
Chipacabeowulf: it's run-tests, not build.sh, fwiw09:00
* beowulf clears rubs eyes09:01
JamesTaitGood morning all; happy No Homework Day! 😃09:01
ChipacaJamesTait: \o/09:04
Chipacabeowulf: does the json-responses branch behave as you expect?09:07
hawkowlhmm okay so if i'm writing some docs for a user09:07
hawkowlthe app needs to write a .pid, so, I need to cd somewhere that it can write09:08
hawkowlwhere should it cd to?09:08
Chipacahawkowl: should that pid be in tmp (non-persistent) or data (persistent)?09:09
Chipacahawkowl: (why would you cd to the dir to make the .pid?)09:09
beowulfChipaca: testing now09:09
* Chipaca hugs beowulf 09:09
beowulfChipaca: remind me what i do to make sure i have all deps?09:12
Chipacabeowulf: build.sh should sort that out for you09:13
Chipacabeowulf: that is, if build worked, you had all the deps09:13
beowulfChipaca: http://pastebin.ubuntu.com/10996220/09:13
Chipacaor was that run-checks09:13
Chipacabeowulf: yeah, run-checks is the bit that sorts that out09:14
Chipacabeowulf: if you don't/can't run the whole run-checks, godeps -u dependencies.tsv09:14
beowulfChipaca: so... run-checks, tell me about this09:15
Chipacabeowulf: assuming you have GOPATH and PATH set up right, just ./run-checks09:15
mvo_Chipaca: private temp is prefered but $UID for tempdir sounds simpler and quicker for now(?)09:16
Chipacabeowulf: if you don't, then GOPATH=path/to/folder/holding/src/ PATH=..../src/bin ./run-checks09:16
beowulfChipaca: run-checks fails with the same error http://pastebin.ubuntu.com/10996230/09:17
Chipacahmmm09:18
* Chipaca tests locally09:19
beowulfChipaca: in my GOPATH, launchpad.net/webdm is a symlink to ~/workspace/canonical/webdm09:19
Chipacabeowulf: i'm afraid you need to merge trunk; let me confirm09:19
beowulfChipaca: never be afraid09:20
Chipacabeowulf: i'm terrified09:20
Chipacabeowulf: but also, right09:20
Chipacabeowulf: bzr merge lp:webdm and all is good09:20
Chipacashould update a single file, dependencies.tsv09:20
Chipaca:)09:20
beowulfChipaca: \o/09:22
beowulfChipaca: however... build works, run-checks does not (same failure)09:23
beowulfbut i have what i need, so na-na-na09:23
* Chipaca fixes run-checks09:28
beowulfChipaca: https://code.launchpad.net/~stephen-stewart/webdm/json-responses/+merge/25835509:50
beowulfChipaca: so, we've exposed some inconsistency in the use of 'message', which until now really meant 'something bad happened'09:50
Chipacabeowulf: we've exposed it, or we've started being inconsistent?09:51
beowulfChipaca: we've started being inconsistent, but consistency was maybe bad?09:52
Chipacabeowulf: tell me more though; i've tried to make it more consistent, not less :)09:52
beowulfChipaca: for example, a failed install returns a 200 with a message, which the client interprets as an error and shows the error view09:52
beowulfChipaca: now, a PUT also returns a message, which the client ... blah blah09:52
beowulfChipaca: so, maybe the webdm shouldn't return 200's for errors09:53
beowulf:)09:53
Chipacabeowulf: it ... shouldn't09:53
Chipacabeowulf: where is it doing that?09:53
beowulfChipaca: so i think your branch is correct, and we need to change what exists09:53
Chipacai tried to make it return the right status except in the most dire case09:54
Chipacawell, 'most dire'; when the json encoder falled over09:54
Chipacai can also address that case if you're seeing it 'in real life' though09:54
Chipaca(and for PUT, am already doing so)09:54
beowulfChipaca: so, in my webdm docker will fail to install and has a nice error message, but the response is a 20009:55
beowulfChipaca: i can screenshare if that makes it easier, but you should see for yourself if you try lp:~stephen-stewart/webdm/json-responses09:56
Chipacalooking at the code, that doesn't make sense :)09:56
Chipacaunless something weird is going on09:56
Chipacaand that *never* happens, amirite09:56
beowulf:)09:56
beowulfChipaca: want to hangout and you can show me where i'm probably reading somethign wrong :)09:57
Chipacabeowulf: i'm in a coffee shop, so not sure if hangout will work, but can give it a try09:57
Chipacaoh wait, no camera and no mic unless i reboot09:57
Chipacabeowulf: screenshare should work though09:58
beowulfChipaca: bark twice for yes09:58
Chipacabeowulf: what's the 'nice error message'?09:59
Chipacabeowulf: try again! :)10:00
Chipacabeowulf: wasn't logged in to hangouts with my canonical account on my laptop10:01
Chipacajust on my phone, where i would not have been able to screenshare as much10:01
beowulfChipaca: https://plus.google.com/hangouts/_/canonical.com/chipaca-beowulf-to-the-death10:02
=== bigcat is now known as bigcat[off]
Chipacabeowulf: so, "accepted" is not, actually, an error10:04
beowulfChipaca: yep10:04
Chipacaahh10:04
beowulfbut that is10:04
Chipacayes10:05
beowulfChipaca: make sense?10:05
Chipacayes. this is not that.10:05
Chipacaok.10:05
Chipacariiiiight10:07
Chipacacmd/snappy/handlers needs the same treatment10:07
Chipacai think10:09
Chipacamaybe10:09
* Chipaca is not familiar enough with this code yet10:09
Chipacasergiusens: webprogress is closing errorchan from the receiving end (this is wrong)10:13
Chipacabeowulf: what's the url that you were GETting from the progress bar?10:17
Chipacabeowulf: how about now10:25
=== bigcat[off] is now known as bigcat
Chipacabeowulf: (that is: json-responses should now return a 5xx when install fails)10:26
Chipacasergiusens: you probably want to take another look at json-responses :)10:26
beowulfChipaca: /api/v2/packages/docker10:27
Chipacabeowulf: yep yep, figured it out in the end :)10:27
beowulfChipaca: looking10:28
Chipacabeowulf: merged trunk also, just for you10:28
davmor2ogra_: question how will snappy make use of the no rebooting kernels from 4.0?  I'm assuming it will be important for things like fridges that they don't turn off :)11:01
ogra_davmor2, heh, no idea yet, i guess we'll use the feature somehow11:05
Chipacamvo_: you around?11:19
mvo_Chipaca: yes, almost ready for lunch though11:19
Chipacamvo_: me too :011:19
Chipacamvo_: so, about /tmp11:19
mvo_Chipaca: what can I do for you?11:19
Chipacamvo_: completely private, or bound-mounted from /tmp/some/thing ?11:19
mvo_Chipaca: I think ideally completely private11:20
Chipacamvo_: advantage of the latter is that we can dig in the tmp if we need it11:20
mvo_Chipaca: hm, good point11:20
mvo_Chipaca: lets do that for now11:20
Chipacaok :)11:20
Chipacathis'll need changes on the snappy side as well, either way11:20
Chipacamaking it not bound is a trivial change, post hoc11:20
Chipacajdstrand: you around?11:24
Chipacajdstrand: https://code.launchpad.net/~chipaca/ubuntu-core-launcher/unshare/+merge/25836711:28
Chipacamvo_: ^ but needing jdstand's input wrt it not actually, you know, working :)11:28
Chipaca(it's probably the unshare syscall getting blocked)11:29
ChipacaMay  6 11:29:30 localhost kernel: [  838.228966] audit: type=1326 audit(1430911770.184:17): auid=1000 uid=1000 gid=1000 ses=4 pid=899 comm="ubuntu-core-lau" exe="/usr/bin/ubuntu-core-launcher" sig=31 arch=c000003e syscall=272 compat=0 ip=0x7f06ba6a68e7 code=0x011:30
Chipaca^ like so, see :)11:30
mvo_Chipaca: what does scmp_resolve_syscall 272 print for this syscall?  I guess unshare?11:30
mvo_Chipaca: do you do that before the seccomp is setup?11:30
Chipacamvo_: do i get a prize if it's "unshare"?11:31
mvo_Chipaca: ignore me, I should look at the code instead of asking silly questions11:31
Chipacabecause it's "unshare" :)11:31
mvo_Chipaca: push it before seccomp is setup :)11:31
Chipacamvo_: um. i should probably just11:31
Chipacayeah11:31
* Chipaca does that11:31
Chipacaa'ight! much better. Now getting an apparmor error :)11:51
sergiusens@reviewlist11:56
nothalhttps://code.launchpad.net/~chipaca/ubuntu-core-launcher/unshare/+merge/258367 | No reviews (less than a day old)11:56
nothalhttps://code.launchpad.net/~stephen-stewart/webdm/json-responses/+merge/258355 | No reviews (less than a day old)11:56
nothalhttps://code.launchpad.net/~chipaca/webdm/www-tests/+merge/258331 | No reviews (less than a day old)11:56
nothalhttps://code.launchpad.net/~chipaca/webdm/json-responses/+merge/258324 | Approve: 1 (less than a day old)11:57
nothalhttps://code.launchpad.net/~jamesodhunt/snappy/install.yaml/+merge/256925 | Needs Information: 1, Needs Fixing: 1 (14 days old)11:57
Chipacajdstrand: [Wed May  6 11:50:43 2015] audit: type=1400 audit(1430913044.380:15): apparmor="DENIED" operation="mount" info="failed mntpnt match" error=-13 profile="/usr/bin/ubuntu-core-launcher" name="/tmp/" pid=847 comm="ubuntu-core-lau" flags="rw, private"11:58
sergiusensbeowulf: can karma run with a test based browser?11:58
Chipacasergiusens: "test based"?11:58
Chipacasergiusens: text based?11:59
sergiusensChipaca: mvo_ watch out with unshare and  3.4 kernels11:59
beowulfChipaca: like lynx?11:59
sergiusensChipaca: text of course, glad to see you are paying attention :-)11:59
Chipacasergiusens: 1. find a text browser that does xmlhttprequest11:59
Chipacasergiusens: 2. there is no 2, you're still on 111:59
Chipacasergiusens: 3. stop lying11:59
beowulfsergiusens: do you want headless, like phantomjs11:59
beowulfor sort of headless, like casper(gecko)12:00
beowulfor...12:01
beowulfassuming you don't mean lynx12:01
Chipacabeowulf: sergiusens: phantomjs sounds like would obviate the need for xvfb12:01
beowulfChipaca: yes12:01
beowulfChipaca: casper still needs xvfb but is heading in that direction12:01
ogra_Chipaca, wget --header="X-Requested-With: XMLHttpRequest" -qO- $URL12:01
ogra_:P12:01
Chipacalel12:02
sergiusensbeowulf: btw, this one is waiting on your ack https://code.launchpad.net/~chipaca/webdm/json-responses/+merge/25832412:02
Chipacasergiusens: we've iterated on that one12:03
Chipacasergiusens: and i've added IsError to snapPkg12:03
Chipacasergiusens: you probably want to take a look12:03
beowulfsergiusens: Chipaca: i can ack, or i can push a friend for it so errors work and then ack12:03
beowulfbut i'm in meetings so it might be a while12:04
Chipacabeowulf: no hurry; we might want to tweak it some more anyway12:04
sergiusensbeowulf: oh, I like that IsError although not all of the errors are internalservererrors12:05
sergiusenserr Chipaca I mean ^12:05
Chipacasergiusens: i agree; also you probably want to expose errors from other places as well?12:06
Chipacanot sure tho :)12:06
* Chipaca does not know the codebase well enough yet12:06
Chipacasergiusens: IsError is the minimum for the problem beowulf pointed out (wrt not getting error codes when errors happened), but it's probably part of a bigger family that requires more expressiveness12:07
beowulfisError means 'tell the user about this {{ message }}'12:08
sergiusensChipaca: for an installation instance, this is the only place12:08
sergiusensChipaca: oh, so it needs to be json encoded according to beowulf12:08
Chipacanope nope12:08
Chipacabecause is error iff error status12:09
Chipacawrt "richer interface", maybe making it an int and setting the status from inside progress12:09
Chipacabut that's a little ... alabama-ish level of familiarity12:10
sergiusensChipaca: I don' know how to respond to that12:12
Chipacasergiusens: the part about setting an http status from inside webprogress being incestuous, or the part about error being univocal with an error http status?12:13
sergiusensChipaca: but wrt to installation, errors only come from there. If snappy install gave fine grained errors for everything we could start using internal status codes for easier debugging, but the text should be good enough for now12:13
sergiusensChipaca: about alabama12:13
Chipacasergiusens: i don't know how to move forwards with this either :-/12:16
sergiusensChipaca: I think it's fine for now12:17
Chipacasergiusens: \o/12:20
sergiusensmvo_: I'm not sure who I talked to yesterday, but I'd love to move to git but only if we have tarmac support12:22
mvo_sergiusens: aha, so tarmac does not do git right now?12:22
sergiusensmvo_: I also want to move to gb instead of go get/build as soon as it's a bit stable12:22
sergiusensmvo_: I am mostly sure it doesn't12:22
sergiusensmvo_: afaik it was designed to work on launchpad12:23
mvo_sergiusens: I guess we could just find dobey and ask :)12:26
beunoit was very much designed for bzr as well12:27
sergiusensmvo_: I just grepped the sources, no git12:27
Chipacabeuno: maybe you were thinking of svn :-p12:29
beunoew.12:30
Chipacabeuno: cvs then!12:31
* beuno mutes this channel for an hour12:31
mvo_sergiusens: meh, yeah, I just looked at the code and it looks like adding git is quite a bit of work :/12:31
* Chipaca didn't get to mention rcs12:31
sergiusensmvo_: yeah, we can probably branch (err clone) and get started with something that gets the job done12:32
sergiusensmvo_: using launchpad lib and some git primitives12:32
* Chipaca afk for a bit12:33
mvo_sergiusens: yeah, with a bit of luck its really just "class Branch" that needs a git equivalent12:34
mvo_hm, maybe not I see some more bzrlib imports12:36
sergiusensmvo_: it's full, not sure it's worth adapting tarmac to this, once we have webhooks we open the door for a better world :-)12:36
rsalvetiindeed12:38
rsalvetilooking forward for webhooks12:39
mvo_sergiusens: zyga voiced some interesst in this as well (tarmac & git) fwiw12:42
mvo_Chipaca: is the ubuntu-core-launcher still failing for you? if so, should I have a look?12:44
sergiusensChipaca: simple pimple for you https://code.launchpad.net/~sergiusens/webdm/sortResults/+merge/25837512:52
mvo_Chipaca: I am working on mknod support for snappy right now (so that we can support the ubuntu-core tarfile, I wonder if the new copyfile using sendfile needs a update for this as well? the "old" cp -a coped with that, but I guess the new one needs some update?13:05
mvo_sergiusens: I got questions about the rest interface, do we have anything like a draft already? I guess not but wnated to ask anyway13:08
sergiusensmvo_: no, only what was originally done for pure webdm13:09
sergiusensmvo_: which you reviewed a while back13:10
* mvo_ nods13:10
sergiusensmvo_: I was going to look at that tomorrow and Friday13:10
Chipacamvo_: the launcher is failing wiht apparmor error (as pasted to jdstrand above)13:12
Chipacamvo_: note CopyFile does not replace cp -a (it doesn't deal with symlinks either fwiw)13:14
Chipacamvo_: clickdeb/deb.go's tarCreate is doing its own thing (which handles symlinks)13:15
Chipacamvo_: and the data directory copy is still done with cp13:16
mvo_Chipaca: aha, excellent, thanks a bunch13:16
Chipacamvo_: we could make a CopyThing that handles arbitrary filesystem objects13:16
Chipacait would be quite fun actually13:16
Chipacabut we haven't13:16
Chipacawhen you see CopyFile , read CopyRegularFile if you will13:17
mvo_ta13:17
Chipacainfo.Mode()&os.ModeDevice) != 0 || (info.Mode()&os.ModeCharDevice) != 013:23
Chipacamvo_: info.Mode() & (os.ModeDevice | os.ModeCharDevice) != 0 ?13:23
=== dholbach_ is now known as dholbach
mvo_Chipaca: good point13:24
Chipacawhatever is more readable tho13:24
Chipacamvo_: want to include named pipes while you're at it?13:30
Chipacamvo_: that'd be a 'p' prefix, and os.ModeNamedPipe13:32
mvo_yeah, I guess we need to add them all step by step, can add them now (phonecall right now)13:33
Chipacamvo_: https://code.launchpad.net/~mvo/snappy/snappy-refactor-progress-pkgname/+merge/258373 could use a commit message13:33
sergiusensChipaca: I'll need to change webdm if that change comes through13:35
Chipacasergiusens: i know13:35
Chipacasergiusens: i can do it for you though :)13:35
sergiusensChipaca: I'm doing a small refactor to that part of webdm for package removal though ;-)13:36
Chipacasergiusens: perfect timing, then :D13:36
=== leandrosansilva_ is now known as leandrosansilva2
=== leandrosansilva_ is now known as leandrosansilva2
=== leandrosansilva2 is now known as joseeee
=== joseeee is now known as joseeeee
=== joseeeee is now known as leandrosansilva_
=== leandrosansilva_ is now known as leandrosansilva2
mvo_Chipaca: indeed, thanks, added that now :)13:53
dholbachif you want to join the snappy roundtable session at uos, join us in #ubuntu-uos-core13:58
dholbachand http://summit.ubuntu.com/uos-1505/meeting/22491/snappy-roundtable/ :)13:58
Chipacamvo_: did you push it?14:50
sergiusensChipaca: beowulf https://plus.google.com/hangouts/_/hoaevent/AP36tYfHZBi84WKZ-0wOaKVBAs8XrHT-vTYsPw9WeCO44hNSADN1ow14:51
mvo_Chipaca: ups, I meant the commit message, the other stuff I need to still do14:53
mvo_Chipaca: in the UOS session right now14:53
Chipacamvo_: and i guess you're heading into the next one14:56
mvo_Chipaca: yeah14:57
beowulfsergiusens: what what?14:57
sergiusensbeowulf: what what what?14:58
beowulfsergiusens: i followed the hangout link, but i was all alone :(14:58
sergiusensbeowulf: Chipaca arg, lolz, that was supposed to be an MP link!14:59
sergiusensbeowulf: Chipaca https://code.launchpad.net/~sergiusens/webdm/deletePackage/+merge/25839415:00
ogra_video editing for geeks ?15:00
sergiusensthere :-)15:00
ogra_"merge these two hangouts" :)15:00
Chipacahate, hate hate hate, diffing structs forced upon me by silly formatting and non-whitespace-ignoring bzr15:01
* Chipaca looks at the diff manually15:01
Chipacasergiusens: conflict :)15:04
sergiusensChipaca: you mean the alignment thing for members?15:04
sergiusensChipaca: conflict of what, interest?15:04
sergiusens:-P15:04
Chipacasergiusens: changes to the same struct (for vendor and description)15:04
beowulfsergiusens: uninstalling --> installed in status15:05
beowulfsergiusens: next GET is 'uninstalled'15:05
sergiusensbeowulf: hmmm, let me check that15:05
beowulfsergiusens: all other attributes are as 'uninstalled' (icon, download_size)15:06
beowulfbut the package status appears wrong until the next GET15:06
beowulfso, mostly success :)15:07
* beowulf makes note to remove uninstall progress bar15:08
sergiusensbeowulf: I think I fixed that, pushing15:08
sergiusensbeowulf: pushed15:09
sergiusensChipaca: I did a bzr merge lp:snappy and no conflicts15:10
sergiusensChipaca: vendor and description has landed already though, right?15:10
Chipacasergiusens: but you marked your branch as depending on json-responses15:10
beowulfsergiusens: wfm, +115:10
Chipacasergiusens: so maybe it conflicts against that :)15:11
sergiusensChipaca: yeah, I merged it into this, that's why (so the view is nicer)15:11
Chipacasergiusens: right, but then i changed it and you didn't remerge i guess15:11
sergiusensChipaca: as in, I might have done it the hard way, but I started out with bzr branch lp:webdm; bzr merge lp:json-responses; work; push15:12
sergiusensChipaca: I'll remerge15:12
Chipacasergiusens: ... i dunno, dude :)15:12
Chipacasergiusens: json-responses now landed; beowulf's json-responses coming up15:13
beowulfChipaca: ack, almost done, but another meeting coming up15:13
beowulfChipaca: ignore :)15:14
beowulfChipaca: i have a follow up to better handle error messaging in the ui, is what i meant15:15
sergiusensChipaca: fix merge conflict, which is just the struct spacing15:15
Chipacasrsly15:15
beowulfs/better handle/fix15:15
sergiusensChipaca: and pushed15:15
sergiusensChipaca: https://code.launchpad.net/~sergiusens/webdm/snappyUpdateDeps/+merge/258406 there15:55
sergiusensand beowulf ^ easy way to solve your go get misery ;-)15:56
Chipacasergiusens: http://bazaar.launchpad.net/~chipaca/webdm/filter-by-type/revision/119 ?15:58
Chipacasergiusens: +1'ed yours16:00
Chipacasergiusens: are there tests for allPackages, or should i just propose this as is?16:00
sergiusensChipaca: no, I failed to write tests that drive the handler; I need to do these asap16:02
* sergiusens adds missing :-/16:03
Chipacasergiusens: so, i should propose that as is?16:03
sergiusensChipaca: writing a test for this doesn't seem that hard, I can write some tests and propose against your MP16:04
sergiusensMP/branch16:04
Chipacayou write all those words, but all i'm reading is "YES!"16:05
Chipacahttps://code.launchpad.net/~chipaca/webdm/filter-by-type/+merge/25840816:05
Chipacamvo_: https://code.launchpad.net/~mvo/snappy/snappy-hashes-yaml-for-devices/+merge/258372 missing a commit messag16:07
Chipacamvo_: eam16:07
Chipacaaugh16:07
Chipacaeam: nothing, sorry16:08
eam:)16:08
* beowulf goes for food16:13
sergiusensbeowulf: how dare you!16:13
Chipacamvo_: needs-fixing'ed your branch16:21
* Chipaca apologises profusely16:21
looldoes someone have a recent apparmor template example for 15.04?16:24
loolunconfined is what I'm looking for; syntax from earlier doesn't work anymore16:24
loolcomplains about policy_groups16:24
sergiusensChipaca: are you going to add that phantomjs stuff to https://code.launchpad.net/~chipaca/webdm/www-tests/+merge/258331 ?16:57
mvo_Chipaca: needs-fixing is fine, thanks for the review (hope its not uber stupid what I did wrong)17:10
mvo_Chipaca: excellent review, I will look at this tomorrow, I was looking into gnu_dev_{major,minor} which uses long long as input but gnu_dev_makedev does indeed only take ints, I will fix :)17:13
sergiusensChipaca: btw, I now remember the namespace issue we created when removing the . for frameworks and oem packages and not saving that information anywhere https://code.launchpad.net/~chipaca/webdm/filter-by-type/+merge/25840817:33
sergiusensmvo_: we have no local searching, do we? or is activesnapbynames a lazy match?17:38
Chipacasergiusens: sounds like you want to use snappy.Dirname(part) as the Name of the snapPkg17:39
Chipacasergiusens: klopt dat?17:39
sergiusensChipaca: I might have missed snappy.Dirname or maybe haven't payed attention17:41
sergiusensChipaca: my problem is more related to remotes17:41
Chipacasergiusens: snappy.Dirname returns the name for frameworks and oems, and name+namespace otherwise17:41
Chipacasergiusens: it's the name of the directory above the version tree17:42
Chipacathing17:42
sergiusensChipaca: everything is still an app until we reupload everything17:42
beunowe could probably set it for you, if you super needed to17:42
beunobut it'd be better not to have that inconsistency17:43
sergiusensChipaca: so for uninstalled apps/frameworks I don't know how it will land on the system to keep the resource name the same17:43
Chipacasergiusens: if things magically change names between them being on the store and being installed, everything is terrible :)17:44
sergiusensChipaca: so just disable that for now is my summary to avoid hacks17:44
sergiusensChipaca: they do ;)17:44
Chipacasergiusens: that == the commented out bit?17:44
Chipacaex-commented out17:44
Chipacaex-commented out-to be17:44
Chipacashould now instead be ex-(ex-commented out-to be)-to be17:44
sergiusensChipaca: they do because we stripped out origin from installed fw and oem packages so we have to refer to packages in different ways17:45
sergiusensorigin == namespaces17:45
sergiusensthe inconsistencies in naming are getting crazy too17:46
Chipacayes, we need to address that17:46
Chipacapost-iot :)17:46
Chipacasergiusens: pushed17:47
sergiusensbeuno: well, the inconsistencies exist until everyone reuploads anyways17:55
Chipacamvo_: *unsigned* long long, even then, fwiw17:55
sergiusensChipaca: can we do a ho in a bit?18:40
Chipacasergiusens: yes18:59
beowulfChipaca: sergiusens: tough one for you two https://code.launchpad.net/~stephen-stewart/webdm/nice-favicon19:05
beowulfplus, https://code.launchpad.net/~stephen-stewart/webdm/json-error-responses/+merge/258402 and https://code.launchpad.net/~stephen-stewart/webdm/install-as-behaviour/+merge/25842419:05
Chipacabeowulf: will get to those in a few19:08
beowulfChipaca: no rush, i'm going to eod unless you need something from me19:08
beowulfChipaca: also, i can take care of adding phantomjs to the www-tests branch tomorrow if you'd like19:09
Chipacabeowulf: i'm lying in bed, eating a bit of ice cream and hoping i won't have to get up too many times to shaddup the boys. I could use somebody playing a guitar, but there's a segovia guy here who'll do19:10
sergiusensbeuno: can you force reparse all the store info so we get proper snap types?19:22
sergiusensbeowulf: there's a conflict in https://code.launchpad.net/~stephen-stewart/webdm/install-as-behaviour/+merge/25842419:25
beunosergiusens, not easily, no19:32
sergiusensbeuno: hmm; Chipaca, plan is dead19:43
* Chipaca takes out the war paint19:43
* beuno places a bulk order of thinner on amazon19:44
Chipacasergiusens: .more()19:44
sergiusensChipaca: I'll just implement it and then say it doesn't work because the store is returning the wrong result ;-)19:44
sergiusensthat would tickle some wounds :-P19:44
Chipacasergiusens: there ya go19:44
Chipacasergiusens: what's blocking this?19:45
sergiusensChipaca: knowing the types from the store, or the re parsing you mean?19:45
sergiusensI don't know what blocks the re parsing19:45
Chipacasergiusens: oh, wait, the plan is dead because no reparsing?19:46
sergiusensChipaca: yeah19:46
mwenninghi snappy guys, anyone know what happened to 'unconfined' in apparmor templates?20:33
mwenningwhen I try to use it I get :20:33
mwenninghttp://cdimage.ubuntu.com/ubuntu-snappy/15.04/edge/ubuntu-15.04-snappy-armhf-bbb.img.xz20:33
mwenningno, sorry20:34
mwenning - security_template_valid (meta/linerate.apparmor)20:34
mwenning(MANUAL REVIEW) 'unconfined' not allowed20:34
mwenningAny help would be appreciated..20:34
sergiusensChipaca: if still alive https://code.launchpad.net/~sergiusens/snappy/storeSnapType/+merge/25843723:27
sergiusenscouple more piled up too23:41

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