=== urulama_ is now known as urulama [07:12] mornin' all [07:12] morning [07:16] morning [07:20] urulama, huwshimi: hiya === rogpeppe1 is now known as rogpeppe === rogpeppe1 is now known as rogpeppe [08:57] frankban: yo! [08:58] morning rogpeppe [08:58] frankban: you up for continuing forward with the store stuff? [09:00] rogpeppe: sure, coffee and I am ready [09:00] frankban: cool [09:10] rogpeppe: I am in daily standup [09:10] frankban: joining [09:40] urulama: could you please take a look at https://github.com/juju/charmstore/pull/12 ? [09:40] urulama: (and morning ;-) [09:42] frankban: morning [09:47] frankban: looks fine, only small detail ... you use CharmArchive sometimes instead of Archive (all the rest cases) ... any particular reason for this? [09:49] frankban: (ie, branch_test.go, line 83) [09:50] urulama: we (will) also have BundleArchives [09:50] frankban: all clear === nottrobin_ is now known as nottrobin [12:36] mornin [12:40] morning [13:04] jujugui: anyone else having problems with the login window after getting 1.20.0 core in the update? can't enter password for user-admin on any browser (firefox, chrome, safari) [13:05] urulama: trying to reproduce [13:05] jujugui: whatever is typed is lost within a few sec (self erased) [13:10] urulama: I am able to log in into the GUI in a local env [13:11] frankban: ok, tnx. using manual here, switching to amazon now [13:14] hi frankban [13:15] bac: morning, how are you doing? [13:16] frankban: good, thanks. on friday, doing QA for quickstart i ran into bug 1316174 and suspended the release. can't recall if i mentioned it or not. [13:16] <_mup_> Bug #1316174: 'precise-updates/cloud-tools' is invalid for APT::Default-Release [13:16] frankban: it isn't a QS issue but i didn't want to do a friday release with an issue [13:17] bac: isn't it something also affecting current release? [13:17] frankban: yes it does [13:17] bac: so, a new release would keep failing on precise but at least would fix trusty IIUC [13:18] frankban: yes, it would be an improvement [13:18] bac: in this case I'd be +1 on releasing anyway. [13:18] frankban: qa on trusty was fine [13:19] frankban: ok, unfortunately i am not here today. [13:19] bac: oh, I can do that then, so missing bits are 1) QA on saucy 2) move the packages to juju stable PPA and 3) push the release to PyPI, correct? [13:20] frankban: and the homebrew bits [13:23] bac: ok, I see the hacking file includes brew documentation. I'll take care of the release, thanks a lot for the heads up while on holiday. [13:23] frankban: np [13:37] frankban: ready to continue whenever you are [13:39] rogpeppe: joining [13:54] frankban: seems like local, amazon & openstack env work properly, while manual has the issue with the login in juju-gui [13:54] frankban: will test on some other machine, to see if i get the same error in manual env [13:56] urulama: ok, let me know if you see the same [14:28] morning all [14:41] morning hatch [14:41] frankban I've gone through about 4 more versions of the 'runWhenCalled' testing implementation heh [14:41] and still need to do one more :) [14:42] hatch: after that, 3 more and I'd expect it to be just perfect [14:44] haha - well I need it to finish these tests so those iterations better come quick :) [14:45] the last iteration didn't work because it was hard to follow for many steps through the UI https://gist.github.com/hatched/087d9e30e3eb92a46657 see I added // #'s to illustrate that [14:45] the current one does away with all that so you can write them synchronously [14:46] except for the initial async call has to be called last....which I don't like [14:47] frankban maybe you have a better idea https://gist.github.com/hatched/42e60957927b7caddd8b#file-test-js-L14 [14:48] that's the current functionality [14:49] I like how it's written synchronously but it's the initial 'trigger' that has to be put at the end which is a little funky - I was considering adding a `runner.step()` method which would parse the steps first then run a `runner.start()` but that's adding even more code to the test runner which I was really trying not to do [14:55] jujugui call in 5 [14:59] jujugui call in 1 [15:01] jujugui call now [15:08] kadams54 https://plus.google.com/hangouts/_/gwrfc6s6hbqazst3ovh3uaypeua?authuser=1&hl=en [15:09] hurrroowwww [15:19] jujugui: sorry i missed call time. have been knocked offline for last 30min and lost my phone. [15:19] jcsackett np [15:24] hatch: sooooo… [15:24] hatch: it looks like we check for that 'new' prefix in other parts of the code [15:24] And use it to make decisions about whether the machine is committed yet or not. [15:24] ok that's not going to work for the future [15:25] What should we be doing? [15:25] we should inspect the model to see if it's a real-boy [15:25] later on we will add the ability to name machines [15:25] so we can't rely on a user input to know if something is new or not [15:26] Well, it's not really user input, since it's a standard string we prefix to all machine IDs. [15:26] (for uncommitted machines) [15:26] The one advantage I see is that it means we don't have to do a DB lookup [15:26] right but that's not going to work [15:27] unless we have newthisismymachinename [15:27] or what if they name their machine 'newsuperbox' [15:27] Name doesn't matter [15:27] It's combining "new" + ID [15:27] And I think ID is an auto-generated sequence? [15:28] can you link me to where this is happening [15:29] Just grep through machine-view-panel.js for 'new' (with single quotes included in the search) - it happens all over the place in there. [15:30] Also: I'm not seeing a connection between the IDs of committed machines and the IDs assigned to ghosted machines, which would mean more overlap. [15:31] The ghosted IDs are assigned via the _ghostCounter, which is just set to 0 when a MachineList is instantiated. [15:34] but the name being displayed to the user is the id right? [15:36] Not really [15:36] It's just a temporary ID [15:36] Which is created from 'new' + _ghostCounter [15:37] And _ghostCounter has no connection to the actual IDs stored in the DB. [15:37] So a machine could be new0 when created [15:37] But 1 once actually deployed [15:37] hatch: i'm looking through your review, and i'm wondering, how would you feel about the various "createInspector" methods dealing with destroying the old one after they make a new one? [15:37] hatch: rather than the _inspector method tracking active and previous the whole way through? [15:38] at the point where we're, say, making createServiceInspector responsible for sorting out quite a bit about the state of the service inspector, it seems tidier to me. [15:38] kadams54 right, but what's being shown to the user? something is generating that [15:38] jcsackett hmm lemme take a look [15:39] hatch: what's being shown to the user is exactly what I just said. 'new' + _ghostCounter [15:39] kadams54 so your card is simply deleting that 'new' ? [15:40] Yes, and I'm saying it's not "simply" and we might want to re-think it. [15:41] you think that we should leave the 'new' prefix? [15:41] 1) we have logic based on the 'new' prefix and 2) we'll end up with a confusing UX because the user will see two machines labeled "0" and the only diff between them is that one is blue. [15:41] hatch: yes. [15:42] hatch: keep the new prefix, unless there's a strong case for removing it. In which case we'll need to get creative with solutions. [15:42] 1) this is not going to work in the future, we can't rely on something saying 'new' if the user can enter their own names [15:43] 2) I propose that we dont' show id's at all for undeployed machines if we can't show a reliable id [15:43] new0 is just as confusing as 0 [15:43] hatch: is naming machines on the road map? [15:43] yes, it's even in the bug report... [15:43] new0 isn't great… [15:43] But it's better than 0 [15:43] It communicates something important about the machine's state [15:44] Something that distinguishes new0 from 0 [15:44] frankban: so, i've set up completely new set of machines for manual env and the "disappearing" password is no longer there. however, connecting to the juju environment fails now :( [15:44] kadams54 right, but new0 seems like it's a new version of 0, when in fact it's an entirely different machine [15:45] hatch: I'll concede that point, but it's still better than having two machines labeled as "0" [15:45] hatch: I don't like the way things currently work, but I don't think "simply" removing the "new" prefix is a step in the right direction. [15:45] jcsackett so instead of doing the previous inspector assignment in _inspector and then the previous.destroy in the _inspector you want to move that into the create methods? [15:46] hatch, i think so. can you chat for a moment? [15:46] kadams54 ok that's fine - so you need to send an email to design and peeps expressing your concerns and offering an alternative approach so that everyone can weigh in [15:46] jcsackett sure just one minute I need to relocate [15:46] 1) We need to change the logic to look at a model attribute to determine uncommitted state and 2) we need to figure out how to differentiate (beyond blue color) ghosted machines from committed machines. [15:46] hatch: cool. [15:46] construction crews are making a ton of noise [15:47] hatch: will do. [15:47] always fun, the construction. [15:47] rbasak: quickstart 1.4.1 is on PyPI [15:50] jcsackett https://plus.google.com/hangouts/_/gs4t7bkjwkdpdylcfqa4a2nuwaa?authuser=1&hl=en === urulama is now known as uru-afk [16:14] jcsackett ok creating a new hangout [16:15] jcsackett https://plus.google.com/hangouts/_/gvbizv4vjesvksrba5nljzslq4a?authuser=1&hl=en [16:48] kadams54 thanks for the email [16:48] yup [16:50] kadams54 I usually add luca directly to these emails as I'm not sure he's on peeps, maybe keep that in mind and ping him next time you see to make sure he got it [16:50] Yeah, I CC'd him on this. [16:50] Rick had mentioned the same. [16:52] oh I didn't see it in the list [16:52] maybe you bcc'd? [16:53] From: Kyle Adams [16:53] To: "juju-gui-peeps@lists.launchpad.net" [16:53] Cc: Luca Paulina [16:53] I suspect the list stripped off the CC. [16:54] interesting I didn't know it did that [16:54] in fact I didn't think that it did heh [17:33] Taking a lunch break… [17:46] * rogpeppe is done for the day [17:46] g'night all [18:01] cya rogpeppe [18:01] jujugui anyone around to take a look at a complicated test using my new 'resume' method? https://gist.github.com/hatched/a115fb081279c8856b9d [18:01] this technique now allows you to test async UI interactions by writing synchronous code [18:08] here is the changes to the utils methods and it in use https://gist.github.com/hatched/087d9e30e3eb92a46657 [19:54] hatch: FYI, won't have branch up before my usual EoD. Doc appt has been 2.5 hours and ain't over yet. [19:54] yikes, ok np [19:55] lots of waiting room? [20:00] jujugui looking for a review and qa https://github.com/juju/juju-gui/pull/425 plz and thanks [20:01] I'm blocked on my next task until that branch lands [20:02] well I can just continue from it, np [20:50] jujugui does anyone know how the user will 'scale-down' with the new scale-up UI? [21:19] bac: around? [21:25] hmm, does anyone know why a simulate() call wouldn't work in IE in a callback? [21:25] rick_h__ no he is off today [21:25] ended up working Friday instead [21:25] hatch: ok cool [21:25] and wb to the real world [21:25] :) [21:25] hah, no kidding [21:25] wheeee [21:25] start driving home and all the emails start to arrive [21:26] haha, ding ding ding ding....... [21:26] there's still places out there with no cell connectino [21:26] yeah our cabin used to be one....unfortunately (fortunately?) it now has reception [22:08] well I'm totally baffled by this test failure [22:08] of course it has to be in IE10 too hah [22:27] hmm it happens in all versions of IE [22:27] even 11 [22:27] kadams54 wb [22:32] well I'm at a total loss here maybe a night off will give me some fresh perspective [23:07] Morning [23:07] morning huwshimi [23:07] how goes? [23:07] rick_h__: Hey, good thanks. Have a nice break? [23:12] huwshimi: yea, have 996 pictures to go through :) [23:12] good times, a little crazy having no cell reception for days at a time [23:12] but was good and exhausting times in the woods [23:13] rick_h__: Great! It's cool to hear how you actually get away during your breaks :) [23:14] I guess that usually doesn't stop you from working though :)