/srv/irclogs.ubuntu.com/2015/05/06/#ubuntu-quality.txt

AndChat|272729I know this isn't the support channel but when I boot into 15.04  it loads me into the grub command line thing03:32
AndChat|272729Sorry but for some reason my nickname changed from captonjamason03:32
=== AndChat|272729 is now known as captonjamason
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
elopio_brendand_: you can do it, but it doesn't look nice.14:24
elopio_it's something like Eventually(Equals(10)).match()14:24
elopio_you need to put somewhere the first argument, maybe it's inside the match? I can't get that syntax write without looking at the code.14:25
elopio_vila: so the webbrowser branch is ready to land, right?15:26
elopio_or do you want to iterate on it a little more?15:26
vilaelopio_: it should be ready15:30
elopio_oSoMoN: lets talk about https://code.launchpad.net/~canonical-platform-qa/webbrowser-app/autopkgtest/+merge/256858 when you have some time.15:31
oSoMoNelopio_, sure, but not now15:31
oSoMoNelopio_, please ping me again tomorrow15:31
elopio_oSoMoN: ack.15:31
elopio_rhuddie: is it ok if I join you on the card to investigate the install app failure?15:37
rhuddieelopio_, that would be excellent15:37
rhuddieelopio_, I just saw your note about same issue on krillin. it is easy to reproduce on emulator.15:38
elopio_I just saw it once on krillin, in like 30 runs. I have the emulator ready now.15:39
elopio_rhuddie: thanks for the document about setting it up. We should probably move that info to the wiki.15:39
rhuddieelopio_, it seems to be an issue with signon dialog process15:40
rhuddieelopio_, but at least we know that if you have seen the same issue on krillin, then it is not just some weird emulator problem15:41
elopio_rhuddie: well, if you have it every time on the emulator, then something there is worst.15:42
balloonselfy, knome re: xubuntu, lol, I noticed EVERYTHING that was new in 4.12. I didn't realize it was all brand new :-) http://www.xfce.org/about/tour16:57
elfyoh yea - all new and shiny :p17:03
=== om26er_ is now known as om26er
* bip Hello18:23
balloonshello bip18:27
balloonscome stai?18:27
bipHello balloons ;-) Tutto ok18:28
bipballoons: and you? How are you? :)18:29
balloonsbip, busy busy! it's UOS time, and we're going sessions at the moment18:30
bipballoons: UOS time? Whats is?18:30
balloonshere's the sessions today: http://summit.ubuntu.com/uos-1505/2015-05-06/18:30
bipballoons: its' wonderful18:31
bipballoons: where are you from?18:31
balloonsbip, the US; I'm in Florid18:33
balloons*Florida18:33
balloonsbip, anyways, UOS is Ubuntu Online Summit. It's an online conference and get together for everyone in the community to talk about ubuntu18:35
balloonswe're talking about lots of different things across several tracks..18:36
Letozaf_hey balloons when you got time I fixed mp: https://code.launchpad.net/~carla-sella/ubuntu-docviewer-app/test-toc/+merge/258082 I also left a reply on one of your comments19:02
balloonsLetozaf_, ahh, sure, let me have a look19:04
balloonsLetozaf_, some more thoughts. I'm confused about that while loop19:07
Letozaf_balloons, I will take a look thanks19:09
=== boiko_ is now known as boiko
balloonsLetozaf_, so why do you need that while loop?19:43
Letozaf_balloons, the first or the second or both ?19:44
balloonsLetozaf_, line 215; +            while (index <= list_items_count):19:44
Letozaf_balloons, I have to find the chapter in the TOC, so to find it I read all the items one by one19:45
Letozaf_balloons, and that list_items_count is the number of items in the TOC19:45
balloonsLetozaf_, but aren't you already stepping through the items inside the for loop?19:46
* Letozaf_ is recaping19:47
Letozaf_balloons, looks like I put it there initially for a purpose and now it's useless, I got the point19:48
balloonsLetozaf_, :-) Ok, just wanted to make sure I'm not crazy ,heh19:48
balloonshave to be careful with loops where you don't change the control variables19:49
Letozaf_balloons, nooo you're never crazy, maybe I could be lol19:49
Letozaf_balloons, yes you are right, think I got misled by something19:50
Letozaf_balloons, I fixed it, think I got misled inserting Stefano's suggestions into mine without checking well first19:55
balloonscool19:59
Letozaf_:)20:00
bipHello!21:32
elopio_veebers: can you please look here when you have some time? https://code.launchpad.net/~canonical-platform-qa/webbrowser-app/fix_base_class/+merge/256519/comments/64490822:19
elopio_the only way to keep it working for every individual tests is to add some unused imports.22:20
* veebers looks22:20
veeberselopio_: hmm, I wonder if the new (unreleased) autopilot fixes this. I'll take a look in a little bit and comment on the MP.22:22
elopio_veebers: I think not. The problem is that the Browser object is not in the registry.22:23
elopio_I think I can fix it by moving it from webbrowser_app.emulators to webbrowser_app. Every test needs to import the top name space.22:23
elopio_it's just a patch though.22:24
elopio_with the new autopilot we will be able to pass Browser as the base argument when launching, forcing the import. But that also feels wrong because it's not the base of the inheritance hierarchy.22:25
elopio_veebers: yes, it works puttin in the top namespace.22:31
elopio_maybe it's not so bad. Maybe the webbrowser_app namespace should declare __all__, and we put the app cpo in there.22:32
veeberselopio_: hmm, ok. I feel that there should be a better solution that doesn't put the work on the author22:50
elopio_veebers: I think it's good to tell the author to be explicit about what he wants. Here we have the problem that the registry is implicit and the author has no way to know what's getting in there.22:53
elopio_if we call the argument in launch something like: application_custom_proxy_object=WebbrowserApp, it's explicit and clear what we want.22:53
elopio_it makes the registry unnecessary too.22:54
veeberselopio_: I don't think it makes the registry unnecessary, but it does cleanup how authors get the right thing entered into it when they need.22:55
elopio_veebers: there's still the case where you launch the app from somewhere else.22:56
elopio_like when you open the browser from the launcher, the only way to get the right cpo is to do the unused import.22:56
veebershmmm22:56
veeberselopio_: so coming back to your first answer, that it's not in the reg. Is it that it's not in the registry at all or that it's not being applied to the proxy object bases?23:00
elopio_veebers: it's not in the registry at all. The single test is never hitting the definition of class WebbrowserApp.23:01
veebershmmm23:03
veeberselopio_: oh, FYI we've upgraded the warning in autopilot about the CPO not being base to an error23:13
veebersThis was after working with the addressbook tests23:13
elopio_veebers: I saw that. Works for me.23:15
veeberselopio_: what do you think of adding a function like 'register_application_cpo' that makes sure that it's in the registry23:19
veebersor perhaps a decorator for application CPO classes23:20
veebersThat's really more of a quickfix/bandaid as it doesn't change the behaviour really, but smooths it over a litle23:20
elopio_veebers: a decorator will still need somebody to import or instantiate that class.23:22
elopio_register_application_cpo sounds weird but explicit, so that's better in my opinion.23:22
elopio_I'm thinking of making a lauch class method in the application cpo class.23:22
elopio_if that's the recommended way of launching it, we will be sure that it is explicitly imported and the registry is an implementation detail the test won't care about.23:23
elopio_that would leave only the case for when the app is launched externally, which we could solve with something like register_application_cpo.23:24
elopio_this sounds like another topic to discuss during the sprint with the whole team.23:24
veeberselopio_: as long as we still have time for it on the sprint :-) I think we have _heaps_ to discuss (which is good, as long as we get through it).23:26
veeberselopio_:  the intention of the decorator would be to explicity put it in the registry23:26
veebers(much like what register_app_cpo would do23:27
elopio_veebers: but when is the decorator executed?23:27
elopio_when the class is instantiated?23:27
veeberselopio_: on a class? I'm not to sure, it was an idea that I hadn't thought through to implementation :L-)23:27
elopio_:)23:27

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