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

=== schwuk_away is now known as schwuk
=== schwuk is now known as schwuk_away
=== schwuk_away is now known as schwuk
gary_posterHey rick_h.  Thank you for your reviews.  Made a reply because I'm still not resolved about the valueChange thing.  Tell me what you think.11:36
rick_hgary_poster: ok, looking now11:37
rick_hgary_poster: ignore me then. I could have sworn I twice opened all the collapsed sections of the diff and did a search in the file for that. 11:39
gary_posterrick_h, lol, cool, thanks.  will do the rest of the changes. :-)11:40
rick_hgary_poster: when I saw you added it I did a full page search looking for it, but I must have typo'd something stupid ... /me goes for more coffee11:40
gary_poster:-) np!11:40
hatchgood morning11:57
rick_hmorning hatch, early for you isn't it?12:04
hatchincredibly 12:04
hatchmy flight was delayed so I got in late, jet lagged and all that12:04
hatchnothing like taxiing out to take off and they saying there has been an issue and they need to go back to the gate haha12:06
rick_hdoh!12:06
hatchI'll be pretty much useless today so I put in a swap day request12:08
hatchrick_h, http://tympanus.net/Development/TripleViewLayout/ for the details tabview 12:08
rick_hnope, wtf is with that messing with the scroll bar?12:09
rick_hand you can't jump from first to last12:09
hatchthe articles are different lengths12:10
rick_hright, but I can't click on the scrollbar to move up/down?12:10
hatchoh what the heck12:10
hatchwell the UI is pretty cool, clearly this code woudln't fly hah12:11
rick_h:P12:11
hatchok going to try and get some more sleep! I'll try and make it back for the call12:12
benjibac: I reviewed https://code.launchpad.net/~bac/charmworld/readme/+merge/184387 12:55
bacthanks benji12:55
benjibac: do you know anything about Huw's branch?12:55
bacon friday he said he had a few changes from review to incorporate but ran out of time12:56
rick_hbenji: he didn't get it done. He ran into some issues on the build side I think. 12:56
bacbenji: i assume he returned home, so i'm unsure when he'll get to it12:56
rick_hyea, when we talked friday I got the impression he'd start back on his Tues, our Monday night12:56
bacbenji: which is a bit of a drag since i leaves my branch in limob12:57
baclimbo12:57
benjibac: yeah12:57
benjibac: your head is on "Add lp branch link to API results" are you really looking forward to that one or can I take it real quick12:58
gary_posterbac, is there anything you can do to land Huw's thing as a temporary step?  IOW is it reasonable to take over, and then land your branch?12:59
gary_posterjujugui, I need a second review of https://codereview.appspot.com/13385045/ when someone can12:59
benjigary_poster: I'll take a look13:00
bacgary_poster: sure i can do that.  i think he should be mighty close.  not sure what kind of build issues he saw as the mods to get the makefile running were trivial.  makes me wonder if i'm missing something.13:00
gary_posterthank you benji13:00
gary_posterbac cool.  just an idea to unblock you.13:00
adeuringabentley: I'm wokring on the exodus for fixed ES mappings. "bin/migrations prepare-upgrade" works fine, but when I run "bin/migrations opgrade", I get this error http://paste.ubuntu.com/6083418/13:12
abentleyadeuring: looking.13:13
bacbenji: the css handles the markdown types with extensions of 'md', 'markdown', or 'mkd'.  everything else is treated as plaintext. i think we're making up the rules as we go along so we could limit the extension to those three plus '' or '.txt'13:15
benjibac: sounds good; I assume markdown will render plain text in a reasonable way (or are we rendering it at all?)13:16
bacbenji: yes, the md is rendered very nicely13:16
rick_hbac: I think there was talk of having the proofing tools limit to md? and it's noted as policy in https://juju.ubuntu.com/docs/authors-charm-policy.html13:16
bacthanks rick_h13:16
rick_hbac: benji we copied the JS markdown -> html converter from charmworld if I recall13:17
bacrick_h: i wonder if they'll want a bundle proofing tool?13:17
rick_hbac: yea, we should bring that up to marcoceppi_ and jcastro as I think it makes sense. 13:18
rick_hespecially as they might 'grow' in the next release13:18
abentleyadeuring: I think the problem is that on your box, "charms" is a real index, while on production machines, it's an alias of an index.13:18
=== marcoceppi_ is now known as marcoceppi
bacrick_h: that page says .md, .txt, or .rst.  we don't support nice display of .rst13:18
bacfor charms or bundles13:18
adeuringabentley:  ah, thanks.13:18
rick_hbac: no, we don't support rst->html but it was a requested feature. Just low priority and never got to it13:18
marcoceppirick_h: bac: how aggressive of a linting tool?13:19
rick_hmarcoceppi: yea, that's the question I guess. Go through bundles and defined what we want to make sure is there. Right now it's just what, the deployer file, icon, and readme?13:19
bacmarcoceppi: probably just to verify the expected files are present and the bundles.yaml file is parsable yaml13:20
bacrick_h: that is correct13:20
jcastroI am fine with whatever guys13:20
rick_hmarcoceppi: yea, +1 on bac there. And then we could grow it as required. Though I think it'd be preferable to have one lint/proof tool 13:20
marcoceppirick_h bac: that sounds good to me. I only ask because there are some applications that add additional fields to the deployer that can be ignored but shouldn't prevent it from being used13:20
bacbundles.yaml, icon.svg, and some sort of readme.[md, txt, '']13:20
jcastro~charmers are doing .md for most things13:20
jcastrobut we have some .rst and .txt in there. 13:21
* marcoceppi pushes for everything markdown13:21
sinzuiWe are going to switch everything to md though?13:21
jcastrono13:21
jcastrosome people like hazmat prefer rst, but I didn't care enough to argue13:21
marcoceppiI think it should be suggested as the default format, but not required13:21
jcastroI prefer everything in the project be markdown. :)13:21
sinzuijcastro, I think I gave you a list of the rst files. I thought your intent was to change to md13:21
rick_hmarcoceppi: sure, when you create a template for a new one start with a .md file 13:22
jcastrosinzui: I changed them all I think13:22
jcastrobut like, we don't tell people "your readme is RST you suck"13:22
rick_hI'd bet nearly everyone sticks with what came 'out of the box'13:22
jcastroif we were to say "use markdown for everything" I would also not mind13:22
marcoceppirick_h: did you want the linting tool to live in charm-tools, or elsewhere?13:22
* marcoceppi can imagine a charm create --bundle command13:22
bacjcastro: right now, the only format we display in a rich rendering is md13:22
jcastrobac: it seems to me that you guys have better things to do than support RST. :)13:22
rick_hmarcoceppi: well I'd think that the same proof/lint tool can detect a charm vs a bundle and check appropriately?13:22
marcoceppirick_h: I would think so, yes13:23
rick_hmarcoceppi: so it'd be the same proof tool we use now13:23
bacjcastro: absolutely13:23
jcastroI could just propose we do markdown-only for everything?13:23
rick_hmarcoceppi: whereever that lives13:23
marcoceppirick_h: charm-tool13:23
marcoceppicharm-tools*13:23
jcastrohey sinzui, can you confirm that we did in fact move every README to md? 13:23
jcastroI am 95% sure I did that already13:23
jcastrobut it wouldn't hurt13:23
sinzuijcastro, I can. I lost the query when staging when tits up. I need to recreate it13:24
jcastroI'd be happy to finish converting them if there's any stragglers13:25
jcastroI am like president of the pure Markdown society13:25
rick_hmarcoceppi: so should I file both the bundle proof and bundle --create as bugs in charm-tools?13:28
marcoceppirick_h: yes please! if you could also include the directory structure of what is needed in a bundle for either (or an example of a bundle) I can make sure the proper templates are there13:29
rick_hbac: do we have a sample bundle charm that's in the store I can link to?13:29
gary_posterbenji, lol, thanks, will address :-)13:31
benji:)13:31
bacrick_h: yes, search for 'precise' and there are two at the bottom13:31
sinzuijcsackett, hangout?13:32
rick_hbac: oooh, sweet13:33
=== hazmat` is now known as hazmat
gary_posterI have another branch--very small--ready for review by one person: https://codereview.appspot.com/1362104313:43
benjigary_poster: I guess I can put off getting a cup of coffee for a couple of minutes13:45
gary_posterbenji, heh, ok thanks13:46
hatchhas anyone ever had a deepEqual fail but not report the diff?13:49
rick_hhatch: normally the diff is unsuable for me13:51
hatchyeah this is really irritating me13:51
benjibac: your head is on "Add lp branch link to API results" are you really looking forward to that one or can I take it real quick14:09
bacbenji: off with his head14:10
benjiheh14:10
bacmy head14:10
bacsinzui, abentley: do you know what tarmac does if i have an approved MP with a dependency on a pre-req branch that has not landed?14:13
abentleybac: It complains, and I believe it marks the MP "need-review".14:14
abentleybac: You have to land the prereq first.  Or you can do a new MP that includes all branches and land that.14:15
bacabentley: i wonder which huw would consider ruder?  :)14:16
bacthe cleanest thing would be for me to cause his branch to get landed...14:16
abentleybac: If his branch shouldn't land in its current form, you could make changes and then "re-submit", and use your own branch as the source branch.14:18
bacabentley: could i just resubmit my MP removing his as a pre-req?  it would then land with both branches included?14:23
abentleybac: Yes, you could.  That's like doing a new MP that includes all branches.14:24
bacabentley: that seems easiest.  thanks.14:25
hatchrick_h, FINALLY found the issue14:29
hatchugh14:29
rick_hhatch: oh, I thought it was working as designed. I've not seen it work better14:33
hatch      // when doing a deep equals on an object which contains a LazyModelList14:33
hatch      // call toArray() on it first else it will fail and it won't tell you why.14:33
hatch      attrs.relations = attrs.relations.toArray();14:33
hatchrick_h, ^^ there are my notes on it14:33
bacbenji: i've resubmitted my MP.  the one at https://code.launchpad.net/~bac/charmworld/readme/+merge/184590 contains huw's work, my changes, my fixes to huw's branch, and my fixes in response to your original review.  sadly it is huge14:53
benjibac: I think that is the right way to go, despite the sadness.  I'll undertake a review soonish.14:54
abentleybac: Could you ping me when your MP goes to "Approved"?  I am hacking on a new Jenkins for you.14:56
MakyoOops, reboot for updates.14:56
bacabentley: will do14:57
abentleysinzui: Could you please add juju-gui-bot to ce-orange-squad so that it can download the credentials?15:03
sinzuiabentley, done15:04
abentleysinzui: Thanks.  Confirmed working.15:04
rick_h_irc went boom, back now15:12
benjibac: the diff at https://code.launchpad.net/~bac/charmworld/readme/+merge/184590 doesn't look right15:42
bacbenji: in what way?15:44
benjibac: it seems to be missing some of Huw's changes, particularly the template changes15:45
benjibac: "The diff has been truncated for viewing"15:46
benjithat's what got me, once I downloaded the diff I see what I was expecting now15:46
bacok15:47
gary_posterjujugui call in 1015:50
rick_h_I miss all of our devices ringing off at the same moment15:50
hatchdo you? do you really?15:54
hatch*TRAIN SOUND*15:54
gary_posterjujugui call in 215:59
gary_posterbcsaller, call now16:01
hatchrick I'll need you to pm me the link16:16
hatchI'm not on my typical acct right now16:16
hatchrick_h_, ^16:16
rick_h_hatch: rgr16:16
luca__can someone explain scale up and scale out?16:22
hatchbcsaller, can you hop into our call?16:47
rick_h_bcsaller: ping, got a sec to chat databindings?16:47
hatchhah16:47
bcsalleryeah16:47
rick_h_bcsaller: https://plus.google.com/hangouts/_/1f48bd83e28661eebe401649dbb7d4bfa8666331?hl=en16:47
hatchok I'm stepping away from the computer, just ping if you need and I'll get back as soon as I can16:54
=== schwuk is now known as schwuk_away
benjibac: I'm finally done with https://code.launchpad.net/~bac/charmworld/readme/+merge/18459017:15
benjiI included a CSS patch to fix a small issue.17:15
bacthanks benji.  i'll look at it when i finish my cake17:15
benjiI'll eat my cake when I finish driving my Lamborghini to get my free massage.17:17
MakyoOur hacking file seems a little stale.  lbox, python-gf, and lags aren't found in standard repos or the PPAs specified.17:54
bacthanks for the patch benji.  it needs to be applied to bundle.pt too18:07
benjiah; I'm glad you knew that18:08
bacbenji: the cake was superb, too.  from a gas station near the outer banks.18:08
benjibeing from Tennessee, it would be unsafe to try gas station cake18:09
bacabentley: i'm about to mark my MP 'approved'.  stand back.18:10
bacbenji: the techroline adds a special something18:11
benjiheh18:11
abentleybac: Sorry, was lunching.18:37
bacabentley: it just got rejected due to unreviewed revisions.  i'll fix that now and mark it approved18:38
gary_poster*just* over 400 lines, so two reviewers needed: https://codereview.appspot.com/1347704418:46
* gary_poster goes to get some lunch18:46
bachey abentley, how do i get around this problem?  have huw added to the team?  https://code.launchpad.net/~bac/charmworld/readme/+merge/18459018:51
abentleybac: I guess so.  I haven't seen that before.  Maybe ask rick about it, since they've collaborated on branches, I think?18:53
bachey rick_h_ ^^18:53
rick_h_looking, I read the error that same way. 18:53
rick_h_when I did stuff though I'd just take his branch, pull it down, push my own new one, and there was only one branch, no pre-req18:54
rick_h_bac: from the sounds of things you labeled his as a pre-req branch vs just taking his branch over?18:54
bacrick_h_: basically the same here.  no pre-req on this MP18:54
bacrick_h_: originally, then i resubmitted without the pre-req18:55
rick_h_bac: hmm, no idea then. I never hit this when I'd bzr colo-branch my-copy && bzr merge lp:huw's copy && bzr push ~rharding/my-copy && lbox submit18:55
bacbut he'll still be an author on an unmerged revision18:55
bacrick_h_, abentley: at this point perhaps i should just manually push lp:charmworld18:56
abentleyrick_h_: did you always merge his branch into yours, never branch from his branch as a starting point?  I suspect that Tarmac only looks at mainline revisions.18:57
rick_h_abentley: correct, I'd always create my own branch, pull his changes in, and push it was my own branch. 18:58
rick_h_abentley: it would end up marking his branch as merged and seemed to work so never thought to do it another way18:58
abentleyrick_h_: pull his changes in or merge them in?  Big difference in how it looks in "bzr log".18:58
rick_h_abentley: bzr merge lp:~huw....18:59
abentleyrick_h_: Cool.18:59
rick_h_bac: so I'd just do that. Create a fresh branch from trunk, merge in the current work you've got there. Self review ok, link to the old review/comments, and try to submit that. 18:59
rick_h_bac: unless you're sure it's safe/testing is going to be ok. 19:00
abentleyrick_h_: Good point.  That should work around it.19:00
abentleybac: pushing is an option, and I've done that before, so I'd be a hypocrite to tell you you can't.  But I've also screwed things up by pushing, even though I was trying to be cautious.19:02
bacabentley: yeah, i'd rather let the machinery do the work.  i'm following rick_h_'s suggestion to see what happens.19:02
bacok, tarmac should be chewing on it soon19:06
rick_h_woot19:06
bacno whammies!19:06
rick_h_hah, I always think that stuff19:07
rick_h_make lint ... 'no whammies! "boom!"'19:07
abentleysinzui: AFAICT, Launchpad is lying to my trigger script.19:12
abentleysinzui: My browser gets a total_size of 1, but my trigger script gets 0, when I access https://api.launchpad.net/devel/~juju-jitsu/charmworld/trunk?ws.op=getMergeProposals&status=Approved19:12
* sinzui is looking19:15
abentleysinzui: The branch has landed now, so a total_size of 0 is now correct.19:16
sinzuiunderstood.19:16
sinzuiAs long as non-private branches are involved, anon will be fine. The Omnibus and security branches are the only MP factors that should be a problem 19:17
bacabentley, rick_h_: same result -- https://code.launchpad.net/~bac/charmworld/readme-mega/+merge/18466119:17
bactries something else19:18
sinzuiabentley, looking at the juju-project, I think I get sane results. https://api.launchpad.net/devel/juju-project?ws.op=getMergeProposals&status=Approved Have you eliminated timing and caching from scenario?19:21
abentleysinzui: No, I have not eliminated caching from this scenario.  I think it is very likely that caching is the culprit.19:22
abentleysinzui: But I think a minutes-long cache on an API is Just Wrong.19:23
abentleybac: I've looked at the tarmac code, and I see that considers the author of every revision.  I don't understand how this worked for rick, since huw would have been the author of some revisions.19:25
sinzuiabentley, I don't see any cache rules in the api response. Squid could be caching.19:26
abentleysinzui: Maybe it was Squid.  Something has to be caching; I was consistently getting one response in my browser and a different response from my script.19:27
sinzuiabentley, non-anonymous wont be cached. I think we always assume authenticated users are working with non-public mutable information19:28
abentleysinzui: I was hitting reload in my browser, so it would have been sending cache-disabling headers.  But both were accessing the same URL.19:29
sinzuiah, right19:29
bacabentley: in that case, for the long term the best solution is to add huw to the team19:30
sinzuiYes, we want how added to the team.19:31
abentleybac: Sounds like it.  I don't plan to reproduce that behaviour in Jenkins.19:32
bacsinzui: can you add him to the orangemen?19:32
sinzuiLp's franken-lander required people to be a member of a team composed of drivers, former drivers, and people listed on a wiki page who signed an agreement19:33
sinzuiI will19:33
abentleysinzui: So for copyright assignment reasons, we might want to restrict it to ~canonical for now.19:34
sinzuiabentley, yes, that is easiest19:34
sinzuibac: abentley I added huwshimi to ~ce-orange-squad to get him into ~juju-jitsu19:42
bacyay you19:42
sinzuiI really don't understand how his work was merged and landed before? Maybe he was removed from a team?19:42
* bac tries again. crosses fingers. fetches beverage.19:43
bacsinzui: only explanation i can think of19:43
sinzuioh, bac, abentley: I don't think he has any contributions to charmworld. Most of his work with orange was juju-gui19:44
abentleysinzui: Oh.19:44
sinzuiabentley, I see I can append bogus args to the api query. maybe we can append a timestamp to ensure non-cached content: &_ignore=123419:50
abentleysinzui: I'm investigating using PS's jenkins-launchpad plugin now.  It seems to be under heavy use and active development.19:52
sinzuigoody19:52
gary_posterthank you very much for review and qa rick_h_.  I'm inclined to treat it as a ~400 liner. :-) Are you comfortable being the only reviewer on that one, or should I pursue another?19:54
gary_postergiven your general preference alone, I'm expecting "another" :-)19:55
bacsinzui, abentley, rick_h_: after adding huw to the team the original mega branch landed.19:55
sinzuigood.19:56
gary_posterthank you for moving that forward, bac.  cool.19:56
bacgary_poster: moved it forward inches at a time19:56
gary_poster:-)19:56
benjibac: I made it harder than it needed to be before realizing the error of my ways, does this http://bazaar.launchpad.net/~benji/charmworld/add-lp-branch/revision/390?start_revid=390 satisfy the "Add lp branch link to API results" card, as far as you know?20:11
bacbenji: do we have a test that actually shows what is being returned for the API call?20:14
benjiI'll look.20:15
benjibac: yep: charmworld/views/tests/test_api.py:test_results_match20:17
baccool20:18
bacsuch a descriptive name.  bet i wrote that.  :)20:18
benjiheh20:23
rick_h_gary_poster: sure thing from here. 20:39
gary_postercool thanks rick_h_ 20:39
benjibac: the easiest review you'll do this month: https://code.launchpad.net/~benji/charmworld/add-lp-branch/+merge/18468020:40
bacfastest too20:41
hatchhey my fitbit started working again20:42
hatchof course after all the walking in London hah20:42
hatchrick_h_: how's the thing coming?20:42
rick_h_hatch: it's coming, EOD now and will try to get things finished tomorrow. 20:43
hatchcoolio20:43
rick_h_hatch: according to my fitbit, london was a 29.99mi week for me 20:44
rick_h_sun - friday, guess sat was another 220:45
hatchhaha nice and I probably walked more because of the days on either end....so yikers!20:45
rick_h_hatch: yea, that doesn't count the biking days really20:45
hatchso back now to sitting on my a** all week20:45
hatchlol20:46
rick_h_hatch: wheee!20:46
hatchhaha, actually this morning I walked to get some groceries....had to keep at least SOME activity going :)20:46
hatchI should really get you and gary on my fitbit20:48
hatchnot that I'll ever be able to get close to gary haha20:48
gary_posterShort review adding some nice UX cleanups: https://codereview.appspot.com/1336805121:16
gary_posterI only need 1 person (< 200 lines!)21:16
huwshimiMorning22:27

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