/srv/irclogs.ubuntu.com/2013/10/08/#juju-gui.txt

hatchahh - yeah one model might be cool - but I'm guessing that there is enough difference that keeping them separate is probably a good idea00:00
hatchI have no data/experience to back up that claim however ;)00:00
rick_h_hatch: right, but one modellist, container can take either, token can take either, etc00:00
rick_h_there's two models, but a LOT of code that we want to be able to use either. Showing a readme is the same either way00:01
hatchright00:01
hatchthats all shared00:01
rick_h_yea, all good, carry on. Will look forward to poking at it tomorrow00:01
hatchhttps://code.launchpad.net/~hatch/juju-gui/bundle-detail-tabs00:01
hatchthere is the functional branch without qa/tests00:01
hatchbut the current tests/basic qa all pass00:02
rick_h_why can they not share the tabview setup vs having it in bundle.js and charm.js?00:03
hatchbecause....I didn't think of that00:05
hatchSO THERE!!00:05
rick_h_ok, you gave me the link. I'll wait until tomorrow :)00:05
hatchlol00:05
hatchno it's cool thanks00:05
hatchI'll do that00:05
rick_h_and while you're in there, we should setup a common attr vs the whole storeId vs entityId thing. 00:06
rick_h_that's fugly00:06
rick_h_other than that, initial look is good :)00:07
hatchyeah I was thinking the same00:07
hatchok tabview is moved....id thing will have to wait00:08
hatchoff to make supper00:08
hatchcyaz00:08
rick_h_enjoy!00:08
gary_posterbcsaller, hey.  was trying to figure out why deploying wasn't working so well, and hacked around and came to http://paste.ubuntu.com/6207496/ .  Realized toward the end that I had encountered, at least in part, some of the same things you had mentioned.  My sandbox hack does not handle pyJuju, for instance, which was the kind of thing you mentioned today on the standup.  I found a few other things though, as you'll 01:20
gary_postersee.  Maybe we can compare notes tomorrow.  Meanwhile, running off. :-) see you01:20
=== _mup__ is now known as _mup_
rick_h_gary_poster: around? 11:19
gary_posterrick_h_, am now, but about to go vite12:04
gary_postervote12:04
rick_h_gary_poster: all good, have fun12:04
gary_postercool will ping when I return12:04
rick_h_luca__: ping, got a sec?12:14
gary_posterrick_h_, here12:20
rick_h_gary_poster: that was fast12:20
gary_posterrick_h_, I vote like the wind!12:20
gary_posteror something12:20
rick_h_gary_poster: k, quick hangout then? I wanted to clear up yesterday so I'm on the right track for today12:21
gary_posterrick_h_, cool.  https://plus.google.com/hangouts/_/f2514e8843a5c2c1877fda92051ec0612813c92f12:21
rick_h_gary_poster: and reviewed huw's branch, small issues we need to clear with ux. screenshots included. https://codereview.appspot.com/14526043/12:26
rick_h_gary_poster: so that's going to hang for a bit12:27
rick_h_but did review it12:27
gary_posterrick_h_, ok cool thanks.  It looks right to me--the top border is a 3d highlight to my eye, so I don't expect the triangle to go "in" the crevice--but yeah, good to check with luca__ 12:29
gary_posteroh rick_h_, can you do the three-line switch from jc: to bundle: if you have not already?12:31
rick_h_gary_poster: yes, will do. 12:31
gary_posterthank you12:31
gary_posterrick_h_, maybe interesting thought and maybe you've thought about already: if new icon paths redirect from various general paths to a *version-specific* icon path, then we can set the icon's version-specific path to cache headers of "forever"12:38
rick_h_gary_poster: well, the issue is we support 'latest' (revisionless) ids and that would cause us issues12:40
gary_posterrick_h_, but if the revisionless ones are redirects as well..12:40
rick_h_gary_poster: I'll double check/look.12:40
gary_postercool12:40
benjiabentley: what time does sinzui normally get in?13:02
abentleybenji: He's usually around by now.13:03
abentleybenji: He's just not on this channel.13:03
benjiah, thanks13:03
=== TheRealMue is now known as TheMue
luca__rick_h_: heya13:56
luca__rick_h_: it looks off13:56
rick_h_luca__: yea, I thought so13:56
rick_h_luca__: none of hte visuals go over the triangle I can see. They're all still stars13:57
rick_h_luca__: I think it's because we had kind of a beveled divider between charms13:57
luca__rick_h_: yeah13:57
luca__rick_h_: ok, so after showing Spencer13:59
luca__rick_h_: he says that the triangle on the charm token should line up to the dark line13:59
luca__rick_h_: not the highlight13:59
luca__rick_h_: and the triangle on the bundle details should be bigger at 20px x 20px14:00
rick_h_luca__: ok, can you guys reply to the email for Huw to look to update the branch for tomorrow then?14:00
luca__rick_h_: sure, will he need a bigger triangle asset for the bundle details?14:00
rick_h_luca__: let me look14:00
rick_h_luca__: I'm not sure on the size. If you guys have one to include inthe email that'd be great. 14:03
luca__ok14:04
rick_h_luca__: thanks for looking at it. Let me know if you've got any thoughts on #2 in that email as well even if it's just a 'Nope, nothing right now' so I can answer the question when/if it comes up please.14:04
luca__rick_h_: I think improving search should be something we discuss in SF14:05
rick_h_luca__: rgr14:05
luca__rick_h_: we need to look at it with all the new things we've got and the future features14:05
luca__rick_h_: I'll get Ale to set up a meeting :)14:05
rick_h_luca__: ok cool. Good enough for me. 14:05
* rick_h_ runs away14:05
luca__rick_h_: haha14:06
hatchrick_h_: why not use css for the triangle?14:09
rick_h_hatch: no idea. I've not done enough triangle css to suggest it or know if it would fall over here. 14:10
rick_h_hatch: trying to keep involvement to a review :P14:10
frankbancool. the gui charm with a local release takes 50 secs on ec2 from the install hook invocation to deployed14:10
rick_h_hatch: btw, since you're online now. I saw the new YUI, but notes include changes to route/app and such so between us let's make sure we watch out for it14:10
rick_h_frankban: woot14:11
hatchrick_h_: ugh yeah - I don't agree with that change but whatever14:11
rick_h_hatch: yea, the req object has some diff bits as well. Enough that I went "whoa, we'll have to update for this one"14:11
hatchyeah I don't get the idea behind the update besides being different14:13
hatchI don't see where the old techniques fell down14:13
benjiLXC really is awesome14:16
rick_h_benji: +114:16
rick_h_gary_poster: hatch so for this story of "I drag a bundle file onto the gui and need charm icons to show up" story we were talking about an api call that supplied the icon via the info in the bundle. 14:23
rick_h_gary_poster: hatch but I'm wondering if we need the full charm data itself as well? For the rest of things to work? Or is that not necessary?14:23
hatchthe bundle contains the deployment data14:23
hatchso it's just the images that are required14:23
rick_h_hatch: ok, so there's nothing else in the UX besides the icon that we need from the charm that's not in the deployment data?14:23
rick_h_hatch: ok cool, sounds like a plan to me then. 14:24
hatchrick_h_: I was thinking that when we create the models for the services the model should check if it has the required data and go fetch it itself14:24
gary_posterrick_h_, on call14:24
rick_h_hatch: right, just wanting to think this through once vs redoing it. If we'll need some extra data for all the charms does a single enpoint make sense? Are we going to call out once for every charm in a bnudle, etc?14:25
hatchit would be nice if the endpoint would take a series of id's14:26
hatchand return the paths for all of htem14:27
rick_h_hatch: well it's going to return the actual icon. So you'll just have <img src="......"> 14:27
rick_h_but I was worried about other data14:27
hatchohh ok I see, so the model still won't have the image path14:28
rick_h_hatch: yea, it builds it currently. 14:28
rick_h_hte model never has the image path tbh14:28
hatchoh I suppose14:29
hatchwell I guess it 'should' cache the image using this approach14:29
hatchdon't know why it doesn't cache them here though :/14:29
rick_h_hatch: definitely, it's how it works now14:29
rick_h_hatch: yea, you're broken. 14:29
hatchI must have an extension somewhere which is causing it to break or something14:31
hatchugh 700ms OPTIONS requests.....we gota fix that lol14:31
rick_h_hatch: yea, or just turned off caching in the chome dev tools14:31
rick_h_hatch: refresh a few times14:32
rick_h_hatch: that should ONLY happen on the first one in a series after chrome closes the connection upstream14:32
hatchlol that's not a real sollution14:32
rick_h_hatch: well it is in normal use. You take a hit on first load and then it's fast14:32
hatchhmm the waterflow sure seems to indicate a server issue14:35
hatchbut ooookkkkkk14:35
rick_h_hatch: :P14:39
hatchhas anyone else done that 'javascript under pressure' ? it's pretty cool :)14:48
hatchshould be used when hiring js devs haha14:49
hatchoh rick_h_ last night I finally got the colours all sorted out - had to drop zsh as it somehow conflicted with vim and the terminal colours14:56
benjiI just had an expecially geeky moment.  Instead of getting up and going to look in a mirror I turned on my webcam.15:11
rick_h_benji: never thoght of that!15:12
rick_h_thought...man I can't type today15:12
rick_h_laptop keyboard gah15:12
benjiI like my laptop keyboard so much 15:13
benjiI bought an external one15:13
benji(doesn't keep me from pressing enter too soon though)15:13
rick_h_well with the more powerful desktop spending a LOT more time on it and the clicky larger keyboard15:13
* benji adopts the e.e.cummings IRC technique.15:13
benjiyeah, if I could get a narrow model M with a good trackpoint I would be in keyboard heaven15:14
rick_h_meh, one day I hope the patent stuff in the three button trackpoint ends so others can steal it15:14
rick_h_and unicomp needs a 10less model so so bad15:15
benjiI have seriously considered custom building a keyboard, but I need another project like I need a hole in the head.15:16
hatchheh buttons...you silly people without multitouch gesture support15:17
gary_posterbenji did you hear back from kentb?15:18
benjigary_poster: yeah, he should be attempting the install nowish15:18
gary_postergreat benji15:18
benjigary_poster: I'm presently wrestling with importing the charms; I have a charm ingested now, but it lacks all personality (no icon, readme, description, etc.) because the charm isn't in the charm store; working that out now15:20
gary_postercool benji, thx & good luck :-)15:20
benji"we're all counting on you"15:20
rick_h_may the ice cream be with you15:23
hatchlol15:24
* hatch hopes its soy based15:24
Makyojujugui call in 1015:50
gary_posterMr Kotter!15:50
gary_posterugh...15:50
gary_posterfoiled again15:50
MakyoHahah, has no one set up a calendar bot yet? :)15:52
hatchjujugui looking for a review/qa plz https://codereview.appspot.com/1453104615:55
rick_h_hatch: happy to but will be a little bit15:55
hatchlike 5 minutes?15:55
hatchor 5 hours?15:55
hatch:P15:55
rick_h_hatch: like before EOD, but probably not for 1-2hrs15:55
hatchohh I want to keep moving on this stuff so someone else pick it up :)15:56
MakyoI'll get it.15:57
hatchthanks15:57
gary_posterjujugui call in 2.  hatch, you doing the honors?15:58
hatchyup15:58
MakyoIf I skipped out, nothing to say on my card.16:03
MakyoThe two in upgrade charm are down to 6 failing tests.16:03
hatchgary_poster: any specific bundle card you want me on? Or just pick one from the details page?16:15
frankbanguihelp: does anyone know what charm revision is running jujucharms.com?16:16
hatchfrankban: my guess would be the charmers one16:16
hatchrevno 76 I think16:17
gary_posterfrankban, yes, I think most recent16:17
* hatch would loooove a charm update though ;)16:17
gary_posterhatch, charm icons or source tab16:18
frankbangary_poster, hatch: cool thanks, I'll use that when trying the charm upgrade steps16:18
gary_posterhatch, I had hacked on charn icons but I should not do it. I could share thoughts/code if you were interested though16:18
hatchalright I think I need my current branch to land for source tab so I'll do the charm icons16:18
gary_postermakes sense frankban 16:18
hatchoh ok - yeah if you have a branch16:19
hatchI haven't looked at all at it16:19
gary_posterhatch, http://paste.ubuntu.com/6209987/ and https://plus.google.com/hangouts/_/10fe9c48d75b9ebbe273219cb03f4e53869ce4f7 ?16:21
gary_posterthank you for webops work rick_h_ .  sounds like you're on the track of it.  awesome, and sorry for the interruption. 16:33
rick_h_gary_poster: all good, sorry I'm out of date on how the stuff works floundering around so much. and thanks abentley for helping peek at it as well16:34
abentleyrick_h_: you're welcome.16:36
abentleyrick_h_: FWIW, I have no clue what's going wrong with the branches.  The proofing happens at a later stage, so the branches should already be checked out by then.16:36
rick_h_abentley: yea, well we copied over the branches16:37
rick_h_so they exist on disk now16:37
rick_h_abentley: originally when the data was copied without the branches ingest came behind and make all the config bits empty, emptied the summary, etc16:37
rick_h_abentley: so the branches are there copied from the old server and guessing it's trying to proof and it's got a -60 rev version of proof tools missing bits needed?16:38
abentleyrick_h_: Right, so we still don't know why we couldn't copy them.16:38
rick_h_abentley: right, that's still a bug in the deploy for sure. 16:39
rick_h_it should have recreated them if it didn't have them on disk16:39
abentleyI guess we can test that locally by doing a dump from staging.16:40
=== abentley is now known as abentley-lunch
rick_h_hatch: comments sent, but didn't qa or go over 100% since I'm just drive by inputting :P16:41
rick_h_hatch: thanks for the updates though!16:41
Makyojujugui ill, need to lay down, can someone else grab frankban's second review? https://codereview.appspot.com/1454504416:42
* gary_poster already reviewing it16:42
MakyoI was #216:42
MakyoWill try to get to it later if I don't in a bit16:43
MakyoThat didn't make sense.16:43
MakyoWhtever, back i na bit16:43
gary_posterfeel better16:44
hatchrick_h_: thanks will look16:50
hatchman you really hate attributes hey? lol changing16:51
rick_h_hatch: well <3 them when you need them. They're awesome and magical. 16:51
rick_h_hatch: but this is not a case of needing them16:51
hatchI really wish someone would write a native js object attribute shim16:52
hatchwhich could 'upgrade' when necessary16:52
hatchrick_h_: so I have changed it to be a static but I"m not sure it should be done like that17:08
hatchwe now have to go instance.constructor.entityType to access it17:08
hatchwhich is not discoverable really17:08
hatchfor those not in-the-know17:09
MakyoUgh, okay, sorry. Will do that review if no one else picked it up.17:10
hatchMakyo: you were only down for 15 mins :)17:14
Makyohatch, I'd rather be working :P17:15
hatchhaha - I've been 'off' for about a week, I'm chalking it up to the weather17:16
hatchfall alergies and whatnot17:16
MakyoYeah, lots of that going around.17:16
MakyoLost my appetite, and Makyos cannot subsist on espresso alone, apparently, nice as that'd be :P17:17
hatchyou probably could on espresso and sugar17:22
hatchat least for a few weeks17:22
hatchthen you'd probably die though17:22
MakyoI can't imagine my kidneys would be very happy :)17:22
MakyoHahaha17:22
benjigary_poster: status update: kentb has a working gui with stock charms, I have a gui with (mostly correct) ice cream charms17:31
gary_posterbenji, yay!17:59
hatchquit...writing...tests...with...actual, expected...switched...around18:04
gary_posterproblem is that different frameworks have different orders, IIRC18:04
rick_h_yea, I'm back on python side and it's switched18:05
rick_h_and I keep writing ; and this.18:05
rick_h_gah!18:05
benjiyep, and Python has done the only sensible thing, stopped prescribing an order18:05
hatchif you don't prescribe an order then you don't know which is correct18:06
rick_h_the output should put them in the order give to it18:07
rick_h_at least then it would match the code18:07
rick_h_it's all this "words are better, let's write out full sentences and try to use english to explain your failure" crap :P18:07
hatchlol18:07
rick_h_test_something failed:18:07
rick_h_1 != 218:07
rick_h_all I want18:07
rick_h_with a line # :)18:07
hatchthat would be fine with me!18:08
hatchright now I have to actually investigate every variable to figure out what is what18:09
rick_h_you can debugger; tests18:09
rick_h_and then just use chrome to look at all vars in scope18:09
rick_h_or firebug, or whatever18:09
hatchanother step18:09
rick_h_yea, but better than " investigate every variable"18:09
hatchthat's what you just said to do lol18:09
rick_h_hatch: gary_poster so this is setup that if we can't find the charm we just respond with the generic charm icon. I don't know why we'd 404, but the through crossed my mind so sharing my assumption18:10
gary_posterrick_h_, +118:10
hatchif we can't find it then how do we deploy it?18:11
gary_posterhe's talking about icon18:11
rick_h_yea, sorry. Get into my mental context darn it :P18:11
hatchohh ok then yeah that's fine with me18:11
hatch:)18:11
gary_posterrick_h_, actually better: *redirect* to unchanging location of generic charm icon18:12
gary_posterrick_h_, better for cacheing18:12
gary_postercaching18:12
gary_posteragree?18:12
rick_h_gary_poster: yea, all of this is a redirect18:12
hatchwell it would have to be a 'temporary redirect'18:12
hatchso not sure if that would help cache anything18:12
gary_posterhatch it would cache the end result18:12
rick_h_abentley-lunch: pointed that out to me. Even if found it redirects to the right icon under the right ID in the hopes you might already have that cached18:12
gary_posterexcellent18:13
=== abentley-lunch is now known as abentley
hatchoh right - but it'll still make the request18:13
hatchcan you set an expires on a temporary redirect?18:13
gary_posterhatch yes will still make a request, but still much cheaper than actually downloading the svg over and over again18:14
hatchtrue dat!18:14
gary_posterI don't know anything about cacheing a redirect.  interesting question18:14
hatchalthough we spend way more time connecting than downloading with our server for some reason18:14
gary_postercaching! :-/18:14
hatchto the googles!18:15
hatchgary_poster: they do cache redirects18:15
hatchhttp://stackoverflow.com/questions/691877/why-does-the-browser-not-cache-a-301-within-an-ajax-request/691949#69194918:15
_mup_Bug #691949: Misleading description of language-pack-de <apport-bug> <i386> <maverick> <Package Descriptions for Ubuntu:Invalid> <Ubuntu Translations:Invalid> <language-pack-de (Ubuntu):Invalid> <https://launchpad.net/bugs/691949>18:15
benjibrowsers respect cache headers on redirects18:15
hatchcool so we could add that as well to speed things up a bit18:16
gary_posterapparently as of 2010 not so much but nowadays it is AOK18:16
gary_posteryeah18:16
hatchhttp://www.browserscope.org/?category=network18:17
hatchaccording to that we are good to go18:17
gary_posterI'm doing the test on my own browser now for amusement sake18:18
gary_postercool18:18
hatchok back to writing tests.....*grumble grumble grumble*18:18
gary_poster:-)18:18
hatchugh apple broke itunes podcasts section again....18:19
hatchman today is just not a good day18:19
rick_h_man I <3 python18:43
benjime too18:55
* benji and rick_h_ join hands and Kumbaya.18:55
rick_h_bah, hate it when tests out in no where fail. "But but but...I didn't touch that code!"19:01
rick_h_benji: have a sec to review https://code.launchpad.net/~rharding/charmworld/bundle-icons/+merge/189942 ? and can you qa/make test and verify you also get a test failure on the misc test for the homeview? 19:14
rick_h_benji: I can't see wtf I did to change that and wondering if it's something local. 19:15
rick_h_man, trunk passes...I must have done something.19:16
rick_h_die spurious test failures die19:21
benjigary_poster: I just sent Kent an updated setup with the ice cream charms after going through the full install myself19:22
gary_posterawesome, benji!19:22
gary_posterbenji, did you see my reply to Mark Baker?19:22
gary_posterbenji, and his reply19:23
gary_posterthe export to a nfs shared mount seemed doable, yeah?19:23
benjigary_poster: I say your message, but I don't think I saw his19:23
gary_posters/shared// :-)19:23
gary_posterbenji, pertinent bit was "maybe just save the yaml file to a shared drive even. "19:24
gary_poster(he did send it to me alone, it seems)19:24
benjigary_poster: i.e. the export mechanism?19:24
gary_posterbenji right19:24
benjiI don't see why it wouldn't work, but I haven't tried it; I'll try now19:24
abentleyrick_h_: May I use your landing as a guinnea pig for testing whether team-based permissions are working?  I thought they were broken, but that may have been a bug in the charm.19:25
gary_posterbenji cool thanks19:25
rick_h_abentley: sure thing if I can get this stupid test to pass19:26
rick_h_abentley: benji any experience with using enable_routes causing straing behaviour?19:27
abentleyrick_h_: Nothing comes to mind.19:28
rick_h_benji: doing a stupid stupid thing in this to move forward. Please avert your eyes and I'll file a bug19:29
rick_h_jujugui or anyone else up for a charmworld review? https://code.launchpad.net/~rharding/charmworld/bundle-icons/+merge/18994219:33
gary_posterwill look soon if no takers19:33
rick_h_cfvdtrbkktfvcinvjufbucbinibirinnb19:40
rick_h_ccccccbgjgvcfiujgetvtenddglclldgrgldtelejbvk19:40
rick_h_bah19:40
hatchlol19:42
hatchmine is in the side of my monitor so I can't hit it haha19:43
hatchor if I did....it was one heck of a party19:43
hatchrick_h_:  lol awesome merge description19:51
benjigary_poster: the export works with the ice cream setup; my Chromium automatically saves the export in a directory and appends incrementing numbers to subsequent downloads, so theoretically someone could also access that directory and look at timestamps or be given the parenthetical number (which is displayed by chrome)20:00
benjiok, I have to go to my appointment now, back in about an hour20:00
gary_posterbenji great!  will pass it on, thanks20:01
hatchugh this test is infuriating20:30
* benji is back.20:53
gary_posterjujugui small branch for review by one.  https://codereview.appspot.com/14565044/20:53
hatchI'll do it20:54
gary_posterhey benji20:54
* hatch needs abreak20:54
gary_posterthanks hatch20:54
gary_posterbenji, you going to look at rick's charmworld branch, or shall I?  I can look at code but am not yet set up for QA.  If you do QA, could you verify that the svg he is using is the gray one, not the black one?20:54
benjigary_poster: I'm working on an issue Kent is having (he isn't seeing the icons)20:55
gary_posterbenji ok cool, I'll take it.  thx20:55
* gary_poster was about to take break when he realized it was about to be EoD :-P20:56
rick_h_gary_poster: I've got the black one in there. Updating with the grey one now.20:58
gary_postercool thanks rick_h_ 20:58
rick_h_updated to use https://docs.google.com/a/canonical.com/file/d/0B9WMKNMU_KombXJYUmt5OWJRY2c/edit?usp=drive_web and pushed up20:59
rick_h_thanks for the reminder20:59
gary_posterrick_h_, did you have tests for the bundle icon thing?  I'm sorely tempted to have you add it back in so we don't lose the work.  wdyt?21:00
gary_poster(assuming that adding it back in means reverting a revision)21:00
rick_h_not sure what the 'bundle icon thing' is? I added the icon, added the work to return it from charmworld, and did the charm icons via new api endpoints in there21:01
rick_h_I didn't revert anything or go back. It was already done when we talked so just kep going forward21:01
rick_h_gary_poster: I did not and had not gotten to serving out the icon.svg in the bundle if it was promulgated so that's just not complete21:01
rick_h_but per our call we don't want that to occur right now 21:01
gary_posterrick_h_, oh ok cool.  that's what I meant.  nm then, yeah21:01
gary_posterrick_h_, you "# See if we have a /series/name."  should we also include logic for ~user/series/name? that's a question, not a request, to be clear.21:02
rick_h_gary_poster: I didn't see that supported. If it uses the name it's only because it's a promugated charm. Let me pull back up the deployer file21:03
hatchgary_poster: done with trivial21:03
gary_posterhatch awesome thank you21:03
gary_posterrick_h_, ah promulgated.  Maybe add a comment about that.21:04
rick_h_gary_poster: rgr21:04
rick_h_gary_poster: so the logic I followed for all of this was http://bazaar.launchpad.net/~juju-deployers/juju-deployer/trunk/view/head:/deployer/charm.py#L43 from the deployer21:05
rick_h_gary_poster: so it's only checking the branch and charm keys in the service section of the deployer file if I read that right21:06
rick_h_gary_poster: no owner/etc 21:06
gary_posterack, looking21:07
rick_h_bah, looks like I did transfer that wrong. There's a charm_url, charm, and branch. Missing charm_url. wonder what that is. 21:08
rick_h_well, not wrong, but incomplete21:08
gary_posterlooks like it is another cs:, rick_h_ 21:09
gary_posterthat was my assumption, but...assumption :-)21:09
rick_h_gary_poster: I think it's for local? http://bazaar.launchpad.net/~juju-deployers/juju-deployer/trunk/view/head:/deployer/charm.py#L7521:09
rick_h_in which case we'd just not find the charm anyway. 21:09
gary_posteryeah21:10
gary_posterthough I don't even know what d is in this context21:10
rick_h_but anyway, that's the general idea is to support the data that deployer function does. 21:10
gary_posterand don't want to dig to find out this second21:10
gary_postergotcha.  comment to that effect sounds sufficient21:10
rick_h_d in this context is the service dict from the data.services section of the deployer file21:10
gary_posterrick_h_, as further populated by that other code you mentioned?21:11
gary_posterhttp://bazaar.launchpad.net/~juju-deployers/juju-deployer/trunk/view/head:/deployer/charm.py#L7521:11
rick_h_gary_poster: yea, I'm assuming that the d charm_url is the same one it would generate from the object here. 21:12
gary_postergotcha21:12
rick_h_gary_poster: the result of this parsing is then passed back to Charm.__init__()21:12
rick_h_gary_poster: the result of this 'from_service' call21:12
gary_posterrick_h_, code LGTM.  I'd love to see test verification that the end result url has a version in it, but I'm guessing we already have similar tests of API3._get_api_id.  Wuld also be nice to have tests of cache headers, but I doubt we're generating them.  maybe file bug?21:14
gary_posterMeanwhile I have not qad.  Doing so will take me awhile, since I have never built charmworld.  do you need me to?21:14
gary_posterOr is code LGTM sufficient?21:14
rick_h_gary_poster: I think a LGTM will be good. We'll hit staging first. We can it against the data there. and maybe even get to QA it with Gui changes before it goes to production21:15
rick_h_and right, the version info is based on the lp branch of cs: urls passed in. I've got other tests that verify that the right charms are found/built21:16
rick_h_you're right I didn't make sure there are cache headers on this calls, but because they're not versioned, the ones to cache are the redirected icon urls21:17
rick_h_they're so fluid ugh, but it's what the deployer does21:17
gary_posterright21:18
gary_posterApproval is in there21:18
gary_posterthank you!21:18
gary_posterhatch, before your EoD today, could you ask huwshimi to style what you've landed today--details view & readme I think?21:32
hatchonce I get it landed :/21:32
gary_posterheh21:32
hatchI've been fighting for hours writing the tests21:32
gary_posterok21:32
gary_poster:-(21:32
hatcheither the promise or the assertion captures the failures21:33
bcsallerhatch: is this something you'd like to talk through?21:33
hatchso it's very difficult to debug21:33
hatchbcsaller: nah I'm on the home stretch now, thanks though21:33
hatchgary_poster: did you ever reply about my comment?21:59
hatchsorry I was actually curious as to what the resulting difference was :)22:00
hatchbcsaller: so I"m all done now - but I was curious if you had a technique to avoid the assertion failures being captured by the promises22:02
bcsallerhatch: usually after the final call you can add .then(undefined, done) to the chain22:03
hatchthat's only if the call returns a promise22:03
hatchthought of that ;)22:03
huwshimiMorning22:04
bcsalleryour test didn't happen in the .then of a promise return?22:04
hatchthe promises happened inside of the view's render22:05
hatchbcsaller: it's proposing now so you can take a look in a few22:05
hatchif you like that is22:05
hatchmorning huwshimi22:05
bcsallerha22:05
hatchhuwshimi: re gary's email - I think it's already styled properly but will be landing soon22:06
huwshimihatch: OK, will take a look, thanks.22:07
hatchjujugui could I get a quick follow-up reivew on https://codereview.appspot.com/14531046/ plz22:11
MakyoTwo more tests~  But first, dogwalk.22:13
hatchMakyo: did you mean I needed two more?22:14
hatchor you do?22:14
MakyoI do, my bad22:14
hatch:)22:14
hatchphew22:14
hatchok I made a few small cleanup changes to my branch and I'm landing it22:16
hatchhuwshimi: ok landed22:27
huwshimihatch: Great, thanks!22:28
hatchhuwshimi: doesn't look like it works on comingsoon, so you'll need to pull it down locally unfortunately and run on staging22:31
hatchstaging.jujucharms.com that is22:31
hatchjujugui manage.jujucharms.com is not allowing comingsoon because of Access-Control-Allow-Origin22:31
hatchactually the real issue is the url22:32
hatchyeah ignore me comingsoon is still on manage.jujucharms.com22:33
huwshimihatch: Do you know which part Gary is referring to when he says "that charm detail box that the icon produces should probably always have a set size"?22:36
rick_h_hatch: catchin gup, just got back online22:36
rick_h_mjc isn't allowing comingsoon? mjc hard codes the headers :/22:36
hatchrick_h_: the issue is that comingsoon is running manage.jujucharms.com and not staging.jujucharms.com22:37
hatchso it doesn't have all of the data required to make a proper request22:37
rick_h_hatch: ah, right. 22:37
hatchand instead of 404'ing or whatever manage is rejecting it because of that hah22:37
rick_h_hatch: think I follow, maybe not. 22:38
rick_h_so it's your call that's failing?22:38
hatchhttp://comingsoon.jujucharms.com/sidebar/search/bundle/:flags:/charmworldv3/?text=benji22:38
hatchwatch the network tab22:38
rick_h_loads here22:38
rick_h_ah, right not the details call22:39
rick_h_hatch: yea, that's just not going to work. Should we point coming soon to staging for a bit?22:39
rick_h_should bring it up on the call 22:39
rick_h_hatch: ok so submitted so you're all set then?22:39
hatchyup all done22:40
hatchpromises and assertions are the devil22:40
rick_h_hatch: maybe make a card to bring up dealing with tests aroud promises. Souds like you hit a pita to share22:40
rick_h_hatch: sorry to bring that up but glad it worked out. 22:40
hatchwell really it's just a symptom of a much larger issue - that we don't have a proper mock structure22:40
rick_h_it's JS :P 22:41
hatchtbh that should mean we could write one easier22:41
hatchbecause we can overwrite and inject whatever we want22:41
rick_h_right22:42
hatchwe might be able to do this mocking with Y.Do22:42
hatchi'll have to look into it at some point22:43
hatchsinon looks interesting22:46
hatchnot sure how it works with instances though22:47
rick_h_yea, we used sinon on something. I'm trying to recall which project22:48
rick_h_hatch: did we figure out what's up with CI?22:50
hatchrick_h_: gary was able to run it locally just fine so chalking it up to saucelabs/canonistack22:51
hatchpriority right now is on bundling22:52
rick_h_hatch: gotcha, cool22:52
rick_h_just saw an email so was curious22:52
hatchwell i need to get off this thing22:54
hatchttyl have a good night22:54
rick_h_c-ya22:55

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