/srv/irclogs.ubuntu.com/2013/06/13/#juju-gui.txt

hatchit opens00:13
hatchyou can't open it?00:13
hatch^ huwshimi00:13
huwshimihatch: I had to add a charm first00:19
hatchhuwshimi: so how's it going? Are you wroking now? I have no idea what your hours are :)02:54
huwshimihatch: Hey, yeah I start my day at the end of yours (well, depending on what hours you work :))03:15
hatchi'm UTC-603:15
huwshimihatch: I'm UTC+1003:16
hatch16h difference?03:16
hatchcrazy03:17
gary_postermatsubara, hey!  how goes tarmac?12:45
gary_posterhey hazmat, could you make ~juju-gui a member of https://launchpad.net/~charming-devs, and/or whatever else is necessary so that I can be an editor and approver of https://blueprints.launchpad.net/charmworld/+spec/s-cloud-jujucharms-site-authors-api (and add my own blueprints there) please?12:46
matsubaragary_poster, hey I think it's ready to switch on. I'd like to make a test run. do you have a mp ready so I can test?12:47
gary_postermatsubara, awesome!  lemme see12:47
gary_postermatsubara, benji's mp looks like it will be ready Real Soon Now12:49
gary_posteryeah benji?12:49
* benji frantically hits ctrl-c12:49
benjiI was submitting it.12:49
gary_posterlol12:49
gary_postermatsubara, https://code.launchpad.net/~benji/juju-gui/go-sandbox/+merge/169036 if benji was able to stop the submission in time :-)12:50
benjihttps://code.launchpad.net/~benji/juju-gui/go-sandbox/+merge/16903612:50
benjiyep12:50
gary_postercool!12:50
benjithank goodness for long test runs12:50
matsubarahaha12:50
gary_posterthanks benji.  have at it with our thanks matsubara :-)12:50
benjiThe best thing I've read this week: "On FedEx vehicle for delivery" 12:51
gary_posterheh12:51
gary_posterI never looked at that video12:51
gary_posterI'll go look12:51
gary_posterheh, wow12:53
gary_postervery nice benji :-)12:55
benjiI'm very excited. :)12:56
rick_hjcsackett: ping, got a sec?13:01
gary_postermorning sinzui.  If you have some time in the next hour to talk blueprints, I'd like to run some things past you and ask some questions13:02
sinzuigary_poster, I do after 10.13:02
gary_postersinzui, you mean 10 minutes or 10AM?13:03
sinzui10AM13:03
gary_postersinzui, ack.  I'm booked after 10 until the afternoon, and was hoping to catch up with you in the morning.  If I have a free moment I'll check with you, and otherwise will try you in the afternoon.  thanks13:04
matsubaragary_poster, benji: that MP is still in needs review and no commit message set13:04
benjioh, I guess that's something the new lpsubmit will do; I'll hand-edit the MP now13:05
gary_posterthanks benji13:05
gary_poster(and yes, it does that)13:05
benjimatsubara: you should be good to go13:06
matsubarabenji, looks like it picked the MP while you're still editing the commit message but had changed the status to approved13:09
matsubarait's a good sign that tarmac is working heh13:09
benjiheh13:09
gary_poster:-)13:09
benjiyeah, I guess I should have done that in the other order13:10
matsubaraI'm re-running it. Tarmac picked it up and should start the jenkins job soon13:11
teknicogary_poster: we can move our call up if it helps13:15
matsubaragary_poster, benji: voting criteria not met. A member of juju-gui hackers needs to approve the MP (I claimed the review and approved it and am re-running the tests)13:15
benjimatsubara: I approved it, is self-approval not allowed?13:16
gary_posterteknico, thank you, great idea.  maybe in 14?  sinzui, then we'd be able to talk at 1013:16
matsubarabenji, yes, it's allowed. the thing tarmac complained is that there were no review approvals 13:17
teknicogary_poster: deal13:17
benjiah13:17
gary_posterthanks teknico 13:17
gary_postermatsubara, we need >= 013:17
matsubarabenji, it needs the reviewer approval and the global status approved13:17
matsubaraah ok13:17
matsubaraI'll change that13:17
gary_posterthanks13:17
gary_posterotherwise the rietveld workflow doesn't work, unfortunately13:18
matsubaragary_poster, well I guess then it's just a matter of disabling the voting plugin from tarmac, right?13:18
rick_hgary_poster: I thought abentley's tool would copy the LGTM as 'approved' and would make that work13:19
matsubarasince once there's a MP on LP, means it's approved from the rietveld side13:19
gary_postermatsubara, makes sense.  we might want it later but not now13:19
matsubaracool13:19
abentleyrick_h: No, my tool ignores reitveldt entirely, since all the necessary info is on Launchpad.13:19
rick_habentley: ok, so it doesn't make the LGTM comments copied into LP a "approve" state?13:19
abentleyrick_h: No.  It's a user script.  You'd have to be an admin to change someone else's vote.13:20
rick_habentley: ah, nvm then. oh well13:20
matsubaragary_poster, benji: http://10.189.74.2:8080/view/CE/job/jujugui-merger-trunk/7/console13:21
gary_posterrick_h, abentley's script looks at reitveld LGTM and adds that to the commit message13:21
matsubarait's running the tests, could you look at the output and see if looks sane?13:21
gary_postermatsubara, so far so good!13:21
rick_hgary_poster: gotcha, I misunderstood. I thought it would change the type of comment to an approval as well13:21
benjiit wouldn't be too hard to make it do so.  All rietveld does is look for the string "LGTM"13:22
gary_posterbenji, per Aaron's comment, the problem there is that the script is running as a user13:23
abentleybenji: It wouldn't be hard to impersonate someone else on Launchpad and change their vote?13:23
gary_posterrt13:23
benjiah, foiled by security13:23
gary_postermatsubara, where is the merge of benji's branch in there?13:23
matsubaragary_poster, take a look at: http://10.189.74.2:8080/view/CE/job/jujugui-merger-trunk/configure I had to change slightly the command so tarmac can work. 13:25
matsubaragary_poster, tarmac merges benji's branch on /tmp/tmpOz9IkX/ then the builder machine copies that dir over and runs the tests on top of it.13:26
matsubaragary_poster, one thing though, when jenkins run: bin/test-charm --origin $JUJU_BRANCH --charm $JUJU_CHARM, what does the --origin mean in that context?13:27
abentleyorangesquad: Could you please review https://code.launchpad.net/~abentley/charmworld/no-docs/+merge/169202 ?13:28
rick_habentley: looking13:28
gary_posterbenji, any chance you could help matsubara on the above?  I need to do some other call-y bits, and I know you knew a previous incarnation of test-charm :-)13:30
gary_posterbenji, hatch will also know where bodies are buried when he is around13:30
* benji looks13:30
matsubaralet me get a diff of the changes, it'll be easier13:31
benjimatsubara: "origin" is where to get the source code13:33
matsubarabenji, https://pastebin.canonical.com/92720/13:33
matsubaraerr13:33
matsubaraclearly pasted the wrong thing13:33
benjiand I don't have my phone on me to log into that thing anyway13:34
* benji goes to find his phone.13:34
matsubarahttps://pastebin.canonical.com/92721/13:34
matsubarabenji, http://pastebin.ubuntu.com/5761464/13:35
benjithanks matsubara.  what am I looking at?13:38
matsubarabenji, so these are the changes to make tarmac work. Tarmac creates a tmp dir with lp:juju-gui + the approved MP branch. The jenkins jobs then copies that tmp dir from tarmac machine and runs the test on top of it. I think what's missing is tarmac to send $JUJU_BRANCH to the job and use that as the --origin13:43
benjimatsubara: cool; I still don't quite understand what (if anything) you're asking me to do though :)13:45
sinzuiorangesquad, gary_poster, all the charms are being re-indexed...search has not charms at this time13:49
sinzuiI expect them to be back in 15 minutes13:50
abentleysinzui: Hmm.  Shouldn't work that way.  The new index is supposed to become active after the copy is complete.13:50
sinzuiabentley, isn't this the stale queue issue with branch_deleted?13:50
abentleysinzui: Are we talking about reindexing or ingest?13:50
sinzuiabentley, ingest really13:51
abentleysinzui: Oh, then yes we probably hit the same branch_deleted issue.13:51
sinzuiI see charms re-appearing now13:52
sinzuiI see 75% of the charms now13:54
hatchmorning13:55
hatchgary_poster: benji no bodies in CI , it's stable as a rock...13:56
hatchbahahaha13:56
gary_posterhatch, :-)13:56
* benji doesn't understand but guesses that is a good thing.13:56
gary_postersinzui, is this something that might need to happen again?13:56
hatchgary_poster: last night I fixed the jumping service issue, waiting for Makyo to tell me why it's doing what it's doing (hoping he knows)13:57
MakyoYoooou raaaaaang?13:57
gary_posterlol!13:57
hatchoh haha, I thought you didn't start for another hour13:57
gary_posterhatch, great!  huwshimi has lp:~huwshimi/juju-gui/header-design13:58
gary_posterbased on your branch13:58
gary_posterI've been trying to catch a few minutes to look at it13:58
MakyoNah, 8 my time.13:58
MakyoSo 2 minutes.  Let me make another coffee.13:58
sinzuigary_poster, yes....We think we want to empty the ingest queue after each deploy of code to ensure the ingest/indexing process is knows exactly what it will find in the queue13:58
hatchMakyo: oh so we must be on the same tz right now13:58
gary_postersinzui, ah ok.  this strikes me as a significant usability issue if it means that no-one can search for charms from jujucharms.com and the GUI everytime we roll out13:59
hatchgary_poster: cool, am I supposed to merge it into my branch?13:59
sinzuigary_poster, It dosen't happen every time, but I think the next time we change the definition of charm data, we must ensure there is a mechanism to clear the queue13:59
gary_posterhatch, not supposed to.  Would be nice to have it land today.   Separately probably makes sense14:00
gary_posterhatch, you or I can try to get it reviewed and landed once your branch is in14:00
sinzuigary_poster, I take the loss of search as down-time and we don't ever want to be down more than a few seconds14:00
hatchalrighty14:00
* hatch grabs coffee14:00
gary_postersinzui, k.  you available now for call? can talk about this also then14:01
sinzui5 minutes? I need to find coffee14:01
gary_postercool sinzui 14:01
gary_posterbenji, hatch, matsubara goal of conversation with matsubara is to review what he has set up with tarmac so we can sanity check it.  Also matsubara had one specific question: 14:02
gary_postermatsubara> gary_poster, one thing though, when jenkins run: bin/test-charm --origin $JUJU_BRANCH --charm $JUJU_CHARM, what does the --origin mean in that context?14:02
hatchmatsubara: gary_poster it's the origin to pull the gui source from14:03
gary_posterhatch, so does that mean the branch that is being tested?14:03
hatchcorrect14:03
gary_posterI am afraid that the config that matsubara has might still be testing the trunk, rather than the merged branch from tarmac14:04
gary_posterso that's what I'd review14:04
gary_posterin particular14:04
hatchsee lib/deploy_charm_for_testing.py:18814:04
matsubaragary_poster, hatch, I think I have enough to continue. I'll have to change the jenkins tarmac plugin to send the $JUJU_BRANCH  as well.14:06
matsubarawhile bin/test-charm is being run from trunk + mp's approved branch14:06
sinzuigary_poster, ready14:07
MakyoAlright, hatch.  What's up?14:10
gary_postercool matsubara thanks14:10
hatchMakyo: ok in onCharmDeployClicked in views/charm-panel.js there is a call to env.update_annotations()14:10
hatchin that call it updates the gui-x and gui-y which work as planned14:11
hatchthen in the callback it removes the x and y attributes from the ghost14:11
hatchit's this removal which is causing the jumping in my branch and not in trunk14:11
hatchit appears to have no side effect if I comment those out14:11
hatchso the issue is that when, in the following lines, it setAttrs() there is no x, y so it places it in the middle14:12
MakyoAlright, I see what you mean.  I think that's left over from there potentially not being annotations to set, which changed when we added the branch for new service placement.14:15
MakyoI think those are safe to remove, now.14:15
hatchexcellent - I really dont know why it breaks in my branch and not in trunk however14:16
hatchI just found the sollution, around 1am I called it quits hah14:16
MakyoYeah.  I don't necessarily know why, either, but I don't see a problem with the solution.14:17
MakyoWould take some digging.  Worth QAing extra.14:17
hatchcool - will work on cleaning up the mess I made of this branch tracking that down then land this14:18
hatchthanks for the sanity check14:18
MakyoOh, hey, neat: http://www.google.com/trends/hottrends/visualize?nrow=15&ncol=1514:23
sinzuiadeuring, Let's consider https://bugs.launchpad.net/charmworld/+bug/1190627 as a part of the feature you are working on. We don't want charms to disappear temporarily. In this case, the unavailable service is our queue because it contains stale data14:46
_mup_Bug #1190627: Charms can disappear when code is deployed with a stale queue <deployment> <ingest> <charmworld:Triaged> <https://launchpad.net/bugs/1190627>14:46
adeuringsinzui: right14:46
hatchMakyo: what am I looking at?14:49
MakyoSearch trends in real time.14:49
hatchohh - I thought it was Google making fun of Windows 8 tiles14:50
hatchlol14:50
MakyoHah :D14:50
hatchohhh Makyo one other thing14:52
MakyoShoot.14:52
hatchtrunk is broken wrt service layout14:52
hatchon rapi large, take note of the layout14:52
hatchadd a service, wait for it to become 'alive'14:52
hatchthen refresh14:52
hatchyour other services will have moved14:52
hatchsometimes only a little, sometimes a lot depending on their orientation14:53
Makyohatch, that's by design because default layout doesn't imply annotations have been set, nor does it set them.  They are set when a new service is added, though.14:53
hatchok so if I move all services then that shouldn't happen?14:53
MakyoCorrect.  In reality, it will likely be one of two cases: the IS case, in which annotations will never be set because the GUI is effectively read-only, and the deploying case, where annotations will always be set because they were deployed from the GUI.  The intermediate case you're dealing with is possible, but the default layout encourages dragging; if we come up with a more intelligent default layout scheme, we can start setting annotati14:55
Makyoons by default.14:55
abentleysinzui: pre-imp re: 1176901 ?14:56
hatchkewl I see that now, thanks for clearing that up14:56
sinzuiabentley, in a few minutes, just finishing a meeting14:56
sinzuiabentley, I am ready15:02
benjimatsubara: are you still working with my branch or should I land it the old-fashioned way?15:09
matsubarabenji, sorry, running tarmac again. If it doesn't work this time, I'll re-enable the old jenkins job and you can land in the old way15:15
benjicool, thanks15:15
abentleysinzui: We could avoid spamming the store in the case of multiple jobs for a charm using rate-limiting.  We could store the last-updated-from-store time, and skip retrieving that data if we used the store too recently.15:33
hatchorangesquad: do you already have a bug for a request to https://manage.jujucharms.com/api/2/charm/login when logging out of the GUI ?15:35
rick_hhatch: not that I know of. Can you file something with instructions for duplicating?15:35
hatchdefinitely, do the bugs just go on juju-gui? Do I tag it with anything for you guys?15:36
rick_hhatch: yes, tag it charmbrowser15:36
hatchcando!15:36
rick_hhatch: though I'm confused, is this on manage.jujucharms.com?15:36
* rick_h is confused, what logout did you hit to get an api url?15:36
hatchon trunk running rapi15:36
hatchclicked the logout button15:36
rick_hhatch: k, yea then tag charmbrowser under the juju-gui I guess15:36
hatchactually it does it on sandbox as well15:37
hatchok making ticket15:37
hatchhey it looks like the tarmac is working15:38
hatchmatsubara: any way we can get the codereview link in the comment like before?15:38
benjinice: "Status: Approved => Merged"15:39
matsubarahatch, what do you mean?15:40
hatchmatsubara: https://code.launchpad.net/~juju-gui/juju-gui/trunk see 728 vs 72715:40
benjihatch: right now the commit message is hand-rafted15:40
hatchit's not a huge deal, I have just found myself using it before15:40
benjior "crafted" even15:40
* benji invents the new sport of "hand rafting"; very dangerous.15:41
benjiin other words, I didn't copy that bit into the text box15:41
hatchbenji: well I think it was inserted into there by something automatically15:45
hatchI like having that and the reviewers in there so when something breaks you know who to talk to and any review comments easily at hand15:46
benjihatch: lbox submit does it, but since I wasn't using lbox to land the MP, I had to do it15:46
hatchohh ok so it's something we can add back in at a later time15:46
hatch?15:46
benjiright, I assume lpsubmit will do the same thing15:46
hatchrick_h: here you go https://bugs.launchpad.net/juju-gui/+bug/119065315:48
_mup_Bug #1190653: Clicking logout makes request to manage.jujucharms.com <charmbrowser> <juju-gui:Triaged> <https://launchpad.net/bugs/1190653>15:48
hatchbenji: ahh cool15:48
rick_hhatch: thanks, adding to the board15:48
hatchit's a pretty odd issue15:49
gary_posterjujugui call in 815:52
abentleyhatch: you can look up a merge proposal with lp-find-proposal, e.g. bzr lp-find-proposal -r 728:lp:~juju-gui/juju-gui/trunk15:52
gary_posterkanban now15:52
hatchabentley: lol I can't even remember the proper bzr diff syntax half the time I'll definitely never remember that ;)15:54
abentleyhatch: If you're in a trunk branch, lp-find-proposal -r 728 will work.15:54
hatchoh that I can remember :)15:55
abentleyhatch: In fact, after you run log, any revno you see will work as long as you don't switch branches.15:55
hatchbzr has much saner defaults than git I find but I have no idea why I can't remember the syntax15:55
gary_posterjujgui call in 215:58
teknicojujugui ^^ :-)15:59
gary_posterheh thanks15:59
gary_postermatsubara, is tarmac ready to go for us, then?16:03
gary_posterluca__, hey.  any news on google docs form and user form link design?16:05
luca__gary_poster: it's in progress, I imagine It'll be finished tomorrow16:05
gary_postergreat thanks luca__ !16:06
luca__gary_poster: no problem :)16:06
matsubaragary_poster, nope. it can land stuff but still needs to be modified to send the JUJU_BRANCH16:06
gary_posterok thanks matsubara let us know16:06
matsubaragary_poster, I'll re-enable the old job for now and let you know when I can test again16:06
gary_posterthanks :-)16:06
benjigary_poster: sent to juju-gui-peeps (I hope that is still active)16:14
gary_posterit is thanks benji16:14
hatchI got it16:15
hatchthanks16:15
hatchgary_poster: the remove-charmsearch branch is re-proposing now16:15
gary_posterhatch, cool.  you need re-review or re-qa16:17
gary_poster?16:17
hatchre-review probably isn't necessary but feel free to take a peek at the changes https://codereview.appspot.com/10241043 but I would like a fairly indepth qa if possible :)16:18
gary_posterheh16:18
hatchHaswell, 16GB ram, SSD mini pc :) http://www.engadget.com/2013/06/12/asus-vivopc-specs/16:19
rick_horangesquad hatch review help please? short/sweet in the end https://codereview.appspot.com/10246044/16:20
hatchon it16:20
hatchdone16:21
rick_hhatch: ty much sir16:22
gary_posterrick_h, hatch, code looks good.  hatch did you do qa on rick's branch?  if so will lgtm myself16:26
hatchgary_poster: not yet,16:26
gary_posterk16:26
hatchwas just about to pull it down16:26
gary_posterthanks16:26
gary_posterhatch, looks like the panel config scroll is broken again.  also fixed in  rick's branch?16:27
rick_hgary_poster: no, actually now that I look on a charm with enough config that's not fixed here16:27
gary_posterdarn16:28
gary_postercan do it separately16:28
gary_posterbut needs to be done urgently also16:28
hatchhuw's changes make the ui look awesome - a little...chrome heavy imho but awesome :)16:28
rick_his that something we broke or is that bootstrap related?16:28
gary_posterhatch, rick_h one of you look at that?16:28
gary_posterrick_h, not you I don't think16:28
gary_posterhatch agreed16:29
rick_hgary_poster: ah ok. I'm going to look at the logout issue that's us. If hatch can follow up on the config panel that'd be great16:29
gary_posteron awesome and a bit chrome heavy16:29
gary_posterrick_h, +1 thx16:29
hatchgary_poster: I have that fixed in one of my proto branches, so I can dig that fix up in a followup16:29
gary_posteryay!16:29
gary_posterthanks16:29
hatchgary_poster: just qa'd ricks branch and it shows all of the config properties now16:29
gary_posteryay!16:29
hatchwill just test to make sure it saves them16:29
hatchheh16:29
rick_hhatch: heh, I just have to get your a model, not save it :P16:30
hatchthe ;tooltips cover the inputs :/16:30
hatchoh nm16:30
hatchscrewup with my browser plugins16:30
rick_hhatch: ok yea I'm not seeing that16:30
gary_posterhatch your branch is looking great so far--that change even fixed the jumpy bit16:30
hatchrick_h: +1 on a QA, gtg :)16:31
hatchgary_poster: yeah it's pretty awesome :)16:31
rick_hhatch: gary_poster ty much for the reviews. Will hop into the logout next and see if I can't clean up our last little bits of trouble16:31
gary_postergreat!16:32
gary_posterhatch, found another weird issue with logout but not related to your changes16:32
gary_posterand not as urgent16:32
gary_posterat least with sandbox if you create services, log out, and log in16:32
gary_posterthen services don't show16:33
gary_posterbut exist (you can't add services with same name)16:33
hatchoh yeah I thought ben and I fixed that16:33
hatchin fact, I know we did16:33
hatch*regression*16:33
gary_posterhatch, not your problem, so can make a card, but if you have another fix in your bag of tricks then yay16:33
gary_posterhatch your branch LGTM in qa and code16:34
hatcheggcelent16:34
teknicorick_h: I'm working on the card "loadFixture should be able to exclude/ignore hashes when it generates urls"16:34
teknicorick_h: I can't reproduce the problem, do you know how to make it show up?16:35
rick_hteknico: move the test_service_view.js and test_service_config_view in test/index.html back up into the middle of the test suite16:35
rick_hteknico: I moved them to the very end to work around the issue for the moment16:35
rick_hteknico: if you still can't dupe let me know and we can hangout and I can shot you what's going on exactly16:36
teknicorick_h: thanks, I'll better dupe it by myself, I don't want to be shot ;-)16:36
rick_hteknico: the actual error ends up showing up as something about invalid chars or something because it's trying to json parse something it can't. 16:36
rick_hbah, /shot/show16:37
teknicoof course :-)16:37
hatchdamnit rick_h you submitted at the same time I did and now I have to restart lol16:39
rick_hbwuhahaha my computer is faster :-P 16:40
hatchlol16:40
hatchI'm just glad that it was smart enough to reject the merge instead of just forcing it haha16:41
hatchthat would have been a mess16:42
rick_hhow much conflict could there have been?16:42
hatchwell it would have just been missing code without any reasoning as to why16:42
hatchI worked on a project that used some custom svn workflow that you would have to notify everyone you were committing so you didn't do that16:43
teknicorick_h: weird, if I place those two tests right before test_model_controller.js, then I have an error in the latter16:43
hatchthat was irritating16:43
teknicorick_h: where were they placed exactly?16:44
rick_hteknico: hmm, don't recall where they were. I think just alphabetically16:44
gary_posterjcsackett, gave you second LGTM on showIcon, with trivial/ignorable suggestion16:44
rick_hteknico: https://code.launchpad.net/~rharding/juju-gui/trailing-slash-1189973/+merge/16880316:45
teknicorick_h: right16:45
hatchugh mosquito bite on my foot....the worst!16:47
hatchalllright merged16:48
teknicorick_h: ok, got it, thanks16:48
rick_hteknico: yay! ...well not really 16:49
teknico:-)16:49
hatchgary_poster: so huw's branch looks great, but the UX for the right panel does not match at all heh16:55
hatchgary_poster: oh, and when I add services/log out/in  on sandbox, the services stay there on the (new) trunk16:56
benjiI expect you're on a call, gary_poster.  If so, say nothing for 60 seconds.  GO!17:13
gary_posterbenji boo17:14
benjiheh17:14
benjigary_poster: so, either this card was very easy or I misunderstood; guichat?17:14
gary_posterhatch: (A) I know.  if you want to try a quick CSS to the old inspector you are welcome, but otherwise oh well, it's incremental, and I think we can have the new inspector no later than end of next week17:15
gary_poster(B) great!17:16
gary_posterdunno what I saw then17:16
gary_posterbenji, ok joining17:16
benjihatch: hi, I'm trying to recall/understand the motivation behind the "Propose download-cache style solution for our node files using existing machinery" card we created during last Friday's meeting.17:23
benjihatch: I think you were one of the progenitors of it so I wanted to check with you about what problem(s) you were hoping would be addressed.17:23
hatchbenji: well there are two things 1) npm can and does go down causing work on new branches to stop and 2) making 100 http requests takes a lot longer than if we could just cache/extract a single file17:25
benjihatch: will you try something for me?  apply this diff http://paste.ubuntu.com/5762093/ and do a "make clean-all" and then a "make" and you should get no HTTP requests 17:26
gary_posterhatch, the jenkins failure is real and reasonable: the tests use the old load panel17:26
rick_hbenji: that originally started with me there. 17:27
gary_posterif this were tarmac, your branch would have been kicked out. :-P so...looking at that for a sec...17:27
benjirick_h: maybe you will test it out for me too then :)17:27
rick_hbenji: yep, peeking at the diff as well :)17:28
benjidon't blink or you'll miss it17:28
rick_hyea, I see that17:28
hatchgary_poster: ok so that's a python test failure? Sorry I didn't even think of looking in the selenium tests17:31
gary_posterhatch no apologies needed.  we are supposed to have tarmac for this17:31
gary_posterhatch, yeah, so we need to rewrite that deploy function.  are you up for that, or would you prefer to call "Python!" and I'll ask benji to switch and/or pair with you?17:33
hatchthis is deploy on 109 of test_charm_running.py?17:34
hatchahh yes this needs to point to the charmbrowser now17:35
gary_poster112 for me but yes (me does another pull)17:35
gary_posterstill 112 for me <shrug> :-)17:35
hatchI 'think' I can do this17:35
gary_poster:-) cool17:35
hatchis ther a way I can test it locally?17:35
gary_posterif you change your mind call for help17:35
gary_posteryes17:35
gary_posterhatch, open your hymnal to docs/continuous-integration.rst and read with me...as I try to remember the details.17:36
rick_hlol, read that as "open your hy-yaml" and went wtf?17:37
gary_posterlol17:37
hatchI don't even know what a hymnal is17:37
hatchto google!17:37
hatchohh17:37
* rick_h is rolling on the floor17:37
hatchhym-nal17:38
hatchnow I get it17:38
hatch:)17:38
gary_posterlol17:38
gary_poster...so anyway...17:38
hatchhaha17:38
hatchdoesn't look like the CI docs contain instructions on running selenium locally17:38
gary_posterhatch, look for the section that begins here17:38
gary_posterCombining NO_DESTROY and APP_URL could help while debugging CI tests, and it17:38
gary_posterallows for running the suite multiple times using the same Juju environment.17:38
gary_posterA typical workflow follows::17:38
hatchohh yeah that part17:39
hatchbut I still need EC2 for that17:39
gary_postermm17:39
hatchI know about doing THAT much ;)17:39
hatchI assumed frankban didn't hammer on EC2 when fixing things and ran it locally somehow17:40
gary_posterwell, one other thing to check, one sec17:40
hatchI could have been assuming incorrectly17:40
gary_posterhatch, yeah ec2.  fwiw, http://irclogs.ubuntu.com/2013/06/11/%23juju-gui.html and look for "I suggest configuring the juju-gui-testing env with the ec2 provider"17:42
hatchyup already have that setup17:43
hatchok to ec2 it is!17:43
gary_posterk17:43
gary_poster:-)17:43
hatchsorry for the confusion17:44
gary_posterI'm sorry for the confusion about the confusion.  Can we have a third?17:44
hatchhaha17:44
hatch    def deploy(self, charm_name): is `self` a special param? all calls are simply self.deploy('appflower') which is the charm_name17:48
benjihatch: yep, the object itself is added as the first argument in any method calls17:49
gary_posterhatch, self == js this.  in python it is exlicit17:49
gary_posteryou could call in kumquat too.  not advised.17:49
hatchnot sure if typo was 'elicit' or 'explicit' ;)17:49
gary_posterexplicit :-)17:50
hatchgot it thanks17:50
gary_posterhatch, have trivial css suggestion for right hand side.  will pastebin in a sec17:50
hatchalready done17:50
gary_posterre huw's branch17:50
gary_posterhatch ok cool nm then :-)17:50
hatchhaha well I 'll see yours too17:51
gary_posterheh, ok17:51
hatchI will have a feeling our changes will be similar :)17:51
* gary_poster agrees17:51
* hatch not sure if like python or think stupid17:52
hatchit's actually pretty easy to read :)17:53
gary_posterheh17:53
gary_poster@charm-panel-configure-color: #404040;17:53
gary_poster@charm-panel-configure-title-color: #FFFFFF;17:53
gary_poster@charm-panel-configure-name-color: #FFFFFF;17:54
gary_posterhatch ^^17:54
hatchoo we actually did it differently!17:55
gary_posterlol17:55
gary_posterchoose whichever you prefer hatch17:55
hatchyeah I'll throw these in after I finish this ci error17:56
hatchprobably end up combining17:56
gary_posterk17:56
hatchI use indentation to make prototyping code stand out....that technique does NOT work in python17:57
hatchheh17:57
rick_hhatch: lol, use comments17:57
rick_h""" PROTOTYPE HERE """ and make that a macro :P17:57
hatchand 'remove all semicolons on save'17:58
hatchlol!!17:58
rick_hyea, that one gets me all the time these days17:58
rick_horangesquad and hatch review request please? Small one to fix the last bug before I can get back to working on related charms! https://codereview.appspot.com/1025304918:01
rick_hstop finding bugs now :P18:01
* sinzui looks18:02
hatchon it18:02
sinzuirick_h, you have my LGTM18:05
rick_hsinzui: ty much18:06
* benji takes a late lunch while screaming "it's here! it's here!"18:07
hatchhaha18:08
hatchrick_h: donezos18:08
gary_posterlol18:08
* rick_h wonders if benji's internet is about to get yanked out of the wall18:08
hatchthen tommorow he says "sorry I coudln't work, no internet"18:08
hatchany pythonites want to look at this before I fire up EC2? https://gist.github.com/hatched/f2f5ba90519d126c832818:13
hatchjust want to make sure it's syntax is correct18:14
* gary_poster looks18:14
gary_posterhatch, charm_panel_loaded is called repeatedly.  is the click there really what you want?18:15
hatchoh that's what the wait_for does18:15
gary_posterI think you want to click outside of that function, and then wait for (whatever it is) to show up18:15
hatchthen no18:15
hatchyes18:15
hatchthanks18:15
gary_postersure18:15
gary_postersilly Python niggle: only one space after return on line 1018:16
gary_posterhatch, you may need two wait_fors18:17
gary_posterone waits for the charm_token18:17
gary_posterthen you click18:17
hatchyeah rewriting that method now18:17
gary_posterthen the other wait_fors the add_button, and you click18:17
gary_posteriok18:17
gary_posterok18:17
gary_posterhatch line 19, charm_panel is not defined18:18
gary_postermay want to wait_for that too, dunno18:18
gary_posterhatch otherwise looks good18:19
hatchaww darn the wait_for function doesn't look like it'll accept extra params18:20
gary_posterdoesn't need to18:20
hatchsok I'll just make extra methods18:20
gary_posterif you are defining functions as you go then you are writing closures18:20
gary_posterso previous vars are available18:21
hatchgary_poster:  updated gist https://gist.github.com/hatched/f2f5ba90519d126c832818:28
* gary_poster looks18:28
gary_posterhatch, trivial but lines 19, 23 and 27 should ideally be < 80 chars.  I suggest a newline after the open paren.  Otherwise good18:31
hatchoh yeah woops, I just did that to make it easier to follow for my needing curly bracket js eyes :)18:32
hatchok running, see how this goes18:33
hatchis it meta to be writing python in sublime ....that's written in python18:33
gary_posterif it is, it's old hat meta. :-) lisp in emacs has us beat by decades18:34
hatchhaha18:34
hatchthe new macbook air gets 12:51 battery life....wow!!  http://www.engadget.com/2013/06/13/macbook-air-review19:15
benjihatch: did you have a chance to try that diff?19:19
hatchsorry I haven't19:19
hatchwon't that only help with make clean-all ?19:20
hatchso won't keep the cache cross branches19:21
benjihatch: npm keeps a cache in ~/.npm.  That cache is always used, the new setting just says not to try to see if there is a newer version of the cached file available19:27
benjiso we save time by not making lots of (not very wise) HTTP requests but we don't save any time installing packages (each new branch will have to install them)19:27
hatchahhhh ok, then in that case I have always missunderstood that cache19:28
hatchhah woops19:28
* hatch fail19:28
hatchok trying that diff19:29
hatchbenji: muuuuuch better19:30
hatchwish people would update their pacakges for the new npm though19:30
hatchbenji: we should also include with that a way to update the cache19:31
benjihatch: "npm cache clean" will kill them all19:32
benjior you could just run "npm install" if you wanted to check to see if a new version of a file is available19:32
benjibut really, that should never happen; uploading a new archive for version X of a library is evil19:33
hatchyeah true true19:33
hatchwell while my new ci tests run I'm going to grab some lunch19:33
* benji plays while he waits.19:35
hatchhmm I can't seem to get the tests to pass20:18
hatchall of the selenium tests fail with an error BadStatusLine: ''20:18
hatchhas anyone seen that before?20:19
hatchall selenium tests fail with that error20:23
hatchbut I can't see how my changes caused it20:23
gary_posterBadStatusLine IME is usually indicative of insanity around you hatch, yeah.  It blame it on canonistack I think.  THis is on ec2, though?20:28
hatchyeah EC220:29
hatchshould I not be able to run the selenium tests by running test_charm_running.py from the source dir on the charm?20:34
hatchit's saying selenium doesn't exist20:34
hatchI suppose that makes sense20:37
hatchwill fire off another run maybe that was a glitch20:37
gary_posterhatch, if you are waiting on something or other, +1 on releasing frustration by just getting Huw's branch out there for reviews :-P  I can also try to dupe what you are doing if you like, though I need to go soon20:42
hatchahh yes I can do that20:43
hatchyeah no point in wasting your time. If I get that error again I will need some help however20:43
hatchso will wait and see20:43
gary_posterok understood20:43
gary_posterhazmat, hi.  you around?  if so, could you give me privs in charmworld so I can do blueprint work there, please?20:53
hatchman ec2 feels slower than it used to be20:54
benjihmm: "Failed to start mocha: Init timeout"21:00
hatchyeahok the TestAuthentication tests are failing on my branch21:01
hatchI must be doing something wrong, I don't see how they could fail from my changes21:02
hatchbenji: ming taking a peek http://bazaar.launchpad.net/~hatch/juju-gui/remove-charmsearch/revision/72821:02
hatchis there anything wrong with that ?21:02
* benji becomes Ming the Merciless and looks.21:03
benjihatch: the indentation goes wonky on line 12621:04
benjioh, wait!  it doesn't 21:04
benjiit's just functions being defined inside a method21:04
hatchI'm allowed to indent after the paren like that right?21:05
hatch128, 132, 13821:05
benjiyep21:06
benjihatch: it looks good to me (other than the extra newline on line 124 :)  one newline is enough inside a function21:06
hatch124 isn't in a function21:07
hatchat least it's not supposed to be21:07
hatchdoes that mean that 127 is too?21:08
hatch127 should be in deploy()21:08
gary_posterhatch, your whitespace is fine functionally.  124 is inside the deploy method, as is 127.  one newline is enough inside a function or method.21:14
gary_posterso you can delete one of lines 124 and 12521:15
gary_posterhatch, once things are working on ec2, and it sounds like they are now, you can change your tests and rerun them, at least, yeah?21:16
hatchohh I see what you're saying21:16
hatchnope the TestAuthentication tests ERROR21:16
gary_posterbut other tests pass right hatch?21:17
hatchthe deploy tests fail with the badstatusline error21:17
gary_posterso you can do the trick to make things go faster from the doc21:17
gary_posterwithout restarting ec221:18
hatchthe testauthentication tests fail by just sitting there for ....5min each?21:27
hatchI'm going to guess that it's the same error that gets involved with the process_path() method21:28
hatchARG now I can't propose the huw branch + changes because of the stupid json error in phantom21:29
hatchthere is little more frustrating than build tool failures impeding productivity21:31
gary_posterwhat is the json error in phantom hatch?21:58
hatch TypeError: JSON.stringify cannot serialize cyclic structures.21:59
gary_posterhuh, have not seen21:59
hatchand the branch which broke it...has nothing to do with json21:59
hatchs/branch/commit21:59
hatchFINALLY found the cause22:02
hatchVictory!22:02
gary_posteryay!22:03
hatchok now to blog this...22:03
gary_posterthat's for the phantom thing?22:03
hatchif you see (above error) look for console logs of complex objects22:03
hatchor instances22:03
gary_posterI think we ought to land Huw's branch immediately.  I'll give it the fastest LGTM ever, and you already blessed it.22:03
gary_posterI mean, assuming you killed the wabbit. :-)22:04
hatchthat thing is dead22:04
gary_posteryay :-)22:04
hatchit's proposing now *crosses fingers*22:04
hatchoh I fixed the height issue too22:04
gary_postergreat!22:04
hatchbut it's kind of a kludge22:05
hatchI didn't fix the cause, just put a bandaid on it22:05
hatch:)22:05
gary_posterheh22:05
gary_posterok22:05
hatchoh and I ended up using your css changes plus mine :)22:05
gary_posterif you want to give me the branch with the CI issue, I can try to look at it22:08
gary_postermaybe22:08
gary_posteror I can at least pass it to Nicola for him to look at in the morning22:08
gary_poster:-)22:08
gary_posterheh ok cool hatch22:08
hatchhttps://code.launchpad.net/~hatch/juju-gui/remove-charmsearch22:08
gary_posteron it22:09
gary_posteroh merged already lol22:09
hatchthe original is merged22:09
gary_posteroh right22:09
hatchnot the selenium changes22:09
hatchhuw's branch plus my changes https://codereview.appspot.com/1024104622:10
gary_posterI will qa :-) then approve22:11
hatchgreat - let me know what you think of the right panel styles22:11
gary_posterhatch you included your incremental work on the test_charm_running.  conflicts. not sure what you want to do.  Probably not making it worse? :-)22:14
hatchwhere?22:14
gary_posteroh, um. good question.  how did I get this?  not in your MP....22:15
gary_posteroh nm. I merged the wrong branch.  On irc you said remove-charmsearch but you meant header-design22:16
hatchumm sorry remove-charmsearch has the CI work22:17
hatchheader-design has the header and right panel styles22:18
gary_posterhey huwshimi! thanks for changes.  hatch had a crazy day trying to get everything to land (sorry hatch) but it is about to land :-)22:18
huwshimigary_poster: Great!22:19
huwshimihatch: Hope I didn't cause you too much trouble22:19
gary_posterhatch, LGTM22:19
hatchI wish it was you so I could blame someone ;)22:19
gary_postergood changes hatch22:19
hatchgary_poster: thanks22:19
huwshimihatch: :)22:19
hatchgary_poster: I have....finally...created a wordpress account :)22:21
gary_posterhatch, lol22:21
hatchgary_poster: so is it ok that I land this branch? Considering I kind of reviewed it too?22:22
gary_posterhatch, yes :-)22:23
hatchshe's goin!22:23
hatchhuwshimi: i'll ping when this is all submitted for you to pull22:23
huwshimihatch: Cheers.22:23
gary_posterhatch, should I send an email to Nicola asking him to look at the CI issue, or do you want to give it a bit more of a try and then send him the email when/if you stop?22:28
hatchI'd like to keep at it but I don't think I'll get anywhere22:29
gary_posterack22:29
hatchI'm pretty much at an impass with my limited python knoweldge22:29
gary_posterwill send email22:29
gary_posternp22:29
gary_posterthank you@!22:29
hatchI hope at least my deploy method points him in the right direction :)22:29
hatchhuwshimi: she is ready to go22:30
huwshimihatch: Great, thanks!22:30
gary_posterthanks hatch, huwshimi.  g'night22:35
hatchnight22:35
hatcho22:35
huwshimigary_poster: Thanks, talk to you next week22:35
hatchoh yeah, it's tomorrow there22:35

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