/srv/irclogs.ubuntu.com/2015/07/21/#snappy.txt

kirklandis there a public "view" of my app uploaded to the snappy store?00:56
kirklandI can see https://myapps.developer.ubuntu.com/dev/click-apps/3123/ but that looks to be private to me00:57
=== jkridner|work is now known as jkridner
=== chihchun_afk is now known as chihchun
=== c74d is now known as c74d3a4
=== c74d3a4 is now known as c74d
mvoogra_: good morning! there is https://code.launchpad.net/~mvo/snappy-hub/bbb-env/+merge/264975 right now but thats incomplete, right? would be awsome if you could point me to the steps that are missing. is it just adding "snappy-system.txt" to mkenvimage?06:14
=== tvoss|afk is now known as tvoss
fgimenezgood morning07:04
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
ogra_mvo, the input file shouldnt be called uEnv.txt, we want that file empty in the /boot dir ... (or alternatively fix snappy to not look for it but to check for uboot.env instead)07:43
ogra_i'll prepare an MP with the file content07:43
dholbachgood morning08:04
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
JamesTaitGood morning all; happy Viking 1 Landing Day! šŸ˜ƒ08:55
longsleepogra_: I was thinking about the saveenv a bit more and was wondering why you guys do not see fat corruption that way. Any idea?09:05
ogra_longsleep, different layer i guess09:06
ogra_the assigned size of the file on the fs is fixed, only the content inside changes, i guess that makes it behave different09:06
=== chihchun is now known as chihchun_afk
ogra_mvo, https://code.launchpad.net/~ogra/snappy-hub/bbb-new-binaries-and-env/+merge/26537509:21
mvoogra_: hm, thats long :) none of this is in the default env that uboot already generates? thats a bit disappointing of uboot :/09:25
ogra_mvo, thjats in the default env that is hardcoded into the uboot binar09:26
ogra_y09:26
ogra_which gets emptied automatically if uboot.env gets loaded09:26
mvoogra_: aha, that was my question, if it merges or overrides09:27
ogra_to keep it we need to carry over the whole of it09:27
mvoyeah, makes sense09:27
=== chihchun_afk is now known as chihchun
mvowould be great if we could document this for porters later how to ge tthe defaults that needs to be added09:27
ogra_thats my plan once we are finished09:27
mvoyay09:27
mvo:)09:28
ogra_i added the MP as item to the trello card09:28
longsleepogra_: ah yes that makes sense - the file size always stays the same09:28
ogra_(and commented on https://code.launchpad.net/~mvo/snappy-hub/bbb-env/+merge/264975)09:28
mvoso does that mean with that uboot.env a fresh system with your latest uboot will fully work with the uboot.env (and with my snappy branch)?09:28
mvoogra_: yeah, my branch is obsolete now09:29
ogra_mvo, thats what i tested here09:29
mvoogra_: \o/09:29
ogra_mvo, no, it isnt09:29
ogra_i left out the bits your branch has09:29
ogra_the README needs updating though :)09:29
mvoogra_: you tested and it all worked? thats fantastic news09:29
mvoogra_: haha, ok09:29
mvoogra_: I merge your stuff then :)09:29
ogra_mvo, last friday, yes09:29
ogra_with my own snap though (based off the beagleblack snap from the store) ... we'll still need an end to end test with a snap built fr4om the branch09:30
mvook09:32
ogra_(and with your chanes in place indeed)09:32
mvoogra_: did you managed to test if the fs corruption is fixed too?09:32
ogra_(without me cp'ing the snappy binary in place ;))09:32
ogra_i didnt have any corruption, but i would still like to see it in a real end to end test first09:33
ogra_(i switched back and forth twice when i tested, the prob is indeed that i manually hack the env to trigger that)09:35
longsleepthats what i also wanted to ask, how can i build an image which does change the stuff in uboot.env? Is there something in edge channel already?09:36
ogra_well, technically we dont support rollback on non beagle boards currently09:36
ogra_though i bet in 15.04 it might still work somehow09:37
longsleepogra_: rollback works fine for the odroidc with my image09:45
ogra_hah, good  :)09:45
longsleepand i would like to keep it that way with the upcoming changes :)09:45
ogra_well, snappy will refuse to update at some point ...09:46
ogra_in rolling ...09:46
longsleepi can easily trigger it from uboot shell now, the only thing missing is the stuff modifying the uboot.evn after successfull boot09:46
longsleepwhy would it refuse to update?09:46
ogra_because only fully supported boards are supposed to get updates09:47
ogra_(there were a few discussions on the ML about this ... in the RPi threads )09:47
longsleephow is it detected? I have the auto updater currently enabled and it worked fine when version 3 was released09:48
ogra_(that doesnt stop you from doing any uboot shell hackery, but the automatism wil likely refuse to work at some point)09:48
ogra_yes, as i said, in 15.04 that still works09:49
longsleepwell - thats why i am here to fix things and make it working09:49
ogra_i assume what is supported will be considered by the store ... technically only the bits from plain mainline are under active support currently ... which limits us to the BBB on arm09:50
Chipacarsalveti: ping about the difference between "snappy service status" and "snappy service list"09:52
longsleepyes that is fine with me - i can even run my own system-image server if required. I want to provide a stable upgrade path to anyone trying my images.09:52
ogra_well, system-image will go away09:53
ogra_everything will become a snap09:53
longsleepright - i might to want to run my own source for snaps then. I already have the odroid oem snap in the store. If that is the way thats fine too.09:54
chihchunis rootfs of snappy ubuntu core built with this seed ? https://code.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ubuntu-core.wily ?09:58
chihchunbafu: hi09:59
bafuchihchun, hi10:01
ogra_chihchun, from the system-imae file in there10:02
ogra_*image10:02
chihchunogra_: thanks10:03
chihchunogra_: for the device tarball, I assume it's built by CI system. But I could not find the source code or build script ?10:11
ogra_no, it is built by cdimage during the rootfs build10:11
ogra_which is done by live-build ... the configs and scripts used by live-build live in the livecd-rootfs package10:12
chihchunogra_: got it, thanks10:12
chihchundid not aware the config of live-build also included10:13
ogra_well, we abuse the chroot from it after the rootfs has been produced to actually roll the device tarball10:14
ogra_so you have all in one central place10:14
ogra_mvo, hmm ...10:41
ogra_mvo, i wonder how/where we can ship mkenvimage in the snappy-hub tree10:42
mvoogra_: hm, hm, its part of u-boot-tools, could we just depend on that?10:44
ogra_the uboot-tools one might be older or use different defaults10:44
ogra_since we require the uboot binary to be built by hand anyway we should use the mkenvimage from the same build imho10:45
ogra_i have a proper binary here, i just dont know where to put it10:46
ogra_mvo, http://people.canonical.com/~ogra/snappy/bootloader/ has a snap created from the tree now11:20
ogra_(boots fine here )11:20
ogra_"Firefox prevented the execution of Adobe Flash for github.com, do you want to keep it blocked" ....11:59
ogra_WTF11:59
ogra_where does github use flash !11:59
tbrIIRC in the repository url widget and somewhere else12:02
ogra_gross12:05
mvoogra_: nice, let try it too12:06
kyrofaseb128, quick status update: the snappy scope is in the NEW queue awaiting review12:06
seb128kyrofa, hey, great, let me have a look12:07
ogra_kyrofa, was that a subtle way of asking seb128 to review it ?12:07
ogra_:)12:07
longsleepFlash is used in all kind of places as it is the only way to put something into clipboard with javascript.12:07
kyrofaogra_, maaaaaaaybe12:07
ogra_:D12:07
ogra_longsleep, well, github was one of the pages where i wouldnt have expected it12:07
tbrogra_: just as I remembered, it's some sort of clipboard bridge flash abomination, probably due to the native browser restrictions on pushing things to clipboard12:07
ogra_yeah12:08
longsleepogra_: they have the copy to clipboard button for clone urls12:08
ogra_because selecting an url and hitting ctrl-c is so hard :P12:08
ogra_but yeah, understood :)12:09
* tbr uses a different paste buffer anyway, so selects the url manually in the field and then middle-click pastes12:09
ogra_same here12:09
ogra_but even here ctrl-c works :)12:10
ogra_and i kind of would expect people that use git to know how to copy/paste something12:10
ogra_(or is that knowledge limited to us bzr users ? (muhahaha))12:10
=== erkules_ is now known as erkules
=== chihchun is now known as chihchun_afk
ogra_mvo, did it work for you ?12:37
mvoogra_: haven't checked yet, the BBB is busy with some squashfs releated work12:38
ogra_ah12:38
ogra_well, i think we should soon start to produce an image to start testing12:38
longsleepi would be interested in that as well :)12:39
mvoogra_: good point, I will try to hurry here (hurry and BBB is a bit of a contradiction though)12:39
ogra_haha, yeah12:39
ogra_we should have picked the parallella board as default :)12:40
kyrofaogra_, ahh, the parallella12:41
ogra_shiny little fast thing :)12:41
ogra_(the odroid is nearly as fast though)12:41
longsleepyou can test my snap :P https://www.stdin.xyz/downloads/people/longsleep/tmp/odroidc-bootloader/12:42
ogra_i have a bit of an SD card shortage atm ... but will try it at one point12:42
longsleepso - now that i have a snap the only thing i need now is a ubuntu-device-flash which builds an image using uboot.env :)12:44
kyrofaogra_, speaking of SD cards, how hard is it to get u-boot to boot to a USB HD instead of the SD?12:44
ogra_kyrofa, that depends completely on the ROM12:44
ogra_some boards can do that ... but it is realyl rare12:44
ogra_(the pandaboard was capable of booting via USB if you gave it a uboot binary via netboot or usb cable iirc)12:45
longsleepodroidc u-boot does not support booting from USB12:45
kyrofaogra_, that's too bad. My main personal web server is a mirabox (one of those plug computers), and that thing toasts through an SD card a year or so12:46
ogra_well, if you have an MMC inside where you could put the /boot partition on to carry bootloader, kernel and initrd, booting off USB key is possible12:47
ogra_but you need these bits in place on SD or MMC12:47
kyrofaogra_, hmm, interesting. And that stuff could be read-only, yeah? I may ask your advice on that later :)12:48
ogra_well, if you use snappy it cant be read only because snappy needs to be able to modify the bootloader config12:48
ogra_but if you stick to one image and dont upgrade you could keep it readonly indeed12:49
ogra_the good thing is that we mount everything by label ... so you can just use a normal snappy img and dd it to your usb key and it will work12:49
ogra_(you could do that only with the writable partition btw, since that is the only one that actually counts on snappy ... i.e. remove the label from the writable lartition on the SD, format the USB key and copy the former writable partition contents over ... then add a label to the usb key and it should work)12:51
* ogra_ is plannning to do that for a owncloud install here ... 12:51
kyrofaogra_, heh, that's currently one of the usages for my current server12:52
kyrofaogra_, good ideas, thank you :)12:52
mterrysergiusens, could you install python3-fixtures to the snapcraft tarmac instance?12:53
=== chihchun_afk is now known as chihchun
rsalvetifgimenez: replying back your question from yesterday, just report to snappy itself (about the writable-paths)12:57
kyrofasergiusens, we talked briefly last week about making webdm available in the Ubuntu Personal channel. Is that still something you plan on doing?12:59
fgimenezrsalveti, ok thx, will do12:59
longsleepbtw, anyone has written a tool to enlarge the writeable partition to fill the whole storage device?13:07
longsleepi mean i can easily use a script for my particular device but i would like to see a generic solution for this in snappy.13:08
=== alexabreu is now known as alex-abreu
ogra_longsleep, we have scripts for the initrd to do that ... just not ported over to snappy13:13
longsleepogra_: is this planned? I know cloud-init can do it - do you mean these scripts?13:13
ogra_no, initrd scripts that do it before the first mount13:14
longsleepok - that was what i have to do myself unless snappy gets it by default :)13:14
longsleepi mean i have plenty of stuff to be done on first boot13:15
longsleeplike waiting for entropy, generate keys, dhparams etc ..13:15
ogra_not from the initrd i hope :)13:16
longsleepyeah - from the initrd it should only be the resize13:17
longsleepthough i do consider waiting for entropy in initrd as well13:17
* rsalveti finally get to read backlog13:37
=== chihchun is now known as chihchun_afk
rsalvetiChipaca: better to ask mvo, he is the one that added the entries to the checklist13:43
Chipacafair :)13:44
rsalvetilongsleep: https://trello.com/c/EdWkd2UW/181-use-cloud-init-to-extend-resize-the-writable-partition-during-first-boot13:45
rsalvetilongsleep: that's in the list, patches are welcome if you want to give it a try13:45
longsleeprsalveti: my problem is that i do not like cloud-init very much :)13:46
rsalvetihard to find one that really likes it :-)13:46
* ogra_ is with longsleep :)13:46
longsleephehe13:46
longsleepwell - i have some gear to do it without cloud init for non snappy ubuntu13:46
rsalvetiwe don't yet know if it's better to do in the initrd or cloud-init13:47
rsalvetithe good with thing with cloud-init is that we don't need to add extra logic in the initrd itself13:47
rsalvetibut that's the main difference13:47
ogra_but get multi hour boot times :P13:48
ogra_and python on the image13:48
rsalvetiwell, cloud-init is already there13:48
longsleepcloud init is so bloated - i would like it to go away :)13:48
rsalvetithe new cloud-init should probably be in go13:48
rsalvetibut further down the line13:48
longsleepyeah - i can see that. Though cloud-init is the only thing which stopped me to implement something so far13:49
longsleepand for me, that is just one problem. I need means to run (and optionally block) for other things on boot as well13:50
longsleepfirst boot - i mean13:50
rsalvetiyeah, it's not ideal13:51
longsleepin non snappy i just have a upstart service with run-parts a directory and writing a marker when complete. That way i can easily spawn multiple stuff, wait on it and make sure it is only done once.13:51
longsleepfor example on the ODROIDC generating 2048 bit dhparams takes over 10 minutes13:52
longsleepand the question is what services are allowed to start until that is complete13:53
longsleepassuming a default params file is shipped or something13:53
longsleepanother thing is the system time13:53
longsleepwhen generating certificates on first boot, it is bad if the time is 1970 :)13:53
ogra_longsleep, that means you have not enabled fixrtc on the cmdline then13:54
longsleepi have - but i have no clue what it does13:54
longsleepif it does not happen with snappy thats fine13:54
longsleepjust an example from other devices13:54
ogra_well, seems it doesnt work then ... it forces the clock to the last mount time or the creation time of your partition13:55
ogra_(whatever is newer)13:55
longsleepthat is reasonable13:55
ogra_so while the clock will still be off, the diff wont be that massive13:55
longsleepyeah that should be fine.13:55
mvoChipaca: what was the question again? sorry can't see it in the backlog13:55
Chipacamvo: there wasn't a question in the backlog; just a note to ask a quesiton13:56
mvoheh, ok13:56
Chipacamvo: what's the difference between "snappy service list" and "snappy service status"?13:56
mvoChipaca: I was thinking that list would simply list the available ones and status gives details for a specific one, but that was shooting from the hip, so feel free to override/refine/improve :)13:57
Chipacamvo: ok, i'll implement status and then we see if we need list13:57
mvosounds good13:58
longsleeprsalveti, ogra_ : Well i just tried the stuff cloud-init is doing - seems all the gear is there (growpart, resize2fs).14:14
ogra_sure14:14
rsalvetilongsleep: yeah, might be a config change only14:15
longsleepthe config says something about sfdisk missing which is true but it does not seem to be required. I just ran growpart and then resize2fs. Growpart showed some warning about sfdisk but did the trick just fine. Did not even have to reboot.14:16
longsleepso this could be a 3 liner script instead of cloud-init. Find disk device and partition number for writable label. Run gropwart on that partition, on success run resize2fs14:17
rsalvetiyup14:20
longsleeprsalveti: In your trello extend/resize task there is a reference to "recovery" what is this "recovery" ?14:20
rsalvetilongsleep: we had an idea to investigate on having a recovery (similar to what we have for phones), but for snappy14:21
longsleeprsalveti: oh all right - but that does not exist yet?14:22
rsalvetithe recovery could help restoring the image to factory, help sideloading apps and doing extra logic14:22
rsalvetilongsleep: nops, just an idea atm14:22
longsleepok14:22
dholbachmvo, mterry: thanks a bunch!14:33
elopiozyga: have you tried to measure the code covered by plainbox?14:37
zygaelopio: hey14:39
zygaelopio: code coverage of plainbox itself?14:39
zygaelopio: yes14:39
zygaelopio: cli parts are poorly covered, most of the core is covered well14:40
zygaelopio: though a few of the new features may have lowered the scoer a little14:40
zygaelopio: there's a script in trunk to run all tests with coverage14:40
tedgmvo, So I think I might be caught up in the conflict between the copy plugin and trunk. Are you merging that?14:40
elopiozyga: not plainbox itself. The code that the plainbox tests are covering.14:41
elopiolike in snapcraft, call plainbox from python3-coverage or something like that.14:41
mvotedg: I can fix merge conflicts, sure, one sec14:41
tedgGreat, thank you!14:41
zygaelopio: ah14:41
zygaelopio: no, that's hard to do in general14:42
zygaelopio: though, if we specialize14:42
zygaelopio: then it's quite possible14:42
zygaelopio: I wrote a bit of an interesting proof of concept a while ago14:42
zygaelopio: you can run a test with that, it will show you what was executed per test case14:42
zygaelopio: it was specialized to python obviously14:42
zygaelopio: (our code tends to be split between python, shell and C so we did not pursue that but for python-specific projects we could)14:43
zygaelopio: if you have ideas how you'd like to make it better to run unit tests via plainbox I'm all ears14:43
elopiozyga: we only need python here. Do you have a link?14:43
zygaelopio: I'll be adding benchmark support next week14:43
zygaelopio: it wasn't specific for plainbox but sure, let me find it14:43
zygaelopio: though the benchmarks I'm after are like "this test compiles the linux 3.14 kernel"14:45
zygaelopio: :-)14:45
* zyga looks at his +junk branches14:46
zygait's somewhere there :D14:46
elopiozyga: for snapcraft seems to be a good fit. I'd like nicer regex matching, but we can add that.14:47
zygaelopio: one thing that's possible (not sure if useful yet)14:47
zygaelopio: is write a local job that looks at your python code to see what tests exist (just to discover them)14:47
zygaelopio: and then let you run each single test directly via plainbox (each test would become a new job)14:48
zygaelopio: local jobs are like test generators, they can run any code and can print additional test definitions)14:48
* zyga goes through his old code...14:57
kyrofatedg, the click scope launches click apps and scopes via UAL, right?14:57
tedgkyrofa, Basically, it sends URLs to the dash when sends them to URL dispatcher which uses UAL.14:59
zygafound it :)14:59
kyrofatedg, alright. Do you envision the same happening for snaps?14:59
zygawhee14:59
tedgkyrofa, Yeah, I do.14:59
tedgkyrofa, Should just be appid:// URLs14:59
kyrofatedg, should something like that work currently?15:00
tedgkyrofa, No, there's no way to define an application in a snap today.15:00
mvoogra_: http://paste.ubuntu.com/11914911/ <- this looks good, right?15:00
ogra_mvo, "reading uboot.env"15:00
tedgkyrofa, Only binaries and services, it needs to grow a bit of functionality before applications can exist.15:00
ogra_mvo, so it does :)15:00
kyrofatedg, alright, interesting. What needs to grow beyond having a binary and some sort of .desktop (or yaml, whatever) file with install hooks?15:02
mvoogra_: yay!15:03
tedgkyrofa, Well, it is more fundamental than that. There's no such thing as a way to provide install hooks or anything like that.15:03
tedgkyrofa, So once a system is defined for that, it can be used to provide application information.15:03
tedgkyrofa, Then we'll have appids.15:03
zygaelopio: one sec, just adding boilderplate and fixing this to work on python315:04
zygaelopio: (it's pretty old)15:04
kyrofatedg, okay, I gotcha15:04
mvoChipaca: will you be able to do a bit of code review for the new uboot env snappy code today?15:05
kyrofatedg, do you have any idea of a timeline for those features?15:06
Chipacamvo: sure15:06
mvoChipaca: https://code.launchpad.net/~mvo/snappy/snappy-snappy-bootsuccess-env2/+merge/265259 and the new uboot-go env code (which is relatively small). happy to talk about deails15:08
tedgkyrofa, I don't know of anyone working on it currently.15:10
tedgkyrofa, I proposed a spec, but it hasn't passed through the system yet.15:10
tedgkyrofa, It also needs more work if the basics do get approved there.15:10
kyrofatedg, alright. Just curious from an Ubuntu Personal perspective15:11
mvotedg: hm, I don't see a conflict in snapcraft between copy-plugin and trunk(?)15:11
=== Abhishek___ is now known as Abhishek__
kyrofatedg, in the same vein, will UAL handle legacy app launches?15:11
tedgmvo, I've got the copy tests failing, could have been my merge, but I saw this comment from mterry: https://code.launchpad.net/~mvo/snapcraft/copy-plugin/+merge/264706/comments/66584615:12
tedgkyrofa, I understand, not sure what you mean by "legacy" in this context.15:12
kyrofatedg, libertine15:12
tedgkyrofa, libertine or /usr/share15:12
tedgkyrofa, Yes, there's a branch for that, needs review.15:13
zygaelopio: almost done15:13
elopiozyga: no hurries.15:13
kyrofatedg, awesome! Okay, thanks for the update :)15:13
Chipacamvo: i think you need to update depedencies.tsv15:14
mterrytedg, the tests in the copy-plugin branch failing you mean?15:15
zygaelopio: python3 support for the example and I'm done15:20
tedgmterry, Yeah15:23
mvo_Chipaca: feedback on uboot-go would also be great, it has no review yet and api review etc15:23
Chipacasure15:23
mvo_\o/15:23
kyrofatedg, the spec you proposed, is it the extension points document?15:37
tedgkyrofa, Yes15:38
Chipacamvo_: how do i review the one in github?15:39
* Chipaca has a low github score15:39
tedgkyrofa, Idea being that person could provide extension points for applications (devs don't need them as much) and then apps could connect into those points.15:39
mvo_Chipaca: just clone and yell at me via mail or irc15:39
mvo_Chipaca: or file issues, but I think thats more overhead15:40
* Chipaca engages yelling mode15:40
Chipacamvo_: so, silly things first15:41
Chipacamvo_: https://github.com/mvo5/uboot-go/blob/master/uenv/uboot.go~15:41
* mvo_ drops dead15:41
mvo_thanks Chipaca15:41
Chipacamvo_: next, in https://github.com/mvo5/uboot-go/blob/master/uenv/env.go15:42
Chipacamvo_: you don't check the writes15:43
Chipacamvo_: what's the reasoning there?15:43
Chipacamvo_: not so worried about the writes to the bytes buffer, but the writes to the actual file probably need checking15:43
mvo_Chipaca: absolutely15:43
Chipacamvo_: that's in Save fwiw15:44
ogra_pfft, that sounds like we even test code ... "checking" hah15:44
Chipacamvo_: and you don't Sync the file15:44
mvo_Chipaca: yes!15:44
ogra_Chipaca, we mount with sync option15:44
ogra_(while more elegant it shouldnt be needed to do any extra sync call)15:45
mvo_I will still add the f.Sync()15:45
Chipacaogra_: great! that means the Sync will be instant15:45
Chipaca:)15:45
ogra_yeah15:45
mvo_Chipaca: thats great great feedback, keep it coming15:45
Chipacamvo_: you also don't do the atomic rename dance15:45
ogra_technically not needed ... for code sexiness it is though :)15:45
Chipacamvo_: not sure if that's important in this case15:45
Chipacaogra_: ideally we could stop using sync, and reap perf gainz :-p15:46
Chipacaanyway15:46
ogra_on /boot ?15:46
ogra_:)15:46
Chipacamvo_: in Import, why don't you return scanner.Err() instead of only returning it if it's not nil, and returning nil otherwise?15:46
zygaelopio: ok, done https://git.launchpad.net/testtrace/tree/demo.py15:46
Chipacaogra_: maybe in arm we don't copy kernels and initrds around between a/ and b/ ?15:46
Chipacaogra_: i thought we did15:46
Chipacaogra_: and sync makes that slow15:47
zygaelopio: not much but I did clean it up a little15:47
ogra_Chipaca, ah15:47
ogra_i didnt think of that15:47
mvo_Chipaca: yes!15:47
Chipacamvo_: and starting to get really nit-picky with this file: in ā€œSet sets an environment name to the given valueā€15:48
Chipacamvo_: you could write ā€œSet an environment name to the given valueā€15:48
Chipacamvo_: ditto ā€œGet returns the value of the environment variableā€ -> ā€œGet the value of the environment variableā€15:49
mvo_Chipaca: I guess its a good sign that we are at this level already15:49
mvo_:P15:49
zygaelopio: have a look and tell me if it's of any use to you15:49
Chipacaeither that, or my head works via BFS15:49
mvo_heh15:49
* mvo_ starts fixing15:49
elopiozyga: looking. Also looking at the python3-coverage approach, that doesn't require a TestCase.15:50
zygaelopio: they are based on the same logic15:50
zygaelopio: I mean, the same low-level feature15:50
zygaelopio: this is tied to a test case so that one can easily get data that is per-test-case15:50
zygaelopio: though this is just an old proof-of-concept, dusted and packaged15:51
elopiozyga: it's useful, thanks.15:51
elopiowhat's not clear for me is why python3-coverage needs to run a python file. Seems the same to me who starts the run. But I'll dig more, slowly through the week.15:52
zygaelopio: because it sets up that low level trace call this way15:53
=== soee_ is now known as soee
Chipacamvo_: that's all i have for now :)15:57
mvo_Chipaca: I pushed a updated version, let me know if there is anything I overlooked or if my comment on e.g. write-rename make sense16:00
Chipacamvo_: there is one thing in run-checks, but we have the same issue16:01
Chipacamvo_: we should probably quote the lint output16:01
elopiowow, this works.16:01
mvo_Chipaca: indeed, let me fix that16:02
elopiomterry: zyga: if we replace all the calls to snapcraft to something like "python3-coverage run --append --source snapcraft bin/snapcraft", we would be able to collect the coverage.16:02
elopioeasiest solution that comes to mind.16:03
mvo_nice!16:03
Chipacamvo_: difference being http://pastebin.ubuntu.com/11915213/16:03
mvo_Chipaca: fixed, I may cowboy it into lp:snappy16:04
Chipacamvo_: haven't looked at the gofmt output, but it might need the same kindness16:04
mvo_Chipaca: indeed so, updated that too now16:06
mvo_Chipaca: I can prepare a branch for snappy now too, unless you want to do that (don't want to steal your credits :)16:07
Chipacamvo_: s/rational/rationale/; s/FAt/FAT/; s/we not truncate/$english/; and \o/16:08
* ogra_ prefers FAT free ... 16:09
mvo_Chipaca: pfff, whats wrong with "we not truncate" :P16:09
mvo_Chipaca: fixing !16:09
Chipacamvo_: i no idea16:10
Chipacamvo_: but it wrong16:10
Chipacamvo_: as if something missing16:10
mvo_Chipaca: :-D pushed another fix16:10
* mvo_ hugs Chipaca for his patience16:11
FergusLanyone tried Snappy on OrangePi boards ?16:11
ogra_FergusL, a few people i would think16:11
ogra_(or is OrangePi different from OrangeBox) ?16:11
Chipacamvo_: wrt snappy branch, i don't mind either way :)16:12
mvo_Chipaca: then you do it and I get dinner ;)16:12
Chipacaogra_: http://www.orangepi.org/16:12
ogra_oh16:12
mvo_Chipaca: and I will come back later and fix all the issues in the -env2 branch and prepare the backport after that - deal?16:12
ogra_WOW !16:12
ogra_sata and GigE16:13
ogra_FergusL, then i was wrong ... :) i mixed it up16:13
longsleepyeah, but crappy allwinner cpu16:13
ogra_well, you cant have everything16:14
Chipacaand it has an upgrade key!16:14
Chipacamvo_: deal16:14
fgimeneznice evening everyone o/16:17
FergusLI have OrangePi 2 with H3 (quad 1.6GHz A7)16:20
Chipacamvo_: only thing I see in -env2 is that we don't have a packaged golang-uboot-yadda16:23
mvo_Chipaca: indeed, please add this as a review comment (if you haven't already). I will either package or just pull it into snappy, but it feels like its really a standalone thing16:25
* Chipaca nods16:25
Chipacamterry: any reason not to approve the copy plugin?16:42
Chipacaah, the last changes after your comments are fairly new16:43
longsleepAnyone who is interested in a simple generic Snappy writable resize to max script - grab it here: https://github.com/longsleep/snappy-odroidc/blob/master/scripts/resize-snappy-writable.sh16:50
mterryChipaca, also all my previous review comments haven't been addressed yet17:07
mterryChipaca, that is one thing I don't like about inline comments.  They get "lost" when someone does any update at all17:08
=== howefield_afk is now known as howefield
tedgmterry, Do I have the wrong version of something? manage.py: error: unrecognized arguments: -d /tmp/tmp.5BfenzNjeb18:08
mterrytedg, README.md should have the right PPA to install to get the correct plainbox version18:08
mterrytedg, also, not on wily?!  :)18:08
tedgmterry, Ha, yeah. Can't wait for libertine container to work :-)18:09
mterrytedg, libertine?18:10
tedgmterry, The system that's being developed to run a "standard Ubuntu" on a read only filesystem.18:10
tedgmterry, Runs as a container, but then exports the apps to the launcher, etc.18:10
mterryah interesting18:10
kyrofarsalveti, we're investigating i18n in the snappy scope. Do you know if webdm supports that at all?18:11
tedgThe nice part is that you can have real apps on multiple containers then. So it'll be easier to keep a wily version of things around.18:11
mterrymvo_, can snap binary exec: lines be multi-word like service start/stop lines can be?  I'm guessing so18:38
mvo_mterry: yes, that should work18:39
mterrymvo_, cool18:39
kyrofaHey bregma, did you ever try running Ubuntu Personal on the rpi2?18:54
bregmakyrofa, Ubuntu Personal no, because there is missing support for Mir (or Mir is missing support)18:55
bregmaor both18:55
kyrofabregma, heh, okay gotcha18:55
kyrofaogra_, were you ever able to get i2c + devicetree working on the rpi image?18:57
ogra_kyrofa, not yet, thats in the works for the next (delayed) stable image18:58
ogra_working on fixing the image itself before going back to the rpi18:59
kyrofaogra_, alright, sounds good19:00
ogra_i'll send a mail announcement once the image is ready19:00
ogra_we're just re-working a critical part for the default image that takes my attention atm19:00
tedgmterry, So I think that focused assemble is confusing the copy plugin and breaking it's test.19:53
tedgits'19:54
tedgmterry, Do you have a second to take a look at that?19:54
tedgmterry, I think that it shouldn't be in the build step anymore, no?19:55
mterrytedg, yeah... the integrated test for copy should do 'snapcraft stage' instead of 'snapcraft snap' since it doesn't provide the metadata that 'snapcraft snap' now demands19:56
mterrytedg, and should test ./stage/dst instead of ./snap/dst19:56
tedgAh, okay.19:56
tedgmterry, Cool, works, thanks!19:57
mterrytedg, sweet19:57
kyrofaogra_, without i2c, does that mean GPIO works OOTB?20:00
kyrofaogra_, on the rpi220:00
=== chihchun_afk is now known as chihchun

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