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

huwshimihatch: Any ideas how to not actually include that file in our build step?00:33
huwshimi(the yui3-skin-sam file)00:33
hatchumm00:34
hatchwhat's it called?00:34
huwshimihatch: I dunno. yui3-skin-sam.css?00:35
hatchoh crap, I was going to grep for it but I'm trying to fix my vm right now so I cant :)00:35
hatchso anyways, check in the make file, and the merge-files merge-files.js files00:35
huwshimihatch: Oh actually could it just be including the skin file for each widget?00:40
hatchthats possible too - or it was just copying the css over00:41
huwshimihatch: There's a this call which might be doing that: merge.getYUIFiles()00:43
hatchsorry I gota run for a couple hours00:43
hatchwhen I get back I can take a closer look00:43
huwshimihatch: It's all good, thanks :)00:44
gary_posterhuwshimi, hi!  I kicked comingsoon.  You should have regenerated images and css now.  Please report on the mailing list if you see some good changes.01:25
gary_posterhatch, gave you LGTM and QAOK.01:25
huwshimigary_poster: Thanks a lot!01:25
* gary_poster runs away again. 01:25
gary_posterwelcome :-)01:25
hatchhuwshimi: back03:34
hatchannnd my vm is bricked....awesomer!03:34
huwshimihatch: Oh dear03:37
hatchI'm mostly pissed that people in the real world are probably having the same issues03:37
huwshimihatch: I found this, it looks like this person is trying to do the same thing: http://yuilibrary.com/projects/yui3/ticket/253005703:38
hatchyeah - so were you able to find all instances of it in our codebase?03:39
huwshimihatch: Yeah, the only references were in our CSS or HTMl03:42
hatchoh ok awesome03:42
huwshimi(Which are all now gone)03:42
huwshimihatch: I would have thought it was a common thing to not include any of the base CSS.03:44
hatchyeah the GUI on this vm is totally borked03:58
hatchbasically it looks like vm's do not love 13.1004:02
huwshimiouch04:02
hatchlooks like people are having similar issues on virtual box and parallels04:03
hatchI guess when they made the changes to the display stuff noone checked to make sure it works in vm's :D04:03
hatchhuwshimi: did you happen to get your branches landed?04:05
hatcher branch?04:05
huwshimihatch: the yui skin one?04:05
hatchthe bundle labels one04:05
hatcher04:05
hatchsearch labels04:05
huwshimihatch: Oh, no I didn't. I'm happy to just change the labels or leave them with the flag. I don't think it matters that much, but if you or someone else has strong feelings I can fix it up...04:07
hatchnot strong feelings, I was just commenting because I don't really see what bennefit they give us :)04:08
hatch""it WILL be 'featured' next week, but today its 'featured charms'""04:08
hatch:D04:08
huwshimihatch: I'm happy to change it if you like :)04:10
hatchwell don't if there was a reason for the flag04:11
huwshimihatch: Nope, only cause Gary mentioned to do it that way :)04:13
hatch:)04:32
gary_posterhatch, not quite sure what you and huwshimi were referring to, but I'm happy to listen.  I probably can be convinced by whatever you prefer12:21
gary_posterrick_h__, do you want a re-review or are you good (deploy-quicksearch)?12:21
rick_h__gary_poster: I'm good, just wanted to publish the notes and take another look at the updated diff with the s/deploy/deployService12:21
rick_h__gary_poster: tryingto get lbox to go through before I leave for the dr appt12:22
gary_postercool, good luck. :-) any progress qith git/travis, or is that in the back seat for now?12:22
rick_h__and of course, some test pyjuju test is trying to make me cranky this morning12:22
gary_poster:-)12:23
rick_h__gary_poster: back seat, was going to play with it some at CHC tonight. 12:23
gary_postercool12:23
gary_posterwhatever CHC is :-)12:23
rick_h__gary_poster: but to do the github 'hook' you have to have a url you get POST'd to with a json payload12:23
rick_h__gary_poster: so was looking at what it would take to do that12:23
rick_h__gary_poster: sorry, coffeehousecoders http://royaloak.coffeehousecoders.com/12:23
rick_h__my weekly promised 'coding/social' time from my wife :)12:23
gary_posteroh, fun12:23
gary_poster:-)12:24
rick_h__ok, off to doc. Hopefully this submit will go through. /me shakes fist at lbox!12:25
gary_poster:-) bye12:25
gary_posterfrankban, welcome back. :-) approved expenses12:26
benjibac: can I get a quick review of https://codereview.appspot.com/19430043/12:32
bacbenji: sure12:32
benjithanks12:32
bacbenji: our path parsing is suboptimal.  :(12:33
benjiheh, yeah12:33
bacbenji: but this branch makes it less so.  thanks.  LBBGTM12:37
gary_posterFruitastic!12:42
bacbenji: is your card ready to move?12:51
benjibac: yep (to landing); I'll move it.12:51
bacyay, space12:51
bacgary_poster: if we're swarming on bundles is 5 the right lane limit?12:52
gary_posterprobly not, thanks.  thinking.  8 of us...I don't do much, staring out the window all day long...Francesco is only occasioanly working on this but is now...ok, I'll push it up to seven for now and will decrease to six soon after12:54
gary_posterDone12:54
bacty12:55
frankbangary_poster: thanks! :-) could you please ping me when you have a minute for a call?13:00
gary_posterack, will do13:03
frankbanthanks13:03
benjigary_poster: my timing is poor: rick_h__ is AFK and I'm ready to talk to him about the proof stuff.  Do you know enough to get me started?  Does he have WIP?13:03
gary_posterbenji, I think he's almost ready to start it.  I suggest looking at the normal priority ones13:04
benjik13:06
gary_posterfrankban, I am now having fun filing an RT.  Let me know when you are ready, and if you have a hangout or you want me to make one13:10
rick_h__benji: so I was going to start that card now that my current branch is landing13:19
rick_h__benji: can you request the deploy if you and bac are ok with it? I meant to get back with you guys after the call yesterday13:19
benjirick_h__: I don't see any reason we can't deploy.  This will be the first deploy I have requested (I think) so I'll look up the how-to.13:20
rick_h__benji: sec, I've got a doc I think to look at13:20
rick_h__benji: shared a gdoc with you. I think bac has a more official one, but this was my notes from my time requesting it13:21
frankbangary_poster: ready when you are, https://plus.google.com/hangouts/_/7acpjjctqbq3ojqji2r6llsln8?hl=en13:21
benjithanks13:21
rick_h__bah, gary_poster beat me to landing so I got the conflict :P13:22
benjiI hate google docs so much.13:27
rick_h__lol13:27
rick_h__brb, moving to coffee shop13:28
bachelpful tip, when paychex.com displays a message saying "System down for maintenance." it really means they don't support your browser.13:31
benjirick_h__: we don't want to update the charm, right?13:32
benji(It seems to me we should always update the charm, even if it doesn't need it, just for hygene.)13:33
rick_h__benji: oh hmm, I don't think we have any charm updates but not sure. 13:38
rick_h__bac: lol big business translations 13:38
bacbenji, rick_h__: are you looking at this doc https://docs.google.com/a/canonical.com/document/d/1G6IoLyDz3VSw7lMRL7QUbaKKXropxyVm3uOFYsqKSeU/edit#heading=h.rrofd67agcbz13:41
benjibac: nope, but Rick's is essentially the same.13:42
rick_h__bac: no, but that's the 'better doc' I mentioned. Just didn't have a link for it handy13:42
bacrick_h__: perhaps we should move to OneTrueDoc13:42
rick_h__bac: definitely, where is that one located in?13:43
rick_h__bac: I'm all for using it, just didn't have it handy and had a personal 'notes' doc that's mostly just copied irc conversations lines :)13:43
bacrick_h__: the one i just pasted is curtis' and it seems up-to-date13:43
rick_h__bac: ah, I was lookin in the charmworld folder for a doc13:44
bacrick_h__: if you have more info in yours perhaps you could add it to curtis'13:44
rick_h__bac: I foud it now in the juju-gui doc13:44
rick_h__errr folder13:44
bacbenji: i see you landed r432 of charmworld but it isn't deployed on staging.  did you use 'lbox submit'?13:44
benjibac: I did.  Darn!13:45
benjiMy next branch will be to disable lbox submit.13:45
benji(without disabling lbox propose)13:45
bacbenji: i think we can just change branch ownership.  i'll do that now.13:45
benjibac: k13:46
bacbenji: first, let me bump staging to r432.13:46
benjik13:46
gary_posterbac or benji, could you give me an example of the charmworld deployer file URL for bundles?  That is, the URL that the deployer can use?13:46
benjigary_poster: http://manage.jujucharms.com/~benji/bundle/wiki/5/wiki/json13:47
gary_posterperfect thanks benji13:47
rick_h__antdillon: if you get a sec, the '+' to deploy from the quicksearch has hit comingsoon. http://comingsoon.jujucharms.com/:flags:/charmworldv3/searchDeploy/13:52
rick_h__antdillon: that icon looks a bit tiny though. Can you double check/grab me an updated png if that's not correct please?13:52
benjirick_h__: deploy done13:52
rick_h__benji: awesome, thanks13:52
rick_h__http://manage.jujucharms.com/api/3/bundle/proof woot13:52
rick_h__marcoceppi: so the first stage of the proof url is on manage.jujucharms.com ^^13:53
marcoceppirick_h__: spectacular13:53
antdillonrick_h__, Sure13:53
rick_h__marcoceppi: please let me know when proof is updated and we'll get that updated in charmworld and proofing bundles on ingest13:53
marcoceppirick_h__: I'll run my tests and get 1.1 ready for release13:53
rick_h__benji: ^^ can do run in parallel once marcoceppi's proof update hits if you want. Just a heads up. I'm working on the relation proof bits now, but it won't change the api or how proof needs to get added to bundle ingest13:54
rick_h__bah, "can be" man wtf is today monday?13:54
gary_posterbenji, so the best way to generate that URL from https://manage.jujucharms.com/api/3/bundle/~benji/wiki/wiki/ is to use the given id, insert "bundle" after the name, prefix the charmworld root, and suffix with "json"?13:54
rick_h__gary_poster: I think the *version* is required? /me double checks13:55
rick_h__gary_poster: nvm, ignore me. Guess not13:56
gary_poster:-)13:56
gary_posterbenji, would it be both trivial and better to add a "deployer_file_url" key or similar?13:56
gary_posterbac or rick_h__ opinions also welcome13:56
rick_h__gary_poster: well I would prefer it if it was an api url myself, but that was a point of discussion among us previously13:57
gary_posteroh13:57
rick_h__https://manage.jujucharms.com/api/3/bundle/~benji/wiki/wiki/data or something13:57
* gary_poster steps on landmine BOOM13:57
hatchmorning13:57
benjigary_poster: yep, a pointer to the deployer file from the JSON would be good13:57
rick_h__we can support adding a trailing /someting to pull the deployer file straight from the api url we already have13:57
gary_posteryeah I wondered about that.  I'd be OK with either13:58
rick_h__or we can add a new key to the deployer dict of data, so yes, there's a couple trivial ways to do it13:58
gary_posterbut we already have the other support13:58
gary_posterright13:58
gary_posterseems like adding a key to the API output would be fastest and reasonable13:58
bacbenji: staging is now on 43213:59
benjibac: cool13:59
benjiwe should add the current revno to the heartbeat page13:59
rick_h__benji: +1 it was always talked about but never done13:59
gary_posterbac, benji, rick_h__ I will make a high priority card for this, because it will really make the deploy tab make more sense than it does now.  volunteers welcome.  I think proof is more important than this, though, fwiw.  I welcome disagreement on my relative prioritization of this14:01
benji+114:01
antdillonrick_h__, I think they also look a little like close icons because of the colour but I'm grabbing a designer/UX :P14:01
rick_h__antdillon: thanks, it's behind a feature flag so not exposed to users yet. Appreciate you peeking at it and agree it needs a little more <314:02
antdillonrick_h__, Luca is not about as he has been recalled to Oakland ... poor guy ... spoke to spencer who checked the design and said it matches so I guess it's good14:06
rick_h__antdillon: ok, yea I mean I landed it since it does match the design. Just think it's not really looking as good as hoped in real life. 14:06
rick_h__antdillon: appreciate it if we could put something on the back burner maybe to see what luca thinks when he's back as I know search is his baby14:07
antdillonrick_h__, I will suggest we work out a hover and possibly a click state for the button. We have designs for them14:07
rick_h__antdillon: hmmm, hover for just that icon?14:07
antdillonrick_h__, Also could it have a few px padding to increase the hit area so you dont have to be a sniper to get it14:07
rick_h__antdillon: we have a hover effect/color change for the item as a whole14:07
rick_h__antdillon: yea, if we were to do a bigger icon I figured that would help so didn't do the padding for now14:08
rick_h__antdillon: but can look at doing that as a quick drive-by 'tweak' to make it a bit nicer14:08
antdillonrick_h__, Let me get the design for the tick box on inspector its quite close14:10
hatchgary_poster: any card in mind that you'd like done?14:10
antdillonhatch, Morning, my branch is good for review if you have a min#14:10
hatchsure thing14:11
antdillonhatch, Thanks!14:11
rick_h__adeuring: ping14:12
rick_h__adeuring: can you add the bzr revno in that heartbeat branch you've put up real quick as a drive-by please?14:12
hatchantdillon: is there a bundle/charm that shows it working?14:12
adeuringrick_h__: nice idea, but let me add that to a follow-up branch; I want to add more heartbeat data anyway14:12
rick_h__adeuring: ok, thanks. benji bac ^^ any other requests while adeuring is tweaking heartbeat?14:13
antdillonhatch, Yeah try "workitems-tracker"14:13
gary_posterhatch, yeah, helping ant sounds good.  after that, any card in bundles is good, preferring high and then normal.  non-blocked JS-only ones include "bundle details opens with service selected..." (which I *think* has some tricky svg work because we have to make our own squircle, but I could be wrong; or import control; or you can take over on an import bug diagnosis I'm doing for Maarten Ectors for a yaml file he gav14:13
gary_postere me.14:13
benjiif it is (very) easy, uptime (since we only have one backend app server it will be an easy way to verify deployments and restarts)14:14
rick_h__adeuring: ^ ?14:14
antdillonrick_h__, https://drive.google.com/a/canonical.com/file/d/0B2sqJRO7vy3ZZ2N0XzlTUTZSYnM/edit?usp=sharing14:14
adeuringrick_h__, benji; nice idea; I'll add it14:15
rick_h__antdillon: that doesn't have the deploy button though in the search results from what I can see?14:15
bacrick_h__, adeuring: revno and uptime would be swell14:15
rick_h__antdillon: or were you linking me that for another reason?14:15
rick_h__thanks a ton adeuring!14:16
antdillonrick_h__, No but has a the notifications list checkbox, my guess is Luca will want states for the icon14:16
hatchgary_poster: ok sounds good14:16
rick_h__antdillon: I'm confused. So the + should be a checkbox? Or you just mean you guys want to generate a hover state for hte + icon and get that to us to update?14:17
hatchantdillon: so if the url in the description is a link then it's working?14:17
antdillonrick_h__, Yes they will need to review and will get hover and maybe click states once Luca lands14:18
rick_h__antdillon: ok, well will put it on hold and leave it as is for now then. Thanks for checking up.14:18
antdillonhatch, Yes and also the links the commits, check mySQL or wordpress for that one14:18
antdillonrick_h__, Np14:18
hatchcool looks to be working good here14:19
hatchantdillon: it's being proposed now14:22
antdillonhatch, Thanks a lot14:22
hatchgary_poster: so the service selected thing....that means just pick any service on the canvas and select it and add in a 'clicking a service adds a ring around it' ?14:24
gary_posterhatch, yes14:24
gary_posterhatch, squircle in particular, per design14:25
gary_posterhatch, squircle selection thing should always be in play14:25
hatchhmmm14:25
gary_posterthat is, if someone clicks on a service, squircle should show up there14:25
hatchwell what the heck it's about time I learn svg anyways :)14:26
gary_posterI started trying to make my own svg squircle at the time.  there are a few generators and then I put it in inkscape to shrink.  I would do a pre-imp with Makyo first though14:26
gary_posterI was just playing one night at the sprint14:26
hatchohh - I was thiking of generating it on the fly14:27
hatchcan d3 not do that for us?14:27
jcastrogary_poster, for these bundles I am working on14:27
gary_postersquircle is not a common-enough shape14:27
jcastroyou don't support showing colocation on the gui do you14:27
hatchahh14:27
jcastroor can I do like "all in one wordpress"14:27
hatchantdillon: https://codereview.appspot.com/19790044/ submitting now14:28
gary_posterjcastro, nope. :-/ and colocation in gui is being pushed back to post 14.04 unless I can find a way to sneak it in :-/14:28
jcastrough, what?14:28
jcastrodidn't know that14:28
gary_posteryup14:28
gary_posterother company-internal priorities took over14:28
jcastroso ... will the bundle work or just look wrong?14:28
hatchand of course there are conflicts haha14:29
gary_posterjcastro, I think it will work.14:29
jcastrook so I should give you split up bundles, not colocated ones?14:29
gary_posterjcastro, I *think* the GUI will just not show you that you are on the same machine, unless you look really close14:29
antdillonhatch, Awesome, thanks14:29
gary_posterjcastro, yeah, I suggest we do not colocated for now.  We can strategize about colocated later14:29
benjiheh, the charmworld addition of assertNoException to TestCase is funny14:29
jcastrogary_poster, also, when bundles v1 lands ... what does the CLI of deploying it from the charm store look like?14:30
jcastrolike can I do `juju-deployer <flags> http://jujucharms.com/blah`?14:30
benjievil, in fact; it will hide assertion errors in tests14:31
gary_posterjcastro, yes.  We will be filling in the exact files to this page, but as preview: http://comingsoon.jujucharms.com/sidebar/search/bundle/~hatch/wiki/7/TestBundle/:flags:/charmworldv3/?text=hatch#bws-deploy14:31
jcastrojuju quickstart <path to deployer file>    <--- awesome!14:32
hatchantdillon: another thing to add to your list of things to do....merge in trunk pre-push ;)14:32
rick_h__hatch: it's been a busy trunk today for what it's worth14:32
hatchoh that's fine14:33
antdillonhatch, Ah lol it was :(14:33
hatchthe conflict was easy to resolve :)14:33
jcastrogary_poster, one more question! The deployer files can be deployed from the store though right? 14:33
jcastrolike if I wanted to tell someone "here's the URL for the best wordpress bundle" and then they don't have to like download the deployer file each time, etc.14:34
hatchantdillon: except now qa doesn't pass14:34
gary_posterjcastro, not sure what you mean, but...ah, yes.  Correct.14:34
jcastroright,14:34
jcastrojuju quickstart http://blah14:34
antdillonhatch, Damn ... so close14:35
gary_posterthat wil work, and also "juju quickstart bundle:~hatch/wiki/7/TestBundle" will work, jcastro14:35
hatchantdillon: do you have time right now to debug it?14:35
gary_poster(but deployer will only support the http ones)14:35
jcastrogot it14:35
antdillonhatch, I make time14:35
benjiah, it won't hide AssertionErrors... but it's still silly 14:35
antdillonhatch, Not all of it, just for this14:36
jcastroand as far as workflow etc, as far as people submitting bundles, I know we agreed to make them the same as charms14:36
jcastrobut like will this be a separate page in the docs or?14:36
hatchantdillon: :) sounds good - so the conflict is because tmplData was renamed to templateData14:36
antdillonAh ok, easy enough14:36
hatchbut the error is visible when you try to view the mysql charm, it throws an error that recent_commits is undefined14:36
rick_h__jcastro: Makyo submitted a doc update to evilnickveitch, I believe, for bundles. 14:37
jcastroah, perfect, thanks14:37
antdillonhatch, So there need error checking there14:38
hatchguess it's a good thing I merged and re-qa'd lol14:39
antdillonhatch, Good catch!14:39
bacjujugui: i'm moving the trunk for charmworld on launchpad right now.  please don't land anything until i'm done.14:41
rick_h__bac: rgr14:41
jcastrorick_h__, where'd you guys hide the ability to show all charms again?14:44
rick_h__jcastro: heh, manage.jujucharms.com? http://manage.jujucharms.com/charms ? 14:45
rick_h__jcastro: otherwise wait for this to load https://jujucharms.com/fullscreen/search/?text=14:45
rick_h__(empty search)14:45
jcastrohuh weird, empty search wasn't working for me14:46
jcastrooh, you url hacked it?14:46
rick_h__jcastro: yea, you should be able to replicate just by hitting <enter> in the search field14:46
rick_h__jcastro: yea, <enter> in the jujucharms.com search field works for me :/14:47
rick_h__it just takes many seconds to load due to pulling the giant json api call and rendering all the tokens14:49
jcastrook I have 5 bundles14:49
jcastrowith the discourse one I gave you that gives us 614:50
rick_h__jcastro: coolio, enough to flesh out the featured section14:50
jcastrough14:50
jcastrodude you are killing me14:50
rick_h__jcastro: how so?14:50
jcastrothe GUI exports "cs:precise/jenkins-8" and so on14:50
jcastromind if I cut out the -8 and all the version URLs?14:50
rick_h__jcastro: yea, I mean if you export a bundle and want to load it in another env it should be exactly the same14:50
rick_h__jcastro: pulling out the version is ok/safe14:51
jcastrofair enough14:51
rick_h__jcastro: but I think that's not the best behaviour for users in real scenarios14:51
Makyojujugui call in 914:51
rick_h__ah crap, /me runs back to house14:51
bacbenji: join call now so i can ask you some questions?14:52
benjibac: sure14:52
jcastrorick_h__, sure, but for people who want a wordpress blog I want them getting the latest one14:52
jcastrohatch, did you ever get your ghost stuff in launchpad? That'd be a cool bundle14:53
jcastrorick_h__, ok, should I send these to you?14:53
hatchjcastro: nope my night was busy, and then my VM decided to explode14:53
hatchI seem to have a difficult time keeping Ubuntu running14:54
gary_posterjcastro, sometimes we want exact bundles, sometimes we want most recent bundles.  medium term--soon enough--I think it will be good if we provide versions in our default descriptions, as we do now, but we communicate that a new version is available.  should be easy enough in gui.  less easy elsewhere, perhaps.  but being precise is a good place to start IMO14:55
* jcastro nods14:55
jcastrook so these are simple ones I got right now14:55
jcastroI'll make some with crazy monitoring, etc. too14:55
jcastrobut those will require testing14:55
jcastrothese should be enough to unblock you though14:55
gary_posterawesome thanks jcastro.  are these approved/recommended also?14:56
jcastroI stuck to all charms in the store already14:56
gary_postergood14:56
jcastroso these should be safe/recommended14:56
gary_posterjcastro, I mean, are the bundles promulgated14:56
jcastrono, they're on my disk14:56
gary_posteroh! duh14:56
gary_postersorry14:56
jcastroI was like man, we can do that?14:57
gary_posterheh, yeah14:57
jcastrothat would be cool!14:57
gary_posterthat's what we want14:57
jcastrogot it14:57
gary_postercool thanks14:57
jcastrook so what steps do I follow for that? the doc that bzc gave nick?14:57
jcastrothe one with the "it must be in this crazy long url" :p14:57
gary_posterheh14:57
jcastrolp:~<your launchpad id>/charms/bundles/<your bundle name>/bundle14:58
jcastrodo those promulgate? or do I need to propose it to something after that?14:58
gary_posterrick_h__, can you help jcastro with getting bundle in store?  jcastro, https://docs.google.com/a/canonical.com/document/d/1paE70HEVgKA6LIjngzMa83OYr5jkZrOJ0hVNrYUuva0/edit# should start you maybe?14:58
Makyojujugui call in 114:59
gary_posterthanks Makyo14:59
jcastroI'll follow that and catch you guys on the flipside of the meeting14:59
gary_posterthanks15:00
hatchrick_h__: what was the blocker?15:20
rick_h__hatch: running CI before auto landing a branch once it got a LGTM15:20
benjibac: you were going to stay15:21
hatchohh I thought it had a onComment hook15:21
antdillonhatch, Fixed up the linkify branch when you have time15:21
hatchantdillon: cool thanks15:21
gary_posterhe *said* he was going to stay15:21
rick_h__hatch: yes, and you can force a re-run of a travis-ci build, however you can't feed any info to that build to say "This time, in your after_success hook, go ahead and merge with trunk and close this pull request"15:21
rick_h__hatch: so the api needs updating to allow data passed to the 're-build this CI build with this extra 'approved' flag'15:22
rick_h__hatch: which isn't happening15:22
hatchahhh15:23
hatchhmm15:23
rick_h__jcastro: cool so you want to push this up? So from that google doc you need to create a bzr repo with them in it, push them to that url, and then promulgate them like charms. 15:23
hatchwell...right now even after lgtm we have ot manually trigger it15:23
hatchso I suppose that's not really an issue15:23
hatchright now being, with lbox15:23
rick_h__hatch: so the issue is that you manually trigger and it runs for 7min. Then you have to MAKE SURE you come back in that 7min and land it15:23
* benji waits for bac to come back.15:24
rick_h__hatch: right, the other thing to do is to recreate lbox submit and try to work the flow into a manual step there15:24
hatchdoesn't lbox do that right now?15:24
bacjujugui: charmworld trunk is now owned by ~juju-gui-bot.  rejoice15:24
benjiyay15:24
bacbenji: hangout?15:24
gary_posteryay15:24
* Makyo commences rejoicing.15:24
benjibac: https://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.j0rk5d371ph8331ijtf48t2uj0?authuser=115:24
rick_h__bac: woot15:24
hatchrick_h__: can the local script get a notification that it passed successfully?15:24
rick_h__hatch: it'd have to poll/ping15:24
rick_h__hatch: but if it lives as a service somewhere, the after_success hook could ping something15:25
rick_h__hatch: I'm looking at stridercd and wonder if we could self-host something that could do it, but don't know enough about it yet15:25
hatchahh....hmm how unfortunate15:25
rick_h__hatch: otherwise it's basically setup jenkins + a bunch of scripts15:25
hatchyah...which kind of sucks15:26
rick_h__hatch: but that'll take time to try out/setup get right15:26
rick_h__hatch: and I'm doing this on my own time right now15:26
gary_posterI forgot to say that our bundle deploy developer story is the broke, because errors don't give helpful info and I can't get breakpoints to stop where I expect them to in Chrome. :-(  Maybe the second issue is PEBKAC, but the first is real.  I'm going to investigate and make a card once I know more15:26
rick_h__gary_poster: the quickstart deploy? or from the gui itself?15:27
gary_postergui15:27
rick_h__gary_poster: hmm, well there's not much to break into right? I mean it loads the file and calls out to the deployer and just gets back whatever comes back from the delta? /me should look at the code before speaking...but wth :)15:27
gary_posterrick_h__, :-) this is with the sandbox15:28
hatchrick_h__: so does this mean that travis doesn't really give us anything if we have to switch to jenkins anyways?15:28
gary_posterrick_h__, is there a way to run a bundle through the charmworld proofer right now?  I'd like to see if it can tell me what is wrong with Maarten Ector's files15:29
rick_h__hatch: correct, travis is cool, but the lack of the ability to trigger a new build via the api or to pass data to builds we re-start means we cannot run tests before LGTM lands the branch15:29
rick_h__gary_poster: yes, sec15:29
gary_posterthanks15:29
hatchrick_h__: yeah that kind of sucks...I wonder if the pro version adds these things15:30
hatchif not, it sounds like it's a pretty basic tool15:30
rick_h__hatch: no, it's relying on users to do the merge or for something else to pick it up and do it. It's a gap in the feature set imo, but from irc they're not sold it's their job15:30
rick_h__gary_poster: http://paste.mitechie.com/raw/1058/15:31
rick_h__gary_poster: now that's using the tools I used to dev/check things15:31
gary_posterrick_h__, awesome thank you15:31
rick_h__gary_poster: feel free to swap httpie/curl or whatever if you prefer15:31
gary_posterack15:31
rick_h__bac: if you get a second, see jcastro's request for some more cli examples in the bundles doc https://docs.google.com/a/canonical.com/document/d/1paE70HEVgKA6LIjngzMa83OYr5jkZrOJ0hVNrYUuva0/edit15:32
bacrick_h__: ok, thanks15:32
jcastrobac, here's what we do for charms15:33
jcastrohttps://juju.ubuntu.com/docs/authors-charm-store.html#submitting15:33
hatchrick_h__: ahh gotcha15:33
jcastrowe'd basically need those kind of steps, but for bundles15:33
* bac looks15:39
hatchI'm not sure which is worse, the wiki search or the charm search :P15:39
rick_h__lol15:39
rick_h__hatch: how is charm search letting you down?15:39
hatchrick_h__: haha no the wiki one is15:39
hatchits index must be....basic :)15:40
rick_h__hatch: yea, I think it's simple wordpress mysql fulltext 15:40
bacjcastro: the google doc we wrote was for nick use to craft docs for juju.ubuntu.com not as a final product.  i've not gotten any feedback from him.  but i'm happy to add whatever you want to that google doc.15:41
jcastrooh ok15:41
gary_posterrick_h__, proofer found a bug in our bundle export (we should honor option type) so that's good. :-) thank you15:43
rick_h__gary_poster: awesomeness15:43
rick_h__I love it when a plan comes together15:43
gary_posterHey hatch, do you have a minute to help check something out?  I feel like I'm encountering a Chrome debugging problem, but I want another pair of eyes15:49
hatchsure15:49
rick_h__antdillon: nice blog post!15:49
gary_posterwhere blog?15:49
hatchrick_h__: link?15:49
rick_h__http://design.canonical.com/2013/10/cloud-sprint-what-ive-learned-about-testing-and-code-reviews/15:49
hatchcool thx15:49
hatchgary_poster: have a hangout url?15:50
gary_posterhatch https://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.j0rk5d371ph8331ijtf48t2uj015:50
gary_postersorry was looking at blog :-) nice post antdillon 15:50
hatchI now have the new hangouts15:50
antdillongary_poster, rick_h__ Thanks, you guys were the stars!15:52
MakyoTimeboxing the autoposition stuff, saving it at lp:~makyo/juju-gui/investigate-autopos couldn't find a clean way to get the centering stuff to work with it without being hacky, so I'll come back to it later.16:04
Makyogary_poster, next step?  Just pick a bundle card?16:04
hatchMakyo: lets pair on my branch16:04
hatchjust in a call right now16:04
Makyohatch, okay16:05
hatchMakyo: https://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.j0rk5d371ph8331ijtf48t2uj0?authuser=116:08
hatchso I'm back to the old hangouts....lol16:08
hatchso confusing16:08
rick_h__gary_poster: watching the charmers hangout and having them fight with the name to use for the 'deployer file' that contains multiple bundles I realized we've got a disconnect between quickstart and the gui bundle support. 16:16
rick_h__gary_poster: in the gui, we push the whole deployer file through16:16
rick_h__gary_poster: but in the quickstart we ask you to select the bundle in that file to actually deploy16:16
gary_posterrick_h__, if there is only one it is automatic16:16
gary_posterI think that helps?16:16
rick_h__gary_poster: right, but from the gui, if we pull marcoceppi's "wordpress" deployer file that contains bundles for 'basic', 'w/memcache', 'ha' versions16:17
rick_h__the gui will try to deploy all three right now16:17
rick_h__gary_poster: where the quickstart will ask you to select from basic, ha, etc16:17
gary_posterrick_h__, why would you do that in the GUI?  We separate things in charmworld.  confused16:17
rick_h__gary_poster: oh, /me goes to check ingest. Missed/forgot that it split a deployer up. 16:18
gary_posterrick_h__, that's the second name in the url16:19
rick_h__gary_poster: ah right, the basket/bundle bit16:19
rick_h__gary_poster: ok, yea. Just forgot that as the examples we've done have been all simple one-one16:19
* rick_h__ is happy to have been mistaken16:19
gary_posterrick_h__, right.  So, bundle:~marcoceppi/wordpress/6/ha16:20
rick_h__gary_poster: yea, will be interseting to see how well that reads/searches in the gui then. 16:20
gary_posterrick_h__, they are treated as completely separate in the gui16:20
gary_posterrick_h__, we want related bundles in the future16:21
gary_postershould be trivial16:21
gary_posterthey point to the other bundles in the basket16:21
rick_h__gary_poster: right, I'm looking to see if we're displaying 'wordpress' or 'ha' has the name then in the gui? and if it should be somethig like 'wordpress/ha'16:21
gary_posterrick_h__, for instance, concrete example: http://comingsoon.jujucharms.com/sidebar/search/bundle/~hatch/wiki/6/envExport/:flags:/charmworldv3/?text=hatch16:22
=== rogpeppe2 is now known as rogpeppe
gary_posterwiki == wordpress, envExport == ha16:22
rick_h__gary_poster: right, and it won't come up for a search for 'wiki'. So if I was looking for 'wiki bundles' I wouldn't see this one which is why we're searching for 'hatch' 16:23
rick_h__gary_poster: or am I just confused on the user experience on this?16:23
rick_h__e.g. http://comingsoon.jujucharms.com/sidebar/search/bundle/~makyo/openstack/1/envExport/:flags:/charmworldv3/?text=envExport16:24
gary_posterrick_h__, going to be late for lunch, have to run16:24
rick_h__two very different bundles, found via a search for 'envExport' 16:24
rick_h__gary_poster: rgr, have fun!16:24
gary_posterthx16:24
hazmatjujugui, just a heads up and search for feedback re unit placement in deployer..  rough capabilities outlined here http://pastebin.ubuntu.com/6330874/  .. tl/dr ditched machine placement in favor of deploy-with emulation, ie. to: service16:36
rick_h__hatch: got a sec to chat?17:16
hatchrick_h__: 2 mins?17:16
rick_h__hatch: rgr17:16
hatchnoice done17:19
hatchrick_h__: link?17:19
rick_h__hatch: https://plus.google.com/hangouts/_/76cpip79jiokcbcjn1g80l5po4?hl=en17:19
hatchMakyo: so I have the highlight working and whatnot now17:31
hatchbut it looks like garbage17:31
rick_h__hazmat: is there really the idea of an relation without an endpoint? /me is looking at http://bazaar.launchpad.net/~juju-deployers/juju-deployer/trunk/view/head:/deployer/relation.py17:32
hatchhave a quick second to take a peek?17:32
Makyohatch, sure17:32
hatchjoin in the link that rick posted above :)17:32
hazmatrick_h__, well a relation with one endpoint is a peer relation17:32
rick_h__hazmat: so if the endpoint is mysql vs mysql:db it's the peer relation? and it just *knows* as there can be only one?17:33
hazmatrick_h__, most of the peer disambiguation comes from charm examination where the rel type is specified17:34
hazmatmysql vs mysql:db  is just qualified vs unqualified endpoint name17:35
hazmatie juju add-relation mysql wordpress and juju add-relation mysql:db wordpress are equivalent17:35
hazmatqualified is needed in the case of ambiguity like adding a relation between mysql and mediawiki (which has both master/main and slave db rels to mysql)17:35
rick_h__hazmat: ok, so if there's no qualifier on the endpoint it's assumed to be the first one in the list? Or some sort of set(mysql) intersect set(wordpress) 17:36
hazmatrick_h__, i'm not really understanding the question.. a relation with a single endpoint must be a peer relation if its valid, qualified vs unqualified is only relevant/required for cases of ambiguity.17:40
rick_h__hazmat: well your mysql to wordpress example isn't peer?17:40
rick_h__hazmat: mysql has a peer relation of 'cluster' from what I can tell and not sure how that would work to wordpress17:40
hazmatrick_h__, no.. a peer relation is only a service's relation to itself.. the mysql/wordpress and mediawiki examples are all client/server17:40
hazmatrick_h__, peer relations can't be made between services, they are intra service relation, vs client/server as inter-service relations17:41
rick_h__hazmat: ok, so juju add-relation mysql wordpress does not specify which endpoint, just services. (forget peers for the moment) so it'd be valid to have in the deployer relations: [ [ "mysql", "wordpress" ] ] ?17:42
hazmatrick_h__, the service is the endpoint17:42
hazmatie juju add-relation <service_name:rel_name> <service_name:rel_name>17:43
hazmat<> == endpoint17:43
hazmatand really its <service_name[:rel_name> 17:43
hazmatoops17:43
hazmat <service_name[:rel_name]> 17:43
rick_h__hazmat: sorry, I'm doing poorly at picking names to use. I want to call the key name (website) the endpoint and wordpress the service17:43
hazmatyes re your deployer relations, that's valid17:44
rick_h__I'm trying to figure out how to validate [ [ "mysql", "wordpress" ] ] as a relation from a deployer file matching up https://manage.jujucharms.com/api/3/charm/precise/wordpress and https://manage.jujucharms.com/api/3/charm/precise/mysql17:44
rick_h__hazmat: so ok, that's valid and the way it's valid is that juju does some work to match up the two services and finds a common relation to build? Just first available?17:45
hatchrick_h__: hazmat hey were you guys inviting me to a call?17:45
hazmatah.. cool. so let's explore the use case17:45
hatchcan you link it here?17:45
hazmatargh.. pythonhosted doc site is down.. or i could link to deployer docs17:45
rick_h__hatch: we're just chatting in irc atm. We can move to a call if it'll help17:45
hazmatrick_h__, let's move to g+17:46
hatchnope I just had a ton of hangout requests on my phone for some reason17:46
rick_h__hatch: yea, I'm looking at http://bazaar.launchpad.net/~juju-deployers/juju-deployer/trunk/view/head:/deployer/relation.py17:46
hatchsaid it was you guys inviting me haha17:46
rick_h__hatch: hazmat https://plus.google.com/hangouts/_/7ecpjqd9br9gv2ar0e17d70tkk?hl=en17:46
hazmatrick_h__, http://pythonhosted.org/juju-deployer/config.html#relations17:46
rick_h__hazmat: ah, that makes it clear17:47
hazmatwell, not sure it actually answers your question17:47
benjibac: [I was at lunch.]  My phone reminds me, but your concern is noted and appreciated.18:07
bacbenji: quick doc-only review: https://codereview.appspot.com/1989004318:08
* benji looks18:08
bacbenji: you can get even with the nagging tomorrow!18:08
benjibac: I'll need a reminder for that.18:09
hatchMakyo: so apparently a squircle is a real thing - not just rounded corners so I'll create one of those and then place it behind the service icon so that should hopefully get rid of the ugly gaps18:27
Makyohatch, yeah, it's just a matter of finding the right angles.18:27
MakyoIf not, punt to design; they'll already have that info.18:28
hatchyeah it doesn't look like it's quite a squircle either after fudging with it :)18:36
hatchit's a touch taller than wider18:36
hatchat least the 'generic' icon is18:36
hatchso I'll leave as is and get a proper one from design18:36
rick_h__lol @ " so apparently a squircle is a real thing"18:36
hatchhaha - I just assumed it was a square with rounded cornders18:37
hatchblah18:37
hatchcorners18:37
bacbenji: do you know LGTM reviews on rietveld are moved to LP merge proposals?  is that a side-effect of 'lbox submit'?  if so, that's a problem.18:39
bacs/know LGTM/know when LGTM/18:39
benjibac: I'm pretty sure it is because LP is subscribed to the RV emails18:39
bacbenji: your review is not shown on LP so 'bzr rv-submit' fails unless i use --force18:40
benjihrm18:40
bacbenji: which is ironic given the content of this branch18:40
rick_h__bac: is that the email from sinzui?18:40
bacrick_h__: no, those are separate.  he was just pointing out you can do it all on LP without using lbox.18:41
rick_h__bac: ah ok. Wondered if it was an issue with the owner movement and watching emails18:41
benjibac: heh, indeed18:41
bacbenji: as to your nit, there is an irc client called 'rooms' which i blame for my confusion.  i'll try to remember IRC = modern CB18:42
benjiheh18:43
bacbenji: your branch from earlier today did not get the rv comments moved to the LP mp: https://code.launchpad.net/~benji/charmworld/bug-1229179/+merge/19313118:51
bacso that branch is merged with no approval votes18:52
benji:(18:52
benjiare we the first people to use rv-submit?18:52
bacbenji: compare to https://code.launchpad.net/~bac/juju-gui/bundle-change-log/+merge/19313418:54
bacbenji: i used it week before sprint18:54
baci guess i may try with --force to see what it does18:54
benjibac: it is odd that Jeff's comment is in LP but mine is not18:55
bacbenji: i just replied to your review on my reitveld.  i noted mp+193298@code.launchpad.net was a recipient.  the comment got posted at LP.  i wonder if the email from google just got dropped.18:59
benjior maybe there is something about my emails that it doesn't like19:00
bacbenji: try another LGTM msg19:00
benjibac: I am known to RV as  benji.york@gmail.com, but LP knows me as benji@benjiyork.com and benji.york@canonical.com19:01
bacbenji: have your reviews not made it through in the past?19:01
benji<shrug>19:01
bacbenji: OH, on yesterday's review of my branch jeff's made it but yours did not.  that's what you meant.  hmm, that does make you look like a culprit.19:02
bacbenji: would it kill you to add that email address to LP?19:02
benjibac: done19:02
hatchjujugui lf a reivew/qa for https://codereview.appspot.com/19920043/19:26
hatchjust updating some small cleanups for that branch right now19:29
* benji heads out for a bit19:41
sinzuibac, I added ~juju-gui-developer to ~ce-orange-squad to ensure everyone has maintainer privs in charmworld. gary_poster needs to accept the team invite19:42
gary_posterok on it19:42
gary_posteruh, I don't see the email.  Trying LP itself...19:42
sinzuigary_poster, bac, just lost network. he doesn't know19:42
gary_postersinzui, https://launchpad.net/~juju-gui-developers is the wrong team19:45
gary_posterthat's someone from the old juju-gui project19:45
gary_posterWe are https://launchpad.net/~juju-gui19:46
bacgary_poster: sinzui has left the building19:46
bacgary_poster: can you reject the bad and add the right one?19:46
gary_posterbac, no I'm not a member. :-) um19:46
* benji realizes he's too early and says put for a while longer.19:47
bacgary_poster: well, you're a member but not an admin19:47
bachazmat, can you add ~juju-gui to ~charming-devs on LP?19:47
gary_posterbac, LP doesn't think so.  For example, https://launchpad.net/~ce-orange-squad/+mugshots19:47
bachttps://launchpad.net/~charming-devs/+members shows gary_poster19:48
sinzuigary_poster, which team needs power19:48
bacgary_poster: oh, curtis wanted to add us to orange?19:48
sinzuiyes I have left19:48
gary_posterbac, yes19:48
bacso. damned. confused.19:48
gary_postersinzui, https://launchpad.net/~juju-gui-developers is not us.  https://launchpad.net/~juju-gui is us19:48
bacbut that would work...19:48
sinzuigary_poster, I was taking a circuitous route to ensure teams juju-qa and juju-gui can land branches in charmworld. orange is a shell of a team19:49
hazmatbac, sure in a meeting atm though eta 20m19:49
bacsinzui: that'll work great if you add ~juju-gui19:49
sinzuiI don't see that team?19:50
bachazmat: ack19:50
gary_postersinzui, you don't see https://launchpad.net/~juju-gui ?  Public, and Orange squad is member19:51
bacsinzui: orange is a member of that team.  you don't see it b/c it would cause a cycle and salgado is too smart for that19:51
gary_posterheh19:51
sinzuigary_poster, something about team types prevents that team being a member.19:52
sinzuiI will sort this out after children are moved19:52
gary_postersinzui, I suspect it is the cycle that bac mentioned19:52
bacTo the Bac Cycle19:53
bacso i think we need to patiently await kapil to fix it.  perhaps he can make one of us an admin too.19:54
benjiI can't believe I have never made that pun.19:56
jcastroheya bac20:04
jcastrohttps://code.launchpad.net/~jorge/charms/bundles/wordpress/bundle20:04
jcastrook so does the store automatically index that or ... ?20:04
rick_h__jcastro: yes, it'll ingest it like charms in about 15-20min20:04
bacjcastro: what he said20:05
jcastrook20:05
jcastronow ... how do we gate what shows up in the gui?20:05
bacjcastro: ummm20:05
rick_h__jcastro: right now there's a feature flag. :flags:/charmworldv320:05
jcastrogot it20:05
bacjcastro: but no gating20:05
jcastroso like, I'd go into manage and check the box like a charm?20:05
bacanything pushed to LP that smells like a bundle will show up20:05
jcastrogot it20:05
jcastroanything with charms/bundles in the namespace? 20:06
bacno, it has to match charms/bundles/<name>/bundle20:06
jcastrogot it20:06
bacso they won't just be there by accident20:06
jcastroand as far as featuring it, I assume I can check a box in the manage.jujucharms UI like I can a charm?20:07
bacjcastro: yes.20:07
bacjcastro: but it has to be promulgated first, right benji?20:07
sinzuibac, you are right.20:07
jcastrook so how do we promulgate?20:08
bacsinzui to allow me to complete my experiment would you add me to ~ce-orange-squad ?20:08
sinzuiI will20:08
sinzuibac, done20:09
bacsinzui: ta20:09
gary_posterhey hatch, do you have a reviewer?20:09
hatchumm20:09
hatchI don't think so20:09
bacjcastro: i think you have to use the charm tool and i'm unsure if marco has updated it tbh20:09
gary_posterhatch, ok I'll take it20:09
jcastroah got it20:10
jcastrothat's an important bit to note!20:10
gary_posterhatch, here's a sketch of a fix for Maarten's bug: http://paste.ubuntu.com/6331944/20:10
jcastrobut for these first few ones you guys are going to manually promulgate them?20:10
gary_posterhatch, you up for making a high card to address that and the "let's show a reasonable error to the user and maybe even put something nice in the console" issue?20:10
hatchsure thing, can you email me the yaml file so I can test?20:11
jcastrobac, I can confirm it's got promulgate support, perfect!20:11
bacgood to know.20:11
gary_posterhatch sent20:11
bacbenji: bzr rv-submit now works for me.  it'll work for us all when we get ~charming-devs updated.  lordy that was convoluted.20:12
gary_posterhatch that svg looks like a rounded rectangle, not a squircle20:14
hatchcool thanks20:14
gary_posteram I right/wrong?20:14
hatchgary_poster: it is a rounded rectangle20:14
hatch:)20:14
hatchthe squircle didn't fit20:14
gary_posterheh20:15
hatchit actually looked worse20:15
gary_posterheh20:15
gary_posterok20:15
hatchmy guess is they have a different squircle calculation20:15
gary_posterhatch one other idea...one sec20:15
hatchsure20:15
gary_posterhatch dumb idea: maybe try putting the official charm template icon in inkscape, https://juju.ubuntu.com/docs/media/icon.svg ?20:17
gary_posterIn retrospect that seems like the obvious thing to do20:18
hatchright it does doesn't it...20:18
* hatch fail20:18
* gary_poster fail :-)20:18
hatchwell at least I caught an egg that rolled off the counter with my foot just now20:18
hatchso that's one win20:19
hatchlol20:19
gary_posterimpressive!  the circus is always another option for you.20:19
hatchyeah I'd make a good carny20:19
hatchactually no, i'd make a horrible one20:20
gary_poster:-)20:20
hatchhaha20:20
gary_posterheh20:20
bacrick_h__, benji: i thought abel was going to show the revno on http://staging.jujucharms.com/heartbeat20:21
bachas the mongo test ever passed?20:22
rick_h__bac: he was going to do it as a follow up20:22
bacoh20:22
rick_h__bac: his branch was up for review already and he wants to add some more things20:22
rick_h__bac: so he's agreed to do that and uptime in the follow up branch20:22
bacrick_h__: ok.20:23
hatchdoes anyone know if x11 applications run on mavericks?20:26
hatchthe internet seems to have mixed reviews20:26
gary_posterhatch they used to, but yeah, I've heard of maverick problems20:29
gary_posterhatch, give it a try? :-)20:29
gary_posteror enjoy your vm :-)\20:29
hatchhaha I'm tryign to avoid more issues LIKE my vm :D20:29
hazmatbac done re ~gui->~cdevs20:29
gary_posterhatch, did you check with Makyo--should we declare the highlight image and then make repeated references to it, rather than making an image for each one?20:30
marcoceppirick_h__: some weird things happening20:30
rick_h__marcoceppi: ok, what's up?20:30
marcoceppirick_h__: http://paste.ubuntu.com/6332077/20:30
marcoceppisays can not find precise/wordpress and mysql, but it should20:30
hatchgary_poster: so on select move the highlighted image instead of having multiple?20:30
gary_posterhatch, no, svg has some spelling where you declare an image once and then reference it repeatedly.  We use it for something or other. :-P If Makyo says we don't need it, that's fine.20:31
rick_h__marcoceppi: hmm, yea. 20:31
bachazmat: thanks.  sinzui may want to add ~juju-qa.20:31
Makyogary_poster, hatch - We could stick it in a ref, but I don't think that buys us too much.  It will still be cached, just like the service blocks in the real env. view.20:32
gary_posterMakyo, hatch, cool thanks20:33
MakyoIf it's small enough, we could stick it in a ref and it would be one less round-trip, but we'll have to see that down the road.20:33
MakyoNot hard to do, just an investigation task for later.20:33
gary_postercool20:33
marcoceppirick_h__: I'll add a prettier --debug output for proofing20:35
gary_posterhatch, """Code LGTM with ultra trivial.  I asked you to investigate using the official Juju squircle SVG (https://juju.ubuntu.com/docs/media/icon.svg).  I will QA after you let me know to do so."""20:36
hatchyeah I'm attempting it now20:37
hatch:)20:37
gary_postercool20:37
hatchnote to self....don't double click the header of inkscape20:39
hatchit....closes20:39
hatchif I have to do more of this stuff I think I'll just buy Sketch hah20:40
rick_h__marcoceppi: I'll have to get back to you. It's the one freaking test I don't have is store_url: cs:...20:40
rick_h__well at least the test fails. yay bugs20:43
marcoceppirick_h__: cool, thanks20:43
rick_h__oh wait, nvm. This is charm:, not store_url20:44
rick_h__I do have a passing test for that, wtf20:45
rick_h__ah hell, they're versionless20:46
* rick_h__ grumbles in a corner. 20:46
hatchgary_poster: yeah...this looks 100x better :)20:46
gary_posterawesome, hatch!20:46
sinzuigary_poster, bac, Lp Ui doesn't let you uninvite, and the API only supports membership changes from the invitee perspective. This is an example of how to bend Lp API to do the right thing: http://pastebin.ubuntu.com/6332145/20:47
gary_postersinzui, lol, impressive20:47
hatchthe zooming still appears to add some aliasing issues but we can deal with that later20:48
hatchit's reproposing now for qa20:48
gary_postercool thanks hatch, lemme know and I'll merge20:48
hatchgary_poster: all done20:52
gary_posterack, on it20:52
gary_posterhatch QA good!  Thanks!20:55
hatchexcellent thanks20:56
hatchgary_poster: so does the browser not cache svg hrefs?20:59
hatchre your ref comment20:59
gary_posterhatch it does, AIUI, but <Gary starts waving has hands, looking in a somewhat panicked way towards Makyo> I think that using the ref approach means that the file is only *parsed* once for that svg.  The way it is now, the file is cached, but the file is parsed every time you add the image.  Maybe. :-P21:01
hatchI'll accept your reasoning and substitute it for my own21:01
gary_posterlol21:01
gary_postersounds good21:02
Makyogary_poster, hatch the more I think of it, the less ref makes sense, because refs are NOT cached.21:02
MakyoIt made sense considering the service blocks in the environment view, because we only loaded that once, but we would load the bundle view once for each bundle viewed.21:03
gary_posterwhy are they not cached?  That seems silly21:03
gary_posterto not honor the usual HTTP headers21:03
MakyoSorry, disconnect here.  Refs are blocks of SVG that are basically stored in variables that can be used anywhere, such as for the service blocks in the env view.  They are part of the DOM, not linked externally.21:04
MakyoWe were considering moving the service blocks to a ref at the beginning of the <svg> element so that it would be loaded with the page rather than externally.  This doesn't work quite as well for something that will be loaded over and over again.21:05
MakyoWe could ref just the image tag, but that doesn't buy us a whole lot, because it's still loaded once on the first view and then cached, just like if we use image tags directly.21:06
rick_h__bac: benji can I get a quick review of https://codereview.appspot.com/19990043/ please? 21:06
gary_posterOh, so there's no cached calculation of some sort?21:06
MakyoI think the solution is as we have it; the browser will take care of the caching.21:06
rick_h__short branch, bugfix for marcoceppi's proofing21:06
benjirick_h__: sure21:06
rick_h__thanks benji 21:06
Makyogary_poster, ref would be the solution if the calculation were simple.  if we can get the squircle outline down to a few lines of SVG, then maybe that will be the way to go, but if it includes gradients or anything, it's a net loss.21:07
gary_posterhuh21:07
Makyo(we couldn't really tell if the select was a border with an interior drop-shadow, though we think not, so as an increment, we made it just a border)21:08
Makyo(If it's just a border, yes to refs; if more, yes to images)21:08
gary_posterinteresting.  I don't get all of it, but that means I need to go read up on SVGs at some point. In THE FUTURE.  :-) Thanks Makyo.21:08
bacrick_h__: how does that guarantee you get the latest revision?21:09
rick_h__bac: the resolve_charm_from_description method adds a sort and pulls the latest21:10
* bac looks21:10
rick_h__bac: I just had to change the 'query' part that this builds21:10
bacrick_h__: ok, so that already existed.  gotcha.21:10
rick_h__bac: rgr21:11
bacrick_h__: remember you'll need to land with 'bzr rv-submit'.21:12
rick_h__bac: yea, I was giong to ask how I'm supposed to do this now21:13
* rick_h__ goes to get rv-submit21:13
bacbenji: any idea why the charm-queue collection doesn't exist on staging?  is it ephemeral, getting torn down after ingest is run?21:13
bacbenji: this is shown on staging.jujucharms.com/heartbeat21:14
* bac bbiab21:14
hatchgary_poster: so re your fix for maarten the issue was the subordinates were being given a num_units of 1 when it should be undefined? -and- services that don't have a bum_units, but aren't subordinates should default to 1?21:20
hatchjust confirming21:20
hatchwell...I mean, it makes sense...just making sure that was the goal :)21:21
gary_posterhatch, my fix was #1.  I moved behavior #2 down the stack from where it was (see the last bit of the patch), which seems reasonable and was necessary for #1.21:22
hatchok great - just wanted to clarify so I can write a proper test21:22
MakyoMan, I hope this works...21:23
Makyo (╯°□°)╯︵ ʎʇᴉlᴉqᴉʇɐdɯoɔ ɹǝsʍoɹq21:23
hatchrofl21:23
hatchbest!21:23
gary_posterlol21:24
MakyoFunny thing is that'd probably be just a bunch of boxes in IE21:25
hatchhaha, sad but true21:26
gary_posterjcastro, just deployed a bundle with 8 haproxy units using official charm and all failed in "config-changed".  Known issue?21:26
jcastroI don't know every known issue on all 130 charms off the top of my head unfortunately, heh21:26
hatchamature21:27
hatch...21:27
* hatch runs21:27
hatchlol21:27
gary_posterjcastro, :-) sure, just figured that one was important21:27
gary_posterok, shutting it down21:27
jcastrohttps://bugs.launchpad.net/charms/+source/haproxy/+bugs21:27
jcastrodid you relate it to anything?21:27
* Makyo dogwalks, then quick errand to ship something. Back in a few.21:29
rick_h__benji: thanks for the review. The urls should be url-safe, so thought they'd be regex safe. However, I guess there could be a [] or () and still be url safe21:29
gary_posterjcastro, was connected to daisy21:29
rick_h__benji: I'll update it to at least ^ and check for \d at the end and do a better match21:30
rick_h__and document the rest21:30
jcastrohey rick_h__21:30
jcastrostill no bundles showing up for me in manage.21:30
jcastrodebug now or wait until tomorrow? 21:30
rick_h__jcastro: yea, notice. I'm not sure what's up. I'll have to check staging to see if there was some error pulling it in21:30
rick_h__jcastro: tomorrow, I'm about to run out the door and past EOD 21:31
jcastroI agree, beer time.21:31
rick_h__CHC time21:31
jcastrohey so for now21:31
jcastroI'll keep the one-shot all-on-one-unit ones out of there21:31
jcastroand I'm going to do the winning bundle connected to the rails charm as our "crazy one"21:31
rick_h__jcastro: k21:31
gary_posterhatch, should I maje a card?  Do you want one for the patch, and one for the better error reporting, or combine them?21:33
hatchI reviewed a branch from frankban this morning that added the better error reporting21:34
hatchwhich....there isn't a card for21:35
hatchhmm21:35
gary_posterhatch, "review deployment notifications..."21:35
gary_posterexists21:35
gary_posterin review lane21:35
gary_posterbut that was about gui side21:35
gary_posternot fake backend21:35
gary_posterIIUC21:35
hatchohh right that was21:35
hatchI guess they could be combined21:38
gary_posterhatch, I made two cards. if you combine them then so be it :-)21:45
* gary_poster runs away21:45
gary_posternight all!21:45
hatchnight, thanks21:46
huwshimiMorning21:59
hatchmorning sashimi21:59
hatchjujugui lf a review https://codereview.appspot.com/20040043/22:05
huwshimihatch: So it turns out most YUI widgets include their base CSS and yui3-skin-sam CSS in the skins/sam css22:12
hatchright but we don't include that file though do we?22:13
huwshimihatch: Yep.22:13
huwshimihatch: I figured out a way to not include the sam skin files, but now everything breaks because it doesn't include the base css that we need :(22:14
hatchoh intersting - I thought we removed that long time ago22:14
hatchohh22:14
huwshimihatch: Well, it's per widget22:15
huwshimihatch: So ./node_modules/yui/tabview/assets/skins/sam/tabview.css contains styles that are prefixed with .yui3-skin-sam, but also includes the base CSS for that widget22:15
hatchohhh I see where they are coming in from22:16
hatchthat's....unfortunate22:16
huwshimihatch: Ah, but those skin files look like they're including the *-core.css file22:16
huwshimihatch: So if we include those instead we should be fine.22:16
hatchassuming that they are split up correctly hehe22:17
huwshimiyeah...22:17
huwshimihatch: I'm guessing if we want the core files we'll need to include them manually22:18
huwshimihatch: Unless you have any ideas on how to get the loader to do it...22:18
hatchhmm22:18
hatchI thought there was a way tos pecify the skin for the css in the loader config22:18
hatchso maye specifying an invalid one would just load the core22:19
hatchbut it's been so long22:19
hatchI couldn't say for sure without some hacking on it22:19
* huwshimi wonders if rick_h__ is around and has any ideas...22:19
huwshimihatch: I tried to do that, but I don't think I was doing it correctly as it didn't change anything. Maybe I'll give it another go...22:20
gary_posterhatch, LGTM.  /me collects more trash from house for trash day...22:20
gary_posterhi huwshimi 22:20
huwshimigary_poster: Hey!22:20
hatchthanks22:24
hatchhuwshimi: maybe we create a yui-module-css.css file and copy the core stuff in there22:25
hatchif you know which ones we need it'll be pretty easy to write a small script to create that file22:25
huwshimihatch: I can actually just use the current CSS builder to do that, I was just hoping we could use the Loader to find all the neccesary css so we don't miss things in the future.22:26
huwshimiI can't even get it to use the night skin22:27
huwshimiI mustn't be doing this right22:27
hatchohh - well they are working on moving yui to use pure22:27
hatchso when that change comes I rekin we'll have some issues :)22:27
hatchcan you gist your code so I can take a look?22:27
huwshimihatch: here are all the places I've tried changin the skin :)22:29
huwshimihatch: http://paste.ubuntu.com/6332657/22:29
hatchlooking22:29
hatchhttp://yuilibrary.com/yui/docs/slider/#skins22:30
huwshimihatch: Right, but that's per widget22:31
hatch:/ man there is really 0 documentation on this22:32
huwshimihatch: http://yuilibrary.com/yui/docs/tutorials/skins/22:32
hatchso when you set skin to night it doesn't load the night files?22:33
hatchI think you'll need to run make again22:33
huwshimihatch: yeah, loads the same set of files22:33
hatch:/22:34
huwshimihatch: in merge-files.js in the combineCSS function you can console.log(files) and it will output the list of files it's include every time you run make devel22:35
hatchand that list never includes the night css?22:35
huwshimithat's correct22:35
hatchlooks like fetchCSS only has three options22:35
hatchneither is what we want22:36
hatchunfortunately22:36
hatchhttp://yuilibrary.com/yui/docs/api/classes/config.html#property_fetchCSS22:36
hatchwe could create a group for the css core files22:36
hatchso we set fetchCSS to false22:37
hatchthen manually include the css core files22:38
hatchmanually being in the loader22:38
hatchthe last time I did that was probably 1.5 years ago though so I'd have to find the syntax again22:38
huwshimihatch: We already set fetchCSS to false, but that only sets it use the local CSS, not use CSS from the YUI CDN22:39
huwshimihatch: It's ok, I can just manually include the CSS and we can try and remember to add css for each widget when required in the future22:40
huwshimihatch: I would assume that somehow we should be able to change the skin though :)22:41
hatchyeah - I would too...22:41
hatchin my personal projects the first thing I do is fetchCSS: false22:41
hatchhaha22:41
huwshimi:)22:41
hatchthe skins are just too ugly22:42
hatchthey remind me of the 90s22:42
hatchlol22:42
huwshimihehe22:44
hatchthere are WAY too many places to add notifications22:52
huwshimihatch: do you think it would be too hacky to modify the list of paths to grab the -core.css file in stead of the ./skin/sam file?22:55
rick_h__huwshimi: what's up? see I was ping'd earlier22:55
hatchwhere is this list of paths?22:55
huwshimihatch: It comes from loader22:55
hatchoh....then yeah :)22:56
huwshimirick_h__: We're just trying to figure out how to get the YUI Loader to pick up the -core.css files for the widgets instead of the skin/sam files22:56
huwshimirick_h__: Any ideas?22:56
hatchbut maybe if you document it enough :)22:56
huwshimihatch: As in yes, it would be too hacky?22:56
hatchyeah it's pretty hacky, but if there is enough documentation then maybe not :)22:57
rick_h__huwshimi: we don't use the YUI loader?22:57
rick_h__huwshimi: yea, fetchCSS false in the GlobalConfig (and each section of it) should turn off any css loading and thought we already did that. 22:58
hatchthat's what I thought too, but I guess it's not working for whatever reason22:58
huwshimirick_h__: That makes it use our local files, but it's still using the sam skin files, we want the core ones22:59
rick_h__huwshimi: right, but don't we auto combine the sam ones? We don't load them from external sources do we?22:59
huwshimiSo we get paths like node_modules/yui/widget-base/assets/skins/sam/widget-base.css and we want node_modules/yui/widget-base/assets/widget-base-core.css22:59
rick_h__bah, wish we just used a damn combo loader and could do it right22:59
rick_h__huwshimi: oh, well did we take off skin-sam from the <body> tag?22:59
rick_h__or all containers?23:00
huwshimirick_h__: Yep, I've done that and now want to get rid of the CSS :)23:00
* rick_h__ tries to think back to how we got this working in the first place23:00
huwshimirick_h__: I've fixed up any issues from dropping the yui3-skin-sam classes. I just want to drop the CSS as well.23:00
rick_h__huwshimi: k, looking23:01
hatchrick_h__: +1 on using the loader properly :)23:01
rick_h__huwshimi: did you change the config in the lib/merge_files.js?23:02
rick_h__huwshimi: that's not looking to ignore css and that's what builds things from YUI23:02
rick_h__huwshimi: you'd have to debug what merge-files.js is doing and try to config it to skip the files even though combo-loading rules would say to get them23:02
rick_h__huwshimi: I would think it'd be two passes, one for css and one for js but not 100% since merge-files is part magic trying to 'pretend' to combo load23:03
huwshimirick_h__: But I don't want it to ignore the CSS, I just want it to pull the core files instead of the skin files23:03
rick_h__huwshimi: right, but it must be deciding what to pull for some reason there23:03
huwshimirick_h__: I figured it would be using the YUI() config23:05
rick_h__huwshimi: so combineCSS is getting sent a list of files but not seeing who's building the list atm and calling combineCSS23:05
huwshimirick_h__: It comes from getYUIFiles().css and a couple of extras in 'merge-files'23:06
rick_h__huwshimi: ok, so that loader then. Something is telling it to get sam skins. /me looks some more23:08
huwshimirick_h__: Yeah, I can't figure that one out23:09
rick_h__huwshimi: http://yuilibrary.com/yui/docs/tutorials/skins/23:09
rick_h__huwshimi: try with skin: null in the loader config?23:09
rick_h__See the section "Option B"23:09
rick_h__I'm just guessing here23:09
rick_h__if all the skin-sam is pulled from the html, and there's noting in the deps for it, figure should be ok23:10
huwshimirick_h__: I've been trying23:10
huwshimirick_h__: Not even changing it to 'night' changes anything23:11
rick_h__huwshimi: push your branch up?23:11
huwshimione sec...23:12
hatchsorry guys I gota run for a few hours but I definitely want to know the outcome of this :)23:12
huwshimihatch: Thanks!23:13
huwshimiI've actually gotta head to the doctor in 10 minutes23:13
huwshimirick_h__: I'm going to push this with all my changes it. I'll be pretty dirty.23:14
rick_h__huwshimi: that's dine23:14
rick_h__fine23:14
huwshimirick_h__: I can fix it by doing "cssFiles.push(path.replace('skins/sam/', '').replace('.css', '-core.css'));" but that's a hack :)23:20
rick_h__huwshimi: lol23:21
huwshimirick_h__: I'm sorry I have to head for a bit. I'll be back shortly. If you do discover anything let me know, otherwise we can take a look another time. Thanks for your help!23:26
rick_h__huwshimi: http://paste.mitechie.com/show/1059/ works to ignore the skin sam, it doesn't load -core. You have to pull those. 23:49
rick_h__-core is meant to be shared across skins so we've basically turned off skins here and so you'll have to pull what you want manually23:49

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