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

rick_h__gary_poster|away: yep, the idea crossed my mind setting up the azure stuff today. Could just be like charmworld staging but on the azure setup00:11
rick_h__hatch: around?06:15
rick_h__hatch: replied to your email, updated pull request to #33. Sorry for the trouble. Will look into it, but should unblock and be able to move forward while getting the patterns/workflow straight. 06:25
dimiternhatch, you around?09:09
dimiternor any gui guys in fact?09:10
dimiternI'm in the process of changing ServiceDeploy not to upload charm store charms09:11
dimiternthere will be a dedicated AddCharm API call that will do that and needs to be called before ServiceDeploy09:12
dimiternthis is just a heads up, nothing changed yet09:12
dimiterni'll send a mail as wel09:15
rick_h__thanks for the heads up and appreciate the email dimitern 11:45
dimiternsorry I didn't include you rick_h__ , I'll forward it11:45
rick_h__dimitern: all, all good. I was just trying to let you know we're listening. Most of us are later time zones so it's an empty space time of day to catch us in irc :)11:46
dimiternrick_h__, cheers11:47
=== gary_poster|away is now known as gary_poster
gary_posterdimitern, hi. ack.  sounds dangerous for backwards compatibility, though fine otherwise.  I'll look for the email and reply.  When you get a chance, I'd also like a reply from you to the thread with the subject "Proposed juju core feature: serve arbitrary charm contents, or only icon"13:11
dimiterngary_poster, hi, so about the GET functionality of the API server to fetch a file from within the charm13:12
gary_posteryeah13:12
dimiterngary_poster, I think we decided you guys can do it?13:12
gary_posterdimitern, yes, but the discussion is about the spelling and approach, I think.13:13
dimiterngary_poster, ah, ok, will take a look one more time13:13
gary_postercool thanks13:13
dimiterngary_poster, I couldn't see any specific naming suggestions13:17
dimiterngary_poster, but I seem to recall from previous discussions we thought of something like GET /charms?url=<charm-url>13:18
gary_posterand what would that return?13:18
gary_posterand/or where could I read about that, or who would know more :-)13:18
dimiterngary_poster, perhaps we can add a &file=icon.svg (or any path relative to the root of the charm)13:18
dimiterngary_poster, well, if you need both the full charm and a specific file from it13:19
gary_posterdimitern, all we need are two things13:19
gary_poster(1) specific file13:19
dimiterngary_poster, if no &file= is given, it'll return an application/zip body with the binary archive of the charm13:19
gary_poster(2) ls-style functionality13:19
dimiterngary_poster, ah13:19
dimiterngary_poster, so for (1), both url= and file= should be given and it can return the content in the response body, with the corresponding Content-Type set13:20
gary_posterwhere url is, e.g., "cs:precise/juju-gui"?13:21
dimiterngary_poster, and for (2) I guess we can have url= and &list perhaps? returning something you can display 13:21
dimiterngary_poster, yes13:21
dimiterngary_poster, no, actually, it has to have a revision as well13:21
gary_posterdimitern, I think it would be nicer if this were paths13:21
dimiterngary_poster, so cs:precise/juju-gui-4213:21
gary_posterGET /charms/cs/precise/juju-gui/42/icon.svg13:22
gary_posterGET /charms/cs/precise/juju-gui/42/ (returns ls for that dir)13:22
gary_posterGET /charms/cs/precise/juju-gui/42/hooks/start13:22
gary_posterGET /charms/cs/precise/juju-gui/42/hooks/ (returns ls for that dir)13:22
gary_posterwith ContentType specifying json13:23
dimiterngary_poster, so how about a json-encoded response in the form of {Files: [{Path: "rel-path-inside-charm"}, {Path: ...}]}13:23
dimiterngary_poster, hmm13:23
dimiterngary_poster, that might be a bit more difficult13:23
gary_posteroh, too bad13:23
gary_posterprettier in the abstract IMO, but practicality is important :-)13:24
dimiterngary_poster, what's wrong with GET /charms?url=cs:precise/juju-gui-42&file=icon.svg ?13:24
dimiterngary_poster, no conversions between charm urls and paths13:24
gary_posterIMO that is a path13:25
gary_posteryou are dividing up the path into a query string13:25
gary_posterwhen in reality there's a single resource you want13:25
dimiterngary_poster, it can be a path, if properly escaped, but it really isn't13:25
gary_posterwhich is great for a ptha13:25
gary_posterhow not?  a path identifies a resource13:25
dimiterngary_poster, charm urls are more like urls than file names/paths13:26
dimiterngary_poster, they have a schema for example13:26
dimiterngary_poster, to do what you propose the server-side handler has to be able to handle /charms/ and anything below it and convert that to a charm URL, then validate it, and most importantly not allow arbitrary other paths, like /charms/something/or/other13:28
gary_posterdimitern, that's exactly true for the other spelling.  I think we simply disagree on the fact that one maps cleanly to the other, and that a path is preferable to a query string for identifying a resource, when possible.13:28
gary_posterdimitern, how would you suggest I proceed?13:29
dimiterngary_poster, well, it's ultimately up to who implements it13:30
gary_posterdimitern, is not. ;-)13:30
dimiterngary_poster, I don't really strongly object towards having a bit weird urls that look like paths13:30
gary_posterheh13:30
dimiterngary_poster, inside state/apiserver/charms.go is the place to start basically13:31
dimiterngary_poster, there's the POST handler, a similar one needs to be implemented for GET and the I can see 2 less-than-trivial bits in its implementation13:32
dimiterngary_poster, the proper url parsing and the actual fetching and extracting what's needed (either not a big deal)13:33
gary_posterdimitern, cool.  So here's my takeaway from our conversation.  (1) broadly, you like the idea of adding a GET to somewhat mirror the POST. (2) no-one needs the ability to download a zip, so we should not implement it right now. (3) We should discuss the spelling a bit more with you and WIlliam over email and see where it goes. (4) technical details above (doesn't sound too bad; thank you)13:35
gary_posterdimitern, is there already an API that says "show me all the charms you currently have"?13:37
dimiterngary_poster, no13:37
gary_posterdimitern, that sounds like another one we'd need then13:37
gary_posterdimitern, any technical challanges there?13:37
dimiterngary_poster, re (2) above, we might eventually need the ability to get charms from the API server as the single normative source of all charms in the environment, but we don't need it right away13:38
gary_posterdimitern, ah ok.  so we'd want to make sure the spelling supports it, even if we don't implement it yet13:39
dimiterngary_poster, it depends on what do you mean by "all charms" ? - just the URLs currently in state and the environment or more?13:39
dimiterngary_poster, yeah, and that's a point against using "canonical" urls/paths - how can you distinguish between "list me the files" and "get me the charm" ?13:40
gary_posterdimitern, good question.  contenttype would be my first answer.13:40
dimiterngary_poster, using a trickery like "no slash => get the charm", "with trailing slash => list the files" seems horrible :)13:40
dimiterngary_poster, you mean Accepts ?13:40
gary_posterapplication/zip: get the charm13:40
gary_posterjson: get the metadata13:41
gary_posteryeah13:41
dimiterngary_poster, that's possible i guess13:41
* dimitern sorry, brb13:41
gary_posterdimitern, np.  when you return, "all charms": our only real interest right now is local charms. we want to know what non-charm-store (local) charms are available to deploy.13:43
gary_posterin the future there's lots of other possibilities13:43
gary_postersuch as the environment replacing charm store and charm world as a source of truth13:44
gary_posterfor the GUI13:44
gary_posterbut that's not where we are right now13:44
dimiterngary_poster, back13:45
gary_postercool13:45
dimiterngary_poster, so we can have a call like ListCharmURLs(schema string) []string -> json returning all charm URLs with a given schema13:46
gary_postersounds perfect dimitern, yeah13:46
gary_posterI assume that would be pretty easy?13:47
gary_poster(for us to do)13:47
gary_poster(in GUI :-) )13:47
dimiterngary_poster, and re Accepts, etc. above, i'd still prefer to have a ?list or something as part of the url to mean "get me the file list" otherwise, we'll get the zip13:47
dimiterngary_poster, it'll need a state call to list them all and a couple of server/client API methods, but doesn't look hard13:48
gary_posterok cool13:48
dimiterngary_poster, using ?list as part of the url we make the urls idempotent, which is important for a rest api imho13:48
gary_posterdimitern, re preferring list over Accepts: ack.  May I treat you as my technical contact for this, officially approving and blessing designs, or do I need to include William?13:50
gary_posterdimitern, don't see how the Accepts approach hinders idempotence.  What do you mean?13:50
dimiterngary_poster, by all means, include william as well :)13:51
gary_posterok :-)13:51
dimiterngary_poster, i mean /charms/cs/precise/juju-gui/42/ as an URL means different things depending on headers, which apart from the authentication code shouldn't have to happen13:52
gary_posterdimitern, that's pretty common AFAIK.  Might be wrong there, and happy to do some research (and maybe come up with a solution better than one off-the-cuff :-) ), but it doesn't affect idempotence in the slightest, yeah?13:53
dimiterngary_poster, well, for me returning different response bodies for the same URL seems a violation of idempotence, but maybe it's just me :)13:55
gary_posterdimitern, the calls don't mutate state, and always return the same value for path plus content type.  Idempotent, open and shut, afaik, but I'm leaving it. ;-) I'll document these two approaches and see if I can come up with any other good ideas with the GUI team and then send them to you and William.13:58
gary_posterthank you for the discussion and help dimitern!  Really appreciate it.14:00
dimiterngary_poster, great, thanks for the discussion!14:00
hatchrick_h__ wow you were up late :)14:18
rick_h__hatch: meh, drugs made me crash in the evening and ended up getting up for a bit 14:19
rick_h__hatch: still trying to kick the last of this crud :/14:19
hatchI hear ya, thanks for the fix14:19
hatchlast night I found out that python-selenium pkg is not available on 12.0414:25
hatchis this something we should add to the hacking docs?14:25
rick_h__it's in the archive in the tree14:26
rick_h__so you don't get it from apt14:26
hatchohh, well the hacking docs say otherwise :)14:26
* rick_h__ knows because he's just updated to .39 in his current branch14:26
hatchalso python-yaml is already installed so we can remove that from the list14:27
rick_h__that depends on the system?14:28
hatchI THINK it is installed with juju14:28
gary_posteremail, email, email, email...email, email, email, email...come on, everybody can sing it! :-)14:28
benjirick_h__: let me know when you have time to pair on the bundle indexing issue14:28
hatchI basically went through the hacking docs from top to bottom14:28
rick_h__hatch: which you don't have to have to dev on the gui14:28
rick_h__benji: rgr, few minutes. 14:28
gary_posterpython-yaml would be installed with old juju but not juju-core I think14:28
hatchI also didn't add the gophers/go ppa14:29
hatchI'd also propose we remove the sudo from the npm -g install and instead add instructions on chowning the proper dir's14:30
hatchI of course would be more than happy to modify the doc :)14:30
gary_poster+1 on principle14:30
hatchgary_poster is there anything specific you'd like me to do now?14:37
gary_posterhatch, is "Get rid of full browser mode" done?  Green card is still there, but I know that is pretty far along, if not done14:38
hatchgary_poster I left the green card there until the charm flag is removed14:38
hatchother than that it's all gone14:38
hatchI think the total result was a -1600ln diff :)14:39
hatchit's like rick_h__  didn't do anything for a month or so lol14:39
hatchnow*14:39
rick_h__hatch: careful buddy14:39
rick_h__hatch: a lot of that was working around tools I was given by a certain member of the team :P14:40
hatchhahaha14:40
hatchmaybe I could work on getting rid of double dispatch14:40
gary_posterhatch, oh cool and yay.  Options: (1) get rid of pre-inspector code.  (2) consider getting rid of namespace routing. (3) display unit errors on relation tab (that's not done, right?) (4) get rid of double dispatch (5) inspector unit destroy story: add “X units being destroyed” section14:41
rick_h__hatch: I'm not going to get to the search results thing with show/hide the sidebar for a while14:41
rick_h__hatch: and there's the bugs around fixing the quick search UX14:41
hatchgary_poster 3) the aggregate unit status is shown on the relations tab. 5) it shows them in the 'dying' category (at least it did, does it not any longer?)14:42
gary_posterwe agreed those quick search bugs were lower in priority than the others I mentioned, I think, though could be wrong.14:42
rick_h__gary_poster: yea sorry, typing while you're typing14:42
rick_h__trying to keep hatch from deleting more crap I've done :P14:43
gary_posterlol14:43
hatchlol14:43
hatchgary_poster I'll run through the code for 1)14:43
gary_posterhatch, (3) great.  (5) I believe it does, but luca's design includes what I described in addition14:43
gary_posterhatch, wait, (3)14:43
hatchwaiting14:44
gary_posterhatch: that's supposed to show all units with errors as well--not just the aggregate.  that's what #3 is14:44
gary_postersorry, you can still do #1--that's my pref, actually--but wanted to clarify #3 :-)14:44
hatchohh, do we have a design for that? I dont' think I've seen anything along those lines before14:44
hatchok will do 1 until we clarify 314:45
gary_posteryeah, lemme go to the folder14:45
rick_h__benji: going to get a drink and then can chat. Let me know how you want to connect. hangout/rtc/etc14:46
benjirick_h__: cool; I'll make a hangout14:46
gary_posterhatch, go to https://drive.google.com/a/canonical.com/?tab=co#folders/0B7XG_QBXNwY1cWQ4TmRmRXJBc0E , click on "Inspector," and see seventh inspector image from left14:47
hatchohh right14:48
gary_poster#5 is on far right, hatch14:48
hatchI think #5 is as simple as changing a few css classes and whatnot when the status is dying14:49
hatchright now it's under the 'pending' styles14:49
gary_posterwell, plus the message at the top, yeah?  also trivial, but another item14:49
hatchyes yes, ok I'll create cards for these14:50
rick_h__benji: rgr14:50
gary_posterthanks hatch.  those are in the spreadsheet, fwiw, I've only been transferring things when I thought we'd actually get to them ;-)14:50
hatchhaha, well I have 3 more days 14:51
hatchso I'll start knocking them off as best I can14:51
rick_h__benji: BradCrittenden the ingest queue's on mjc are huge? queued charms: 8992, queued baskets: 353.14:51
benjirick_h__: pfft!  that's not huge, call me when it gets to 1 million (I'm not kidding) :)14:52
rick_h__:/14:52
benjithe ingest might have died again14:52
rick_h__it's a cron job, did it get removed?14:52
benjiI thought it was under suporvisord.  IIRC, last time supervisord decided it had failed one too many times and stopped running it14:52
benjirick_h__: https://plus.google.com/hangouts/_/72cpj9hm6qk6ajmdqd78d81lrc?hl=en14:53
rick_h__jujugui small review please for saucelabs ci timeout joys https://github.com/juju/juju-gui/pull/3415:23
gary_posterrick_h__, +115:27
hatchin typical Sublime Text fashion, 6 months have passed so there is an update, *see you in 6 months*15:28
hatch:P15:28
gary_posterhatch if you follow the dev releases it's a bit more exciting :-)15:28
gary_posternot a *lot* more exciting15:28
gary_posterbut a bit15:28
hatchhaha colour me skeptical :P15:29
gary_posterabout what?15:29
hatchthat anything will change after ST3's release 15:29
hatchit'll probably stall again 15:29
gary_posteroh15:30
gary_postermaybe15:30
gary_posterdev releases have been happening once every 1.5 months or so, not counting bug fixes15:30
hatchyeah that's what ST2 was like too15:31
hatchI have little faith :)15:31
rick_h__could be vim releases... "Oh hey, a new vim release. I didn't think they were still working on that."15:31
gary_posterheh15:32
hatchrick_h__ haha right but they aren't selling vim :D15:32
rick_h__it's more of a "wtf more could they possibly add to it?"15:32
hatchsane defaults?15:32
hatchooooo zing!15:32
gary_postertest failure: sadness, rick_h__ :-/15:32
rick_h__don't get me started "I bought a new laptop and nothing works" boy :P15:32
gary_posteroh looks...unrelated to the timeout15:33
rick_h__gary_poster: ah, I missed adding the makefile update to the new version of the file15:33
hatchrick_h__ lol!15:33
gary_posteroh ok cool15:34
gary_posterrick_h__, why did pr test work then?15:34
rick_h__gary_poster: it's not make cleaning atm but the -merge one is 15:34
gary_posterah, gotcha15:34
rick_h__gary_poster: wanted to see how it worked on -merge since it's the more careful one 15:34
gary_postergotcha15:35
rick_h__so good job -merge job! caught it15:35
gary_posterheh15:35
rick_h__oh bah, why can't I get all cards done at once15:41
hatchrick_h__ sounds like you need to goroutine your brain 15:42
rick_h__having fragile ci is almost worse than no ci15:42
rick_h__and man it's getting cold again, to the fireplace!15:43
gary_posterfragile almost worse than no: yup15:43
frankbanguihelp: I need two reviews + QA for https://codereview.appspot.com/43860044 (quickstart Environment list/selection view). Anyone available? thank you!15:45
hatchrick_h__ you should buy a toque :)15:45
gary_posterI will15:45
gary_posterreview15:45
frankbangary_poster: thanks15:46
gary_posterwelcome :-)15:46
rick_h__hatch: :P I did just scratch my pebble badly dealing with the fireplace the other day15:46
rick_h__frankban: looking15:46
frankbanrick_h__: thank you15:46
rick_h__namedtuples ftw! :)15:47
* rick_h__ <3's them15:47
frankban:-)15:48
gary_posterjujugui call in 1015:50
hatchone of the very odd things about this MBP is it has no-friggen-idea how much time is left on the battery15:51
hatchthe 'time to empty' will vary by hours over the course of just minutes15:52
gary_posterhatch in os x or ubuntu?15:52
gary_posterhave found ubuntu to have no idea15:52
hatchosx15:52
hatchubuntu has it down15:52
gary_posterbut is x to be reasonable15:52
gary_posterhuh15:52
hatchI know right? haha, my experience was similar to yours on my other machine15:53
gary_poster:-)15:53
hatchfor example 3 minutes ago I had 9:05H left on the battery, and now I have 3:5015:56
rick_h__quit playing games on it :P15:57
gary_poster:-( that sounds its worth taking it to the apple store15:57
gary_posterit's15:57
hatchUbuntu says 4.9H which makes sense15:57
hatchbecause there is 85% left15:57
gary_posterjujugui call in 215:58
hatchBOOM http://www.youtube.com/watch?v=1cOT4T2jDho ! RABBIT!16:29
rick_h__http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=little%20bunny%20foo%20foo&sprefix=little+bun%2Caps&rh=i%3Aaps%2Ck%3Alittle%20bunny%20foo%20foo16:29
gary_posterhatch, um, sorry, but http://en.wikipedia.org/wiki/Little_Rabbit_Foo_Foo redirects to http://en.wikipedia.org/wiki/Little_Bunny_Foo_Foo16:29
gary_posteropen and shut, man16:29
rick_h__wikipedia smack down16:29
hatchI dont' think so, this is clearly a video and a song which says Rabbit16:30
hatchand with almost 500,000 views!16:30
rick_h__*couugh* made by a canuck *cough*16:30
gary_posterlol16:30
hatchhahaha16:30
hatchactually Michael Rosen is British16:30
rick_h__ok fine, your kind then16:31
rick_h__king16:31
hatchlol16:31
hatchthats a very odd cultural difference haha16:31
rick_h__I'm tired, medicated, and you keep killing my work. Are you expecting better? :P16:32
hatchhaha16:32
rick_h__and damn it Dell, a monitor doesn't need to be 'in production' for 3 days. Either you've got it in a box or you don't. *grumble*16:32
hatchuh oh16:33
hatchyou bought the 4k didn't you?16:33
rick_h__ummm, maybe...want to buy a HD 21.5" on a monitor arm?16:34
gary_posterheh16:34
* gary_poster jealous16:34
gary_postermy old Dell 27" flakes out now and then and is pixel-y but haven't felt the need to spend the $$16:35
hatchhaha nice16:35
hatchI would like some monitor arms for my monitors16:35
hatchbut I have too many monitors sitting around to buy more16:35
rick_h__<3 monitor arms. Helps with a large desk surface since you can bring the monitor closer 16:36
hatchyeah for sure16:36
rick_h__and for aligning nicely16:36
hatchI need to find a cheapish one for my 31" though16:36
rick_h__but the ones I have aren't meant for a 24" display 16:36
hatchthe monitor is very heavy and so the arms are very expensive :(16:36
rick_h__remember it's the weight withuot the base on it16:37
hatchyeah it's still heavy16:37
rick_h__the new one is 20# but only 10# once the base is removed16:37
hatchlet me know what arms you pick16:38
hatch:)16:38
rick_h__http://goo.gl/OnG7mi16:38
rick_h__it's on the way16:38
rick_h__http://goo.gl/ytQhIw16:39
rick_h__is what I have now16:39
hatchThat damn force field on the 49th parallel """Shipping: Currently, item can be shipped only within the U.S."""16:41
rick_h__come on down, we've got snow and cold too16:41
hatchlol16:41
hatchrick_h__ so when merging upstream into my local develop branch there was a conflict caused by the rebase I think16:42
rick_h__k16:43
BradCrittendenbenji: if you look at the staging heartbeat and refresh every few seconds you see the charm queued count go down.16:44
=== BradCrittenden is now known as bac
benjibac: that makes me lean toward the "we can't keep up any more" hypothesis16:45
bacbenji: if we're just not keeping up, it should increase again *now* :45 and then start going down again16:45
benjiyep16:45
bacbenji: yes, when the q cron started it jumped by a few thousand, and now the charm count is slowly decreasing.16:46
bacbenji: i think we'll also see the bundle count always goes up and never decreases16:46
frankbanMakyo: perhaps ssh-add cannot find the agent because we don't pass the env vars (SSH_AGENT_PID, etc.) when we run call(... ?16:47
rick_h__a few thousand? ouch. I didn't think we had that many to ingest still. Wasn't it in the 300's?16:47
bacbenji: i'm tempted to run dequeue on staging16:47
benjiso, the next question is "does the count go down continually or does it plateau?" 16:47
bacrick_h__: but we're queueing charm * up to ten versions16:47
benjiif it plateaus, then for some reason the ingest job stops processing at some point16:48
benji(suggesting it hits some bad data or a bug that stops it from draining the queue as much as it otherwise could)16:48
bacbenji: well we'd probably just have to watch for a 15 minute cycle16:48
Makyofrankban, I thought so too, but it can if we run our own agent, so I'm not sure.  Running it manually in ipython always gives me rc 2 even if I start an agent manually before starting ipython.16:48
bacbenji, rick_h__: we may just be bumping against the design issues that curtis mentioned a few weeks ago wrt the way we handle versions and overloading16:49
MakyoI'll keep investigating, though16:49
bacbenji: so the number of bundles went up from 1056 before the latest queue run to 1078, an increase of 22.16:57
benjibac: and the bundle queue length never decreases?16:57
bacbenji: so assume we really have 22 bundles.  1078 / 22 = exactly 49.16:58
bacso 49 runs ago we started seeing a backlog.  a little over 12 hours16:58
benjiif so, that suggests that the ingest is failing in the middle because charms are handled first and then bundles16:58
bacit suggests to me that it doesn't mean we're simply too slow16:58
bacbenji: otherwise the backlog would've happened earlier. does that make sense?16:59
rick_h__Makyo: can you link the qa you need please?16:59
Makyohttps://codereview.appspot.com/39610049/16:59
rick_h__thanks17:00
benjibac: yep that makes sense; in other words, if we were to graph the backlog there is no straight-line slope that would get us back to the last time the queue was empty, implying something happened in the meantime17:00
bacbenji: basket count just jumped by 22 again to 110017:00
bacbenji: yes17:01
bacmore elegantly stated, but yes17:01
benjiso it would seem that ingest is stopping in the middle17:01
bacwithout logging17:01
bacunless that beaker exception is relevant17:01
bacbenji: http://paste.ubuntu.com/6595233/17:03
benjibac: but that exception is in the web app, right?  not in the ingest job17:04
bacbenji: yep.  ingest is not creating any logs.  grasping here.17:05
hatchfinally working on the new machine....wow this thing is fast17:06
hatchnow I see what rick_h__  works like17:07
hatchlike holy crap it's easily 2x as fast17:07
gary_posterfrankban, you got two LGTMs :-)17:08
frankbanMakyo: 2 comments: 1) we should catch for KeyboardInterrupt also when keys are not found (create_keys = raw_input...) and 2) if I hit "s" and I create the key, quickstart asks me for a passphrase again, even if the agent is started. Is this ok?17:09
frankbangary_poster: great, thank you17:10
Makyofrankban, 1) on it. 2) I think so, though maybe we should be clear to the user about which command we're running when the passwords are asked.  This might be fixed by further investigation of agents.17:11
frankbanMakyo: +117:11
frankbangary_poster: the return value from the views is what show(view) returns if you hit ^X (as opposed to an explicit AppExit raised from the views). all the env views return (env_db, env_data), the latter being none if no environment has been selected. since each view can be used as an application entry point, even the return value from env_detail can be used. we might want to decide, e.g. that if quickstart is run wi17:22
frankbanth -e we start the app showing the environment details. thoughts?17:22
* gary_poster looking fwiw17:26
hatchgary_poster https://bugs.launchpad.net/juju-gui/+bug/1262295 blocking release?17:27
_mup_Bug #1262295: Logging out/in causes canvas help overlay to reappear <juju-gui:New> <https://launchpad.net/bugs/1262295>17:27
gary_posterfrankban, I guess I don't understand how the return values are consumed by the loop.  I assume it will work once we allow edits because we are mutating the (function-local copy of the) env_db dict?17:29
gary_posterhatch, if it affects a live environment, blocking.  otherwise high.  it will not affect jujucharms because we don't have a logout button, so if it doesn't affect a live environment then it only affects dev and comingsoon17:32
hatchok I'll fire up a live env and give it a check17:33
gary_posterthank you17:33
hatchyay Saskatchewan http://www.techvibes.com/blog/first-province-to-allow-equity-based-crowdfunding-2013-12-0917:35
frankbangary_poster: I think this needs to be changed, we need a more explicit way for views to set a return value for when the user quits with ^X, I'll think about that17:35
gary_postercool thanks frankban 17:35
hatchoh right I have to deploy the new gui the hard way in the charm17:38
hatchboooo17:39
hatchhmm I'm having no luck setting this up on lxc using the `NO_BZR=1 BRANCH_IS_GOOD=1 make distfile` technique 17:59
hatchafter installing make and node/npm imagemagik won't run17:59
hatchdoes that not work on lxc? ec2 only?18:00
gary_posterNO_BZR=1 should no longer be necessary.  Note that you do this *on your dev box*18:05
gary_posteris that what you are doing?18:05
gary_poster'Cause I don't quite understand your lxc/ec2 questions yet18:06
rick_h__hatch: let me know if you want to hangout and walk through it18:07
rick_h__hatch: I don't recall if we get a loading xv file right now since we don't yet have a tag. So might need to rename that file to be picked up during the make deploy in the charm18:09
hatchI'm doing it in the lxc juju-gui instance18:09
rick_h__hatch: and you can or cannot generate a xv file?18:10
hatchrick_h__ hangout?18:10
rick_h__hatch: rgr18:10
hatchhttps://plus.google.com/hangouts/_/7acpj4qna7ell1e9ovto0fmj8g?hl=en18:11
hatchnew git alias `cf = "grep -n --color"` :)18:38
rick_h__alias grep = "grep -n --color" :P18:38
rick_h__pretty sure you can alias over itself18:38
hatchnegative18:40
hatchtried that already heh18:40
rick_h__Makyo: comments inbound. I got picky on the UX, let me know if it's more than you were looking for or anything is confusing/etc18:40
Makyorick_h__, cheers, that's fine.18:40
hatchhttps://bugs.launchpad.net/juju-gui/+bug/126231518:45
_mup_Bug #1262315: inspector charm details breakout maxes at the max height of the inspector <juju-gui:New> <https://launchpad.net/bugs/1262315>18:45
gary_posterargh.  worked through lunch again. :-(18:50
hatchoh crap so did I18:51
hatchhaha18:51
gary_posterheh18:51
bacbenji: we seem to have rallied.  charm queue down to ~10K from 24K two hours ago19:10
benjiheh19:10
bacbundles still growing19:10
bacbenji: did you get a chance to look at the logging config?19:10
benjibac: nope, I lunched too and then went back to the missing bundle issue19:11
benjido you want to pair on this?19:11
bacbenji: yes19:11
bacbenji: give me 5 minutes?19:11
benjiSure.  I bet today's hangout is still up.19:11
bacbenji: yep and i'm in there19:18
benjion my way19:18
hatchgary_poster test-prod is 20s so not much faster than your desktop :)19:52
gary_posterhatch, that's awesome :-)19:52
hatchthat is only single core though, I have 4(8)....clearly there is room for improvement :P19:52
gary_poster:-)19:53
hatchrick_h__ hey so my develop fork is totally borked, the pr of my recent branch shows like 30 commits when there was only one...can I delete my current fork, create a new one then cherry pick the commit to apply to the new branch?20:06
gary_posteryeah rick_h__ my local repo is hosed.  was going to ask you to help me work through it, but been busy with other things, and still want lunch :-P20:07
* gary_poster lunches20:09
rick_h__hatch: rgr20:17
hatchyeah? ok cool20:17
rick_h__gary_poster: :( ok, let me know when you get back from lunch and will try to keep an eye out20:17
hatchI'm going to grab some lunch now too then I'll give it a go20:17
rick_h__hatch: yea, that's basically what I did last night20:17
rick_h__created a new branch, cherry picked. You might have to pull down the bad branch into your local workspace so it knows the sha reference to cherry pick20:18
rick_h__hatch: see my email from last night on it 20:18
hatchcool will do20:18
hatchso new rule "no rebasing develop"20:18
hatchlol20:18
rick_h__heh, yea20:19
rick_h__though I do want to try to take the time to walk the process and make sure exactly what step led astray20:19
rick_h__hatch: do me a favor though, look at the git log and see if it lines up with the github display20:22
rick_h__the thing that got me last night was that git log seemed fine, but github seemed confused and I wonder if it's doing something 'magic' in pull requests that I missed/need to take into account20:22
hatchrick_h__ these commits don't line up at all20:24
hatchthey are all from days ago 20:25
bacbenji: argh, we lost ground on staging b/c ingest run by hand finished!20:32
benjiheh20:32
bacbenji: at the end of the unified run, anything left in the queue can be declared to be stuck and purged.20:36
benjibac: yep (and logged as an ERROR)20:36
bacyeah, that too20:37
bacbenji: do you know what basket is stuck?20:37
benjibac: I have it around here somewhere, but I have to leave now for my appointment20:37
bacbenji: i don't care as long as you do know.20:37
gary_posterhey rick_h__ should I just delete my local repo and github repo and start again?20:50
rick_h__gary_poster: that'll work. The other thing you can try to do is to delete just the develop branch21:00
rick_h__git push origin :develop (make sure origin is YOUR fork)21:00
rick_h__gary_poster: and then 21:00
gary_posterrick_h__, locally, in github, or both21:00
rick_h__git pull juju develop21:00
rick_h__git push origin develop21:00
rick_h__gary_poster: all commands from your local clone of your fork on github21:00
gary_posterack21:00
gary_posterrick_h__, so the first thing I do is git brancgh -d develop, right?21:01
rick_h__gary_poster: yes21:01
gary_posterk trying21:02
gary_posterargh21:07
rick_h__gary_poster: hangout?21:08
gary_postersure21:08
* hatch would like to join as well21:08
rick_h__hatch: https://plus.google.com/hangouts/_/7acpjddus2dgtntjhhvbmu6qvs?hl=en21:08
=== hatch_ is now known as hatch
hatchgary_poster hey re the charm details bug that you just closed - Do you think that maybe we should get their input on that? If you saw the photo you can see that it's hardly ideal :)21:31
hatchjujugui I need two reviews/qa's on https://github.com/juju/juju-gui/pull/36 it removes all of the old inspector templates and code which was left21:32
gary_poster hatch, we already have gotten their input.  you know I go to them when we have an issue.  This is exactly what they told us to do.  We did something different at first and they had us change it.  If  you want to bring it up with Luca yourself, it's ok, but be aware of history, and for me it's closed.21:33
gary_posterI mean, 21:33
gary_posterfor me, I think this issue is won't fix, as I marked the bug.21:34
hatchalrighty no problem21:34
gary_posterhatch I'll do a review21:34
gary_poster646 lines, woohoo21:34
hatchhaha yup and none of it is rick_h__ 's code lol21:35
hatchsee rick_h__  i'm an equal opportunity code remover ;)21:37
gary_posterhatch trvial but I think you can remove line 1398 ("'juju-view-service',") from /home/gary/dev/juju-gui/app/views/inspector.js21:42
hatchyes you're right, nice catch21:43
hatchthanks21:43
gary_posterwelcome21:44
gary_posterhatch, fwiw, it is all code deletion.  I think one review is OK if no one else has stepped up21:51
hatchok cool as long as it qa's ok, it all worked well here 21:51
gary_posteryup21:52
gary_postershipit21:52
gary_posternot the most useful graph: https://github.com/juju/juju-gui/graphs/code-frequency21:54
gary_posternoise at the beginning21:54
hatchhaha22:01
hatchgary_poster rick_h__ mind proofing before I send plz https://gist.github.com/hatched/1d624a34c13553882ee422:01
gary_posterreading22:02
gary_posterI used push --force.  More explicit.  <shrug>22:03
hatchchanged22:04
gary_posteractually hatch you can delete lines 24 and 25, and make line 31 have the --force.  That's what I did.  Fewer steos, and no downside that I see22:04
hatchagreed22:05
rick_h__hatch: step 1: git co master (or some branch other than develop)22:16
rick_h__hatch: so you can do the deletion22:16
hatchupdated https://gist.github.com/hatched/1d624a34c13553882ee422:17
rick_h__hatch: https://gist.github.com/mitechie/0285d9d0b407ba3ab97f22:18
hatchI think we both made the same change at the same time lol22:18
rick_h__hatch: k, I also deduped a step since you only need to push once22:20
rick_h__simpler > *22:20
hatchyup I also removed that in the most recent version22:20
hatchcool I'll send this version22:21
hatchsnet22:23
hatchsent even22:23
rick_h__cnblndriunvtnkivldurjldundhftejkr22:27
hatchi agree22:32
hatchlol22:32
gary_posterhi yubico!  we missed you too22:32
gary_posterand with that, I am off!  22:35
gary_posterbye22:35
=== gary_poster is now known as gary_poster|away
Makyorick_h__, if you're around, did things look good with your proposed changes?  Missed a portion of the afternoon and may be submitting late.22:59
MakyoFigured I'd ask if you're still around :)22:59
hatchMakyo hey so what time is it there now?23:00
hatch3?23:00
Makyo4.23:00
hatchohh ok23:00
hatchI can't keep other timezones straight :)23:00
MakyoNeither can I :)23:01
hatchhaha23:01
MakyoTrying to taper meds, just lost track of a few hours.  Will get it in the next little bit, just may be late.23:01

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