[00:14] <gary_poster> hey huwshimi I haven't from you about progress.  how are the transitions?
[00:15] <huwshimi> gary_poster: Just working on them now... being a bit of a hassle tbh :)
[00:21] <gary_poster> huwshimi, ack :-) fwiw we will probably make a release tomorrow.  if it is in that would be cool.  if not, so be it.
[00:21] <gary_poster> ttyl
[00:21] <huwshimi> gary_poster: Ok, understood.
[01:43] <m_3> gary_poster: ping... can you help with demo prep for a few minutes?
[01:44] <m_3> gary_poster: wondering what I should expect to see wrt subordinates
[01:54] <marcoceppi> Any reason raring was left off of the series in the gui search?
[01:58] <rick_h> m_3: subordinates should work ok I believe. I know we tested that out in a case during sprints.
[01:58] <rick_h> marcoceppi: huh? precise should be still set though we're moving to remove the filters soon so it'll go away
[01:59] <rick_h> https://jujucharms.com/fullscreen/search/?series=precise&text=apache&type=approved shows series with precise pre-selectedxc
[01:59] <marcoceppi> rick_h: precise is set, but there are raring charms and no way to show them
[01:59] <rick_h> marcoceppi: ah right...well we 'support' LTS
[01:59] <marcoceppi> (exactly 7 personal branch'd raring charms)
[01:59] <marcoceppi> So...quantal is a goof?
[01:59] <rick_h> thuogh I did think raring was added...checking
[02:00] <marcoceppi> I'm fine with it being unchecked by default
[02:02] <rick_h> marcoceppi: looking, if we've got it in the back end I can get it in the gui for tomorrow's deploy
[02:03] <rick_h> marcoceppi: so it looks like the back end has them https://manage.jujucharms.com/api/2/charms?series=raring&text=
[02:03] <marcoceppi> rick_h: thanks, it's not a vital think I was just asking because someone brought it up in the room
[02:03] <marcoceppi> I can open a bug - again not vital
[02:03] <rick_h> marcoceppi: so I'll add raring in, but yea none of them are 'reviewed'
[02:03] <rick_h> and looks like none for saucy
[02:03] <rick_h> https://manage.jujucharms.com/api/2/charms?series=saucy&text=
[02:03] <marcoceppi> I'm pretty sure there are no saucy charms
[02:04] <rick_h> marcoceppi: so the idea is to remove filters all together and try to display series on the block of charm token going forward so they'll start showing up, but that's probably at least a few days away so can show for now
[02:06] <marcoceppi> rick_h: sounds good, again nothing I've mentioned is vital. m_3 has the more pressing "issues"
[02:06] <rick_h> marcoceppi: what issues?
[02:07] <marcoceppi> rick_h: Airquote that, he was just trying to get subordinates tow rok
[02:20] <m_3> rick_h: hey... any hints on how to export a bundle in the current juju-gui?
[02:20] <m_3> bcsaller: ^^
[02:23] <m_3> rick_h: also, I'm having some problems getting subordinates to display
[02:23] <m_3> they show up as standalong (unrelated) services
[02:24] <m_3> this is pretty important... last minute demo change from mark for tomorrow morning... so any help appreciated
[02:25] <rick_h> m_3: yea, looking and noticed that. Lookinf for the dnd support as well
[02:25] <rick_h> Makyo: hatch ^^ ?
[02:26] <m_3> thanks
[02:29] <rick_h> m_3: so S-d (shift-d) will do an export
[02:29] <rick_h> m_3: and dragging that file onto the canvas should imporr it
[02:29] <rick_h> m_3: might need :flags:/dndexport/ in the url to make it work
[02:32] <m_3> rick_h: ok, thanks, I'll try that in a sec... old session up
[02:32] <rick_h> hmm, except it exports but won't import :/
[02:32] <rick_h> m_3: I don't know on the subordinate stuff. Hoping others come along on that one.
[02:32] <m_3> k, thanks... seems like shift-d did something
[02:32] <m_3> I'm digging through the output now
[02:40] <Makyo> I'm getting subordinates, but they're only showing as subordinates on deploy, which I thought had landed.
[02:40] <Makyo> m_3, ^^^
[02:40] <Makyo> m_3, Using puppet as a test here.
[02:40] <rick_h> Makyo: might have landed but not on jujucharms.com.
[02:40] <rick_h> and damned if I can get an import to work though it seems like it should :/
[02:41] <Makyo> rick_h, True.  It shows as a subordinate after deploy, just not during the deploy process.  Guess that landed after the release.
[02:45] <m_3> Makyo: so that's if I deploy it using the gui
[02:45] <m_3> ?
[02:45] <m_3> Makyo: I've been actually just trying to get the gui to show a stack I've spun up from a script
[02:45] <Makyo> m_3, This was testing on jujucharms running in a sandbox, yeah.  I have an instance running now on EC2, though, so give me a second.
[02:45] <m_3> but I can add subs after-the-fact if that's necessary to get the to show that way in the gui
[02:45] <m_3> ack
[02:47] <Makyo> m_3, using core?  Checking that now, and pending services aren't showing the 'subordinate' flag.
[02:47] <Makyo> m_3, er... don't suppose pending matters with subordinates.
[02:47] <Makyo> It shows up as a regular service without a status bar.
[02:48] <m_3> Makyo: using 1.11.4 on hp (and ec2)
[02:49] <Makyo> m_3, Alright.  I can't inspect the ws frames from firebug, but I can dig in real quick.  Just a sec.
[02:49] <m_3> Makyo: is it worth trying to deploy the subordinates via the gui?
[02:49] <Makyo> m_3, Let me check.
[02:49] <m_3> k
[02:52] <Makyo> m_3, Deploying puppet on EC2/core 1.11.3 from the GUI results in an error. <-- jujugui
[02:53] <Makyo> m_3, is there another subordinate you know of offhand I can test with?
[02:53] <m_3> ganglia-node
[02:53] <m_3> newrelic will always error out if that's useful (license config)
[02:53] <m_3> juju (the charm) is a sub
[02:53] <m_3> ganglia-node's the most relevant atm
[02:54] <Makyo> m_3, also fails.
[02:54] <Makyo> {"RequestId":13,"Error":"subordinate service must be deployed without units","Response":{}}
[02:54] <Makyo> We're trying to deploy subordinates with one unit.
[02:55] <m_3> hmmm... ganglia-node has been deploying fine
[02:55] <Makyo> m_3, From the GUI?
[02:55] <m_3> juju deploy mysql && juju deploy ganglia-node && juju add-relation mysql ganglia-node
[02:55] <m_3> Makyo: nope, not from the gui
[02:55] <Makyo> m_3, Ah, yeah, this is from the GUI, which is assuming all services want at least one unit.
[02:56] <m_3> ack
[02:56] <m_3> ok, so I'm hearing I should probably either scrub subs from the demo bundle
[02:56] <m_3> or accept that they're gonna look funny?
[02:58] <m_3> Makyo: ok, so next issue I'm seeing... status seems to be out of sync with `juju status`
[02:58] <m_3> four units of a single service
[02:58] <m_3> `juju status` reports two fine, two in error state
[02:59] <Makyo> m_3, Probably scrub; no way to view subordinate relations without them being recognized as subordinates.  This maaay be on core, though, so let me check debug-log
[02:59] <m_3> gui shows them all in error state... red bar on main icon, _and_ when I click 'view' the details screen shows all units in 'error' state
[03:00] <Makyo> m_3, Is this with the serviceInspector flag in the URL, or without?
[03:00] <m_3> Makyo: ack on scrub
[03:00] <m_3> Makyo: no serviceInspector flag afaik
[03:00] <m_3> lemme reproduce, then I can hand you the url
[03:00] <Makyo> m_3, Okay.  Flag would be URL ending in /:flags:/serviceInspector
[03:02] <m_3> Makyo: so I should put that explicitly in the url when I click on "view" for the service?
[03:02] <Makyo> m_3, No, sorry.  Was just curious if you were using that.  That's future.
[03:02] <m_3> (sorry)
[03:02] <m_3> nope, nothing fancy
[03:02] <Makyo> Cool, thanks.
[03:08] <Makyo> #1204330
[03:08] <_mup_> Bug #1204330: GUI deploys subordinate with 1 unit, causing errors in core <juju-gui:Triaged by makyo> <https://launchpad.net/bugs/1204330>
[03:08] <bcsaller> Makyo: do you have fix for the sub thing? do you need one?
[03:09] <Makyo> bcsaller, I have a fix for if deployed from the GUI.
[03:09] <Makyo> bcsaller, investigating the other part of the GUI not picking up is_subordinate from core
[03:10] <m_3> Makyo: status reporting beautifully this time around
[03:10] <bcsaller> I think ghost-inspector:deployCharm makes no effort to set numUnits when a sub, but it could be done in a different layer
[03:10] <Makyo> bcsaller, Yeah, this is in charm-panel.js.  Fix is to set zero if subordinate, and hide the num-units field.
[03:11] <m_3> Makyo: i.e., partially red bar... view reports one of four in error state which matches the CLI
[03:11] <bcsaller> Makyo: ahh, right, no flag yet :-/ wasn't thinking
[03:11] <Makyo> Sorry, if subordinate, replace text input with hidden input, value=0
[03:11] <Makyo> m_3, Were the units deployed with the GUI, or CLI?
[03:12] <m_3> CLI
[03:12] <rick_h> bcsaller: what do you need to do to import? I've gotten exports with S-d, but dragging that back in fails with the dndexport flag set?
[03:12] <Makyo> m_3, thanks.  Not sure what would be causing that :/
[03:12] <m_3> Makyo: not sure what was different with that
[03:12] <m_3> right
[03:13] <m_3> so only the sub rendering problem remains
[03:13] <bcsaller> rick_h: the export format was changed to be deployer (quickly) but the import format is the old one, there are examples in the test dir
[03:13] <Makyo> Core is reporting whether or not a service is subordinate only in the charm info, which sort of makes sense.
[03:13] <Makyo> We're just expecting it in the service info
[03:13] <m_3> but I'll move forward assuming we won't have that for the morning
[03:13] <Makyo> m_3, correct.
[03:13] <bcsaller> but that is a real issue, importing a deployer file should happen very soon though given we have a team on it
[03:14] <m_3> The current plan for the demo is to spin up the bundle from the CLI, then Mark will add some incomplete relations on-stage
[03:14] <rick_h> bcsaller: k, I knew there was work underfoot, but hadn't realized it wasn't working in/out atm
[03:14] <bcsaller> in a past life it did
[03:15] <m_3> k... thanks gang!
[03:15] <bcsaller> you can still drag from one browser to another I think though
[03:15] <bcsaller> haven't tested that in a while though
[03:15] <Makyo> #1204331
[03:15] <_mup_> Bug #1204331: GUI does not recognize subordinates from core <juju-gui:Triaged> <https://launchpad.net/bugs/1204331>
[03:22] <rick_h> sorry m_3, seems we don't have a lot of good bits for you tonight :/
[03:26] <m_3> rick_h: np, It'll still be interesting for mark to show on stage... somewhat complex stack even without the subs
[03:27] <m_3> if it's something that can land by tomorrow 7 or 8 pacific time, I'm happy to try again in a different environment then
[03:28] <m_3> I'll freeze this one and leave it for the demo as-is
[03:29] <rick_h> m_3: yea, good luck! time for me to try to get to bed while it's still Tues.
[12:39] <gary_poster> jujugui, I'm going to make some small tweaks to Makyo's branch for #1204330, per my review and Rick's review, and land it.  Then I'm going to tackle #1204330: I think we can use the charm information that we are already getting for config to set the subordinate value.  If anyone is willing, able, and optimistic about their work speed to tackle either of those (we ideally have a release with these out in two hours fo
[12:39] <gary_poster> r OSCON), let me know.
[12:39] <_mup_> Bug #1204330: GUI deploys subordinate with 1 unit, causing errors in core <juju-gui:Triaged by makyo> <https://launchpad.net/bugs/1204330>
[12:39] <_mup_> Bug #1204330: GUI deploys subordinate with 1 unit, causing errors in core <juju-gui:Triaged by makyo> <https://launchpad.net/bugs/1204330>
[12:39] <gary_poster> sorry second one was #1204331
[12:39] <_mup_> Bug #1204331: GUI does not recognize subordinates from core <juju-gui:Triaged> <https://launchpad.net/bugs/1204331>
[12:42] <rick_h> gary_poster: thanks, I'm not comfy trying to squeeze in a fix to code I've not peeked at as a bug fix pre-presentation but happy to help review and such as needed.
[12:42] <gary_poster> thanks rick_h
[12:58]  * bac reboots
[13:13] <gary_poster> jujugui, could someone please start up improv, run my branch (lp:~gary/juju-gui/core-sub-num-units) and verify that you can still deploy subordinates against pyjuju?
[13:13] <gary_poster> jujugui, second q: does someone have a working, recent juju core atm that they can help qa issues with?
[13:14] <gary_poster> jujugui, to be clear, we are in a critical race against the clock mode
[13:14] <benji> gary_poster: I can do the first (improv)
[13:14] <gary_poster> benji, thank you
[13:15] <gary_poster> benji, general release qa would be good too, though I have another branch to try and fit in
[13:15] <benji> gary_poster: I can do that
[13:15] <gary_poster> thank you
[13:15] <benji> gary_poster: on the branch you gave, right?
[13:15] <gary_poster> benji, right
[13:15] <benji> k
[13:16] <frankban> gary_poster: https://ec2-54-234-245-82.compute-1.amazonaws.com/
[13:17] <gary_poster> frankban, fanstastic.  that's my branch?  could you give me password via some secure mechanism, or verify that deploying subordinates now works?\
[13:19] <frankban> gary_poster: that's stable, I'll switch to your branch
[13:19] <gary_poster> frankban, thanks
[13:21] <benji> gary_poster: I can't seem to build relations at all with that branch.
[13:22] <gary_poster> benji, excellent!  :-)
[13:22] <benji> pfft
[13:23] <gary_poster> benji, diff is small; any quick diagnosis?
[13:24] <benji> gary_poster: well, with improv building relations seems to work; I was having the problem with sandbox
[13:24] <benji> gary_poster: how do I make a subordinate relation?
[13:24] <gary_poster> benji, use a subordinate charm.  puppet, for instance
[13:25] <benji> gary_poster: subordinate relations appear to be fine
[13:26] <gary_poster> benji great thanks.  sandbox issue may be related as well.  more changes there in fakebackend.  anything in console?
[13:26] <benji> the one small thing is a style issue (which was probably pre-existent); when I click on the subordinate icon (the thing to the right of the service box) the number goes italic and is clipped slightly on the right
[13:26] <gary_poster> yeah, pre-existing, not sure what the intent is
[13:27] <benji> gary_poster: relating apache to apache works in sandbox so we're at least as well off as we were there
[13:28] <gary_poster> benji, what was the sandbox issue then?
[13:28] <benji> when creating a relation it would snap to a service but then ignore the click to finish creating the relation; I can't repro now
[13:28] <gary_poster> ok cool benji
[13:29] <gary_poster> benji, so improv and sandbox appear to qa OK for subordinate issue atm, yes?
[13:29] <benji> gary_poster: correct
[13:29] <gary_poster> great thanks benji.  quick exploratory testing while you are at it?
[13:29] <benji> yep
[13:29] <gary_poster> ty
[13:33] <benji> gary_poster: is this default icon issue in FF known? http://i.imgur.com/7gxOrUG.png?1
[13:33] <gary_poster> benji, not sure; it's come and gone.  rick_h ^^^ ?
[13:34] <gary_poster> odd that haproxy is right and nagios/puppet wrong
[13:34] <gary_poster> should be same code
[13:35] <rick_h> benji: yes
[13:35] <rick_h> benji: that's a known svg issue
[13:35] <gary_poster> thanks rick_h .  why is haproxy ok?
[13:36] <bac> hi gary_poster, i'm on orange call.  can we push our 1:1 to 10:00?
[13:36] <rick_h> gary_poster: the default icon is 160px svg, the category ones are 96px
[13:36] <gary_poster> bac, I thought was tomorrow?
[13:36] <rick_h> just what we got from assets so guessing that's the issue
[13:37] <gary_poster> rick_h, ah gotcha thx
[13:37] <bac> ah, right, we switched to wednesday for one week only.  nm.  i'll make the same request tomorrow, though.  :)
[13:37] <gary_poster> bac :-) you already asked to switch with teknico . I said +1
[13:37] <bac> gary_poster: i did not see your reply.  great.
[13:38] <gary_poster> bac, maybe I only thought +1 :-P sorry
[13:38] <bac> gary_poster: np.  could you update the calendar?
[13:38] <gary_poster> bac did you get teknico's +1?  or was he out when you asked?
[13:38] <bac> he's been out
[13:39] <benji> gary_poster: other than this oddity in the console log, I can't find any QA problems.
[13:39] <benji> Failed to load resource: the server responded with a status of 404 (Not Found) https://manage.jujucharms.com/api/2/charm/precise/drupal6-0/icon.svg
[13:40] <gary_poster> huh, doesn't look like a gui issue anyway benji.  thank you very much!  rick_h sinzui ^^^ ?
[13:42] <sinzui> gary_poster, I think you have discovered a bug that adeuring just landed a fix for
[13:42] <gary_poster> sinzui, lol, cool
[13:43] <sinzui> gary_poster, benji, we have a fix for the case users use a different name for charm in the metadata than the actual location they pushed the branch: https://manage.jujucharms.com/static/img/charm_160.svg
[13:44] <sinzui> ^ is the real location
[13:44] <gary_poster> benji does dnd deploy work on improv?  not working on core for some reason.  frankban, same for you?
[13:44]  * sinzui will ask for a deploy in a few minutes
[13:44] <gary_poster> sinzui, great.  does that also include the more colorful category icons, do you know?
[13:44] <benji> gary_poster: I'm pretty sure it works.  Verifying now.
[13:44] <gary_poster> thanks benji
[13:44] <rick_h> gary_poster: bcsaller said last night that it's a format conflict right now
[13:44] <gary_poster> rick_h, what is?
[13:45] <rick_h> gary_poster: the exported format isn't taken as the import format when we were trying to help m_3 last night
[13:45] <gary_poster> rick_h, no, that's bundle import export he was talking about
[13:45] <benji> gary_poster: it works
[13:45] <gary_poster> benji thank you
[13:45] <rick_h> gary_poster: ah sorry, ignore me.
[13:47] <frankban> gary_poster: dnd correctly creates a ghost in my environment, do I need to click deploy?
[13:47] <gary_poster> frankban, no, cool thanks
[13:49] <gary_poster> the subordinate relation ux leaves a lot to be desired :-/
[13:49] <gary_poster> I keep forgetting that it is not a bug that the new relation disappears\
[13:50] <rick_h> jcsackett: linky for review? Sorry if I missed it in the hangout
[13:50] <sinzui> rick_h, we can talk any time it is convenient to you today
[13:52] <rick_h> sinzui: k, thanks. I'll bug you after coffee shop time when I can get back into the house then.
[13:52] <sinzui> fab
[13:53] <bac> gary_poster: i just requested swap day for next friday, not monday as i'd previously asked.  hope that is ok.
[13:53] <gary_poster> bac, cool
[13:56] <sinzui> rick_h, do you have time to review my branch: https://code.launchpad.net/~sinzui/charmworld/heartbeat/+merge/176530
[13:56] <rick_h> sinzui: definite
[13:56] <rick_h> doh, can't tab complete any word you feel like it :/
[14:01] <hatch> morning
[14:03] <jcsackett> rick_h: https://codereview.appspot.com/11696045/
[14:05] <gary_poster> rick_h, sinzui I thought charms knew if they were subordinates.  not true?
[14:06] <rick_h> gary_poster: yes, it's in the BrowserCharm model at least. Makyo suspected an api change on the Juju side. I didn't look to compare if that's changed.
[14:07] <gary_poster> rick_h, ack thanks.  right, it was a change on the service, but hopefully not on the charm
[14:07] <Makyo> Charms should still know.
[14:07] <rick_h> gary_poster: https://manage.jujucharms.com/api/2/charms?series=precise&text=nagios&type=approved so the nagios charm is showing is_subordinate
[14:07] <rick_h> precise/nrpe-1 that is
[14:08] <gary_poster> Makyo, cool, hi.  I have a branch that makes the changes rick and I mentioned. it appears it qas ok.  I have a fix for the other bug--it takes subordinate value from charm, which should be fine, since we do the same kind of thing for endpoints
[14:08] <Makyo> gary_poster, YEah, just prowling through email now.  Will review the first real quick.
[14:08] <gary_poster> Makyo, rick_h only issue is that charm has correct is_subordinate value in place 1, and incorrect in place 2.  not sure problem, but sure it is related to two model stuff somehow
[14:09] <gary_poster> rick_h, where is browser charm converted to normal charm again?
[14:09] <gary_poster> I mean old charm
[14:09] <rick_h> gary_poster: sec, it's in the subapp/browser/views/charm.js and in the widgets/charm-token.js it's json-ified
[14:09] <rick_h> gary_poster: we've not combined the two places yet
[14:09] <gary_poster> rick_h, ack looking thanks
[14:10] <rick_h> gary_poster: _addCharmEnvironment is the method in charm.js
[14:11] <rick_h> gary_poster: both models have is_subordinate so it should 'just work' cleanly in the casting
[14:12] <gary_poster> m_3 we are trying to have fixes for both subordinate bugs in a branch at least.  let me know as you approach last minute.  you would need to start another environment and deploy gui with "set juju-gui-source="BRANCH I GIVE YOU".  Hopefully on last steps to stomp the subordinate display bug...
[14:15] <rick_h> sinzui: feedback inbound
[14:15] <sinzui> thank you
[14:19] <sinzui> rick_h, about your feedback. I noticed yesterday that when I run the entire test suite, I loose my featured charms. I think something is using the real charms collection in a test
[14:20] <rick_h> sinzui: orly? ugh.
[14:20] <sinzui> rick_h, I agree with all your points and will make changes
[14:20] <rick_h> sinzui: ok, well I think the idea stands that if not having them is a failure we should try to auto add them, but might be a follow up/different bug
[14:20] <rick_h> sinzui: but thanks, will be nice to help debug issues
[14:26] <sinzui> bac: I have a few hours of changes to make to two branches to get our API changes landable. There might be some confusion about doctype. Per https://code.launchpad.net/~sinzui/charmworld/bundles-api-2/+merge/176246 I will change the search calls to use _type, but I think we need to include doctype as data on the charm or bundle so that the client (juju-gui) knows what kind of object to instantiate.
[14:28] <bac> sinzui: i had seen aaron's comments on that.  will be glad to review when you're done
[14:28] <sinzui> thank you bac
[14:31] <gary_poster> frankban, could you please switch your juju core charm to lp:~gary/juju-gui/bug1204331 and let me know when it is up?  m_3 << I think that branch will work for you.  we will test.  keep the other env as backup and we can see if this works for your script
[14:33] <gary_poster> jujugui, I have a call now.  could someone comfortable-ish with GUI (non-charm-browser) charm craziness and/or endpoints look at my commit above and see if they can figure out a nice way to test that?  warning, I may ask you to follow through :-)
[14:33] <frankban> gary_poster: in progress
[14:33] <gary_poster> thanks frankban
[14:33] <hatch> frankban: lemme know if you want another set of eyes
[14:35] <frankban> hatch: "in progress" is referred to the juju gui in my env switching to another source, not to the last Gary's request. So, I guess it's all yours ;-)
[14:37] <hatch> oh haha, ok well in that case! I'll need the commit
[14:37] <hatch> It doesn't look like it's in my backlog
[14:37] <rick_h> hatch: http://bazaar.launchpad.net/~gary/juju-gui/bug1204331/revision/888
[14:37] <hatch> thanks son
[14:38] <hatch> my best gangsta
[14:38] <rick_h> hatch: 'lp:~gary/juju-gui/bug1204331'.replace('lp:', 'code.launchpad.net/')
[14:38] <rick_h> for future reference
[14:38] <rick_h> and thank you chrome "recently closed tabs"
[14:39] <frankban> gary_poster: the environment is ready
[14:40] <gary_poster> frankban, thank you!
[14:41] <hatch> I really hate how hard it is to get to the actual edited files from these diffs
[14:41] <hatch> like SRSLY!!!
[14:41] <rick_h> hatch: bzr switch trunk && bzr colo-branch help-gary && bzr merge lp:~gary/juju-gui/bug1204331 :P
[14:42] <hatch> that won't show me the diff in the file :P
[14:43] <rick_h> bzr diff | vim -
[14:43] <hatch> which gives me the same information I have on that commit page
[14:43] <hatch> you tried....
[14:43] <hatch> :P
[14:43] <rick_h> what more do you need to get the 'edited files'? anyway, get to testing, less complaining :P
[14:44] <hatch> well to get the overall picture of the file
[14:44] <hatch> gota load the file into my brainpiler
[14:44] <hatch> which will then slowly execute the js incorrectly
[14:44] <hatch> :P
[14:46] <Makyo> Inefficient :|
[14:47] <gary_poster> m_3 that branch works for me for both of your bugs
[14:47] <gary_poster> frankban, thank you done with env
[14:48] <hatch> gary_poster: you probably realize this....but this won't solve the issue for the ghost or new inspector
[14:48] <frankban> gary_poster: cool
[14:50] <hatch> gary_poster: so I would create/modify a unit test for the endpoints code to check for the subordinate flag, same goes for the charm model
[14:51] <hatch> a test for the inspector could also be added once we add that functionality
[14:51]  * hatch is driving towards more unit and less integration tests
[14:51] <gary_poster> hatch, ack.  on call.  I suggest proceeding with your previous branch, and we can talk after you are finished with it, or if I have a chance to revisit myself.  thank you!
[14:52] <hatch> sure I'm just fixing up the tests now
[14:52] <hatch> np
[15:24] <m_3> gary_poster: thanks!... so does this gui need to be up during deployment of everything or can I tack it onto an existing env?
[15:25] <gary_poster> m_3, can tack it on
[15:26] <m_3> ack, thansk
[15:26] <rick_h> sinzui: let me know when you want to chat. I'm back behind the desk.
[15:27] <sinzui> rick_h, okay. I am with webops at the moment. I will ping you when I have time and attention
[15:27] <rick_h> sinzui: rgr
[15:29] <hatch> I just found out my VM doesn't have VIM
[15:29] <hatch> haha
[15:29] <gary_poster> :-)
[15:31] <hatch> what is ^M when it's in a VIM diff?
[15:31] <hatch> they are showing up in the less files
[15:31] <rick_h> hatch: windows line endings :/
[15:32] <rick_h> hatch: http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/
[15:32] <hatch> ACK! who's using winders???
[15:33] <hatch> whoever wrote the cookies.less file
[15:33] <hatch> dun dun dunnnnnn
[15:40] <hatch> I have spent more time fixing the d3 lint errors than the tests lol - clearly there is a tooling issue here haha
[15:44] <Makyo> Really?
[15:44] <hatch> yeah because I tried to make it not look stupid
[15:45] <hatch> clearly it had different plans
[15:45] <Makyo> Yeah, the linter isn't a huge fan of chaining.
[15:46] <rick_h> go linter :P
[15:47] <hatch> umm
[15:47] <hatch> I just tried to lbox and didn't get a cr url
[15:47] <hatch> :/
[15:47] <rick_h> see, you anger the linter and you pay the price!
[15:47] <hatch> cr and the linter are working together I see
[15:47] <hatch> well I'll show both of em!
[15:47] <hatch> RUN IT AGAIN!
[15:48] <rick_h> now, who is really show'ing who as you re-run lbox :P
[15:48] <hatch> I just imagine them workin like they are in a coal mine
[15:50] <hatch> third time is the charm!
[15:50] <jcsackett> hatch: except in that particularly strained metaphor *you're* the canary.
[15:51] <hatch> lol damnit
[15:51] <gary_poster> jujugui call in 10, kanban now (Makyo is leader; sorry for stepping on you yesterday hatch)
[15:52] <hatch> s'ok!
[15:53] <hatch> yuss finally lbox worked
[15:53] <hatch> jujugui looking for reviews https://codereview.appspot.com/11351046
[15:54] <hatch> gary_poster: lemme know what's next on the chopping block whenever you have a moment
[15:55] <gary_poster> cool hatch thanks.  looking
[15:56] <Makyo> On it.
[15:58] <Makyo> jujugui call in 2
[16:03] <rick_h> Makyo: should we add anything to the charm details pane to indicate this charm is local/different? Is that already there in the inspector?
[16:03] <Makyo> rick_h, That'd be a good idea.  It's on the inspector in that it's local:, but something in the pane would be good.
[16:05] <m_3> gary_poster: should I log out to change the juju-gui-source?  it worked fine when I destroyed the gui, then redeployed, then set juju-gui-source
[16:05] <m_3> gary_poster: seemed to be a no-op on this one I was logged into
[16:06] <m_3> gary_poster: very much don't want to have to rebuild this entire stack atm
[16:06] <gary_poster> m_3 you may need to clear out your browser cache
[16:06] <m_3> ah, ok
[16:06] <m_3> gary_poster: how can I check juju-gui version?
[16:06] <m_3> (branch)
[16:07] <m_3> nm, `juju get` wroks in go
[16:15] <m_3> gary_poster: looks great!!!  thanks a ton for the help
[16:15] <gary_poster> yay awesome m_3 good luck
[16:55] <hatch> gary_poster: you said you were going to review my latest branch right?
[16:59] <gary_poster> hatch, yes, on it
[16:59] <hatch> alright great - no rush just wanted to make sure I didn't need another
[17:07] <hatch> Mark's keynote starts right away http://www.oscon.com/oscon2013/public/content/video
[17:08] <rick_h> yep, watching now woot!
[17:10] <hatch> hehe ubuntu edge
[17:11] <rick_h> get it out of the way
[17:16] <hatch> Oooooo
[17:16] <rick_h> so happy, was thinking this was getting lost lately
[17:16] <gary_poster> :-)
[17:18] <hatch> Juju!
[17:19]  * gary_poster nervous
[17:19] <hatch> live demo....
[17:20]  * rick_h ducks
[17:20] <rick_h> woot, it loaded!
[17:20] <rick_h> lol
[17:20] <gary_poster> lol
[17:20] <hatch> plz work
[17:20] <hatch> phew!
[17:20] <hatch> lol
[17:20] <gary_poster> yeah, I was worried too
[17:21] <bcsaller> heh
[17:21] <gary_poster> benji, he dragged, he dropped, he deployed!
[17:21] <rick_h> and related!
[17:21] <hatch> YES!
[17:22] <hatch> why am I so nervous right now...lol
[17:22] <gary_poster> bcsaller, rock
[17:23] <gary_poster> YES!  it's over! :-)
[17:23] <hatch> that was so awesome
[17:23] <gary_poster> and it rocked :-)
[17:23] <bcsaller> yeah, glad that all worked
[17:23] <rick_h> too bad we're not at sprints.   I was trying to multitask and failed ;-)
[17:28] <rick_h> yea, the spectrum
[17:28] <hatch> haha yeah I totally broke on the multi tasking too
[17:28] <gary_poster> he wasn't initially planning to cover the gui
[17:28] <bcsaller> but we all made it look so nice
[17:28] <gary_poster> exactly :-)
[17:29] <hatch> I'm so glad he did and that it worked out
[17:29] <hatch> that was awesome
[17:29] <gary_poster> making a release and deployment of the load fix would be good :-P
[17:35] <sinzui> hi rick_h. I can hangout now or any time for the rest of your day.
[17:35] <gary_poster> hatch, LGTM with one concern
[17:35] <gary_poster> (minor, in review)
[17:38] <rick_h> sinzui: rgr
[17:39] <rick_h> sinzui: invite on the way
[17:39] <hatch> gary_poster: ok thanks
[17:40] <hatch> gary_poster: https://myupdesk.com/upwrite accommodates treadmills :)
[17:40] <gary_poster> hatch, heh that's really cool :-)
[17:41] <hatch> yeah I'm thinkin hard about buying one....I use whiteboards a lot heh
[17:41] <gary_poster> 'course it's more than twice the cost of my current desk :-P but the touch button height adjustment is a killer feature
[17:42] <hatch> it's over 4.5x the cost of my desk lol
[17:43]  * gary_poster decides it is time for lunch
[17:44] <gary_poster> yay, lunch
[17:44] <gary_poster> biab
[17:54] <hazmat> is there a recording of the keynote?
[18:03] <hatch> that up desk has a minimum height exactly where my keyboard sits....hmm :)
[18:20] <rick_h> sinzui: gary_poster I'm landing autocomplete behind a feature flag. It needs some UX love still, but functions. I'm wondering on priorites. keep with autocomplete? work on inspector charm details display/functionality? bugs like #1200743? something else?
[18:20] <_mup_> Bug #1200743: complex search/view interactions in fullscreen fail to work <charmbrowser> <juju-gui:Triaged> <https://launchpad.net/bugs/1200743>
[18:21] <sinzui> rick_h, The search navigation bugs really irk me. I'd like to so those bugs like the closed before adding new features. Putting it behind a feature flag is fine nonetheless
[18:22] <rick_h> sinzui: ok, thanks
[18:25] <hatch> absolutely hilarious http://www.youtube.com/watch?v=Lf-WgUG8sR8 gary_poster you need to watch this....all the way to the end lol
[18:30] <rick_h> curses! I have no lbox'ing light on my desktop
[18:34] <hatch> rick_h: http://blog.safaribooksonline.com/2013/07/16/javascript-powered-arduino-with-johnny-five/
[18:39] <hatch> lol funny comment https://plus.google.com/113936232300062765333/posts/axBNnxtRzzk
[18:40] <gary_poster> hatch, they named me gerbrand anyway ;-)
[18:41] <hatch> like the author?
[18:43] <gary_poster> rick_h, sinzui, makes sense to me.  I look forward to having autocomplete behind us though, so +1 on getting that handled.  I think the charm inspector work is mostly done, although...
[18:43] <gary_poster> rick_h, would you be willing to write an email to Huw
[18:43] <gary_poster> describing what he needs to know/do about styling the inspector's charm panel?
[18:43] <gary_poster> the UX is minimal
[18:43] <gary_poster> I mean
[18:43] <gary_poster> we have had minimal direction
[18:44] <rick_h> sure thing
[18:45] <gary_poster> so the request would be to approximate what little direction we have, filling in the rest with his own good taste and making as few changes as reasonable from the charm browser styling
[18:45] <gary_poster> rick_h, thank you!  please cc me.  but I think you can best direct him to the HTML architecture that he will know
[18:45] <rick_h> ok will do
[18:46] <gary_poster> hatch, like my dad, and his dad, and his dad, and his dad, and...my full name is Gerbrand Poster IV; if we did a line of people in my family with my name and simply incremented then I would be XXIV
[18:47] <hatch> very cool
[18:47] <hatch> it's Dutch right?
[18:48] <gary_poster> hatch, yeah
[18:48] <hatch> so going back all that ways are you royalty or a peasant? ;)
[18:51] <gary_poster> hatch, heh, soldier, supposedly.  name means "guard at the post with arrow of fire" or similar
[18:52] <hatch> ahh very cool :)
[18:52] <hatch> I don't know much of my history...so I made it up that I'm a traveler from the future
[18:52] <hatch> it's pretty complicated....woudln't make for a very good movie....but a quality book series
[18:52] <hatch> might be my big break....lol
[18:52] <gary_poster> lol
[18:53] <gary_poster> hatch btw ack on defined.  ship it.
[18:53] <hatch> shipping!
[18:55] <gary_poster> :-)
[18:56] <gary_poster> jujgui charm programmers: I need two volunteers to review a frankban branch.  IMO they usually rock fwiw. :-) https://codereview.appspot.com/11725044/
[18:56] <gary_poster> jujugui I should say
[18:56] <gary_poster> however it is a bug 'un
[18:57]  * hatch looks at file extension....
[18:57] <bcsaller> I can start on it in a few minutes
[18:57]  * hatch looks at node
[18:57]  * hatch looks at the file extensions....
[18:57] <gary_poster> thanks bcsaller
[18:57] <hatch> sorry I'm out
[18:57] <hatch> :D
[18:57] <gary_poster> :-)
[18:58] <hatch> I'll be going through it for sure but I can't count to a quality review :)
[18:58] <gary_poster> cool
[18:58] <hatch> I figure this is how I'll learn python
[18:59] <hazmat> gary_poster, bcsaller fwiw, i tracked down the issue re export. even if deployer does exports, i think its important for the gui to support it we want people to be able to capture scratches from jujucharms.com / mem envs.
[18:59] <gary_poster> hazmat, I was just about to thank you.  saw bug comment and was looking at github
[18:59] <hazmat> the issue seems to boil down to a yaml 1.1 (which is by far the most common) and yaml 1.2 compatibility issue
[19:00] <gary_poster> right
[19:00] <hazmat> gary_poster, i've got a patch as well that fixes the issue
[19:00] <bcsaller> cool, I hadn't seen it yet
[19:00] <gary_poster> hazmat, awesome!  that was next question :-)
[19:00] <gary_poster> thanks
[19:00] <hazmat> not saying its the  most elegant.. but it seems to work in light testing.. http://paste.ubuntu.com/5908577/
[19:01] <bcsaller> hazmat: is there harm in quoting all the strings?
[19:02] <bcsaller> that does away with the aliases as well
[19:02] <gary_poster> bac, approved swap day fwiw
[19:02] <hazmat> bcsaller, its ugly ;-)
[19:03] <hazmat> bcsaller, ie. the only strings that need quoting are those that need quoting.. i mean part of the appeal of yaml is that its relative terse wrt to extraneous syntax.
[19:04] <hatch> like json
[19:04] <hatch> ;)
[19:05] <hazmat> xjson for machines, yaml for humans ;-)
[19:06] <hatch> if YAML added only a couple syntaxy things it could easily be sent over the wire
[19:06] <hatch> kind of unfortunate really
[19:11] <hatch> rick_h: you're right - this recalc height method is too confusing
[19:11] <hatch> (see I eventually will admit I might be wrong) :P
[19:12]  * hazmat notes the date
[19:13] <hatch> lol
[19:15] <rick_h> hatch: :P
[19:15] <rick_h> hatch: yea, I've not gotten that far in my refactor :)
[19:23] <goodspud> Hey chaps\
[19:24] <goodspud> Well done on the 1.0 release
[19:24] <goodspud> (I'm guessing it's 1.0)
[19:24] <goodspud> Looks great
[19:24] <hatch> goodspud: thanks
[19:24] <hatch> just imagine when it hits 1.0 how awesome it will be ;)
[19:24] <hatch> its 0.8 right now
[19:25] <hatch> appreciate you poping in here :)
[19:25] <goodspud> All good. I like to see how my baby is growing
[19:26] <goodspud> I mean "our" baby
[19:26] <goodspud> I gave up parenting rights
[19:26] <hatch> lol
[19:28] <hatch> bcsaller: I found a 'bug' with the statusbar - it appears that when it's initially rendered it's 920px high for some reason...curious if you have any idea why that is? I can limit it with a css style but want to see if this is an actual bug or not
[19:28] <goodspud> Nice to see you dropped the "health" circle. I never really liked it. My wireframes way back when had a simple line but "pressure" from up to forced it to change
[19:28] <goodspud> from "up yop"
[19:29] <goodspud> Ah crap. Typing while drinking whiskey isn't good
[19:29] <hatch> playing with the Balmer Curve?
[19:30] <goodspud> Lets call it "experimenting"
[19:31] <goodspud> Although I did do amazingly well bowling this afternoon
[19:32] <hatch> sounds like a successful experiement to me
[19:33] <bcsaller> hatch: I don't see that happening, initial height should be fontSize * 2
[19:33] <hatch> I can demo it and the fix if you like
[19:33] <bcsaller> err + 2
[19:34] <bcsaller> sure
[19:34] <hatch> guichat?
[19:34] <bcsaller> but of course
[19:36] <hazmat> goodspud!
[19:36] <goodspud> hazmat: hey dude
[19:40] <Makyo> Oh, hey :)
[19:41] <goodspud> Makyo: Yo
[19:46] <bac> hi goodspud
[19:47] <bac> Makyo, benji: a quiz:  are you running the charmworld tests in an lxc or a "real" env (metal or vm)?
[19:47] <Makyo> bac, Real.
[19:47] <gary_poster> hey goodspud!
[19:47] <benji> bac: lxc on metal
[19:47] <bac> and i predict benji will say lxc
[19:47] <bac> yes
[19:49] <bac> the lxc cloud images have the local tz set to utc.  the problem was some of the date conversions were using fromtimestamp which returns a datetime in the local timezone, which looks like it is the day before wrt utc for those of us running in real environments.
[20:10] <benji> bac: heh; nice bug
[20:12] <bac> sinzui: can you review https://code.launchpad.net/~bac/charmworld/spurious-test-failure/+merge/176774
[20:13] <sinzui> I can
[20:15] <bac> but will you?
[20:29] <hatch> sorry the power keeps going out here :/
[21:06] <bac> sinzui: thanks for the review.  i don't see the issue with 'first_change', though.  where did that code snippet come from?  looking at the code base i don't see first_change being using in a way that'll break.
[21:06] <bac> your other point about indexing into a potentially empty list was a good catch
[21:07] <sinzui> bac: the code on 139 and 143 is doing charm.changes[-1]['created']
[21:07] <sinzui> if changes is an empty list, that breaks
[21:07] <bac> sinzui: yeah that one i saw.  just didn't see the dangerous use of 'first_change'
[21:08] <sinzui> bac: charm.changes[-1] == charm.first_change
[21:09] <sinzui> bac reports is the only module that isn't using charm.first_change
[21:11] <sinzui> bac, now I recall the issue. maybe we don't want to change the odd use of [-1]
[21:11] <sinzui> bac: the charm.changes is only the last 10 changes. We do extra work to get the true first change.
[21:12] <sinzui> bac: If the plotting wants to true first change, we want to use first_change.
[21:12] <bac> sinzui: i have http://paste.ubuntu.com/5908981/  and it seems like it should suffice.  fwiw i never read [-1] as an odd use so maybe that's why i'm confused
[21:14] <sinzui> bac, it is odd if you know that that will gives you a change from last week of juju-gui. The charm is much older than last week
[21:15] <sinzui> bac that change is safe
[21:15] <bac> ok, i'll resubmit
[21:15] <sinzui> oh bugger. I think we have something even more accurate.
[21:16] <gary_poster> jujugui, anybody know if we recently somehow turned the YUI CSS sam skin on?  If you try to delete a service from the environment, the box is a lot less attractive that it used to be (than it is on jujucharms.com)
[21:16] <hatch> gary_poster: yup
[21:16] <gary_poster> hatch, we turned sam on?
[21:17] <bac> i thought yui3-sam was always on
[21:17] <sinzui> bac: charm.date_created is the most accurate date of when a charm was created. The value also can be null if  only the store knows about it
[21:17] <hatch> yeah I think bac and rick_h wanted it
[21:17] <gary_poster> Maybe Makyo and rick_h ?  bac has been on charmworld lately
[21:17] <bac> hatch: the slider uses sam skinning for rails, etc
[21:17] <hatch> I fought against it but was voted off the board
[21:17] <hatch> :)
[21:17] <gary_poster> ah
[21:17] <gary_poster> but...
[21:18] <gary_poster> it's ok on jujucharms.com
[21:18] <bac> hatch: really?  when was this?
[21:18] <gary_poster> this was only within the past week
[21:18] <hatch> oh no I am pretty sure it was added a couple weeks ago
[21:18] <gary_poster> since we made the release at the sprint last wednesday
[21:18] <gary_poster> oh
[21:18] <Makyo> hatch, whoa, what?  the skin has been in place from day 1.
[21:18] <Makyo> We have never NOT had the Sam skin.
[21:18] <hatch> no I definitely remember yui3-skin-sam being added to body recently
[21:18] <bac> yeah, i don't recall any battle royale over the skin
[21:19] <gary_poster> Makyo, hatch, bac, sorry, maybe this is a red herring.  anyway, all I recall
[21:19] <Makyo> hatch, It used to be on the parent div for the slider, but it has ALWAYS been part of the project.
[21:19] <bac> hatch: sure but that wasn't its first use
[21:19] <gary_poster> I mean all I weant to say is that the destroy dialog got done broke in the past seven days
[21:19] <bac> Makyo: +1
[21:19]  * Makyo implemented it in the first place :S
[21:20]  * gary_poster wishes he had started his question in a different way :-P
[21:20] <hatch> having it on the container is fine - but I objected to it on the body
[21:20] <Makyo> Sorry, carried away.  Continue.
[21:20] <hatch> lol
[21:20] <gary_poster> all I got is this:
[21:20] <gary_poster> go to jujucharms.com and make a service and then delete it from the environment: nice dialog box
[21:21] <gary_poster> go to comingsoon and do the same: uglier dialog box
[21:21] <gary_poster> the styling that appears to be involved is sam styling
[21:22] <gary_poster> that is on the body
[21:22] <bac> sinzui: i've pushed the changes for re-review
[21:22] <gary_poster> the yui3-skin-sam class is *not* on jujucharms.com bdy
[21:22] <gary_poster> body
[21:22]  * sinzui looks
[21:22] <gary_poster> that's all I've got :-P
[21:22] <bac> sinzui: not including your latest comment about date_created
[21:23] <sinzui> bac: sure. I think have a real date might break reporting. If someone really cares about accuracy, we can fix it later
[21:24] <gary_poster> moreover, if I remove the yui3-skin-sam class from body, then we go back to happy styling
[21:24] <gary_poster> so...hatch is on the right track somewhere or other, because that yui3-sam-skin class was only added since we made a release
[21:24] <gary_poster> 0.8.0
[21:24] <hatch> gary_poster: I would propose a branch to remove that class from the body and put it only on the containers that absolutely require it
[21:25] <Makyo> gary_poster, cool.  Can we maybe move it to the parent class of the slider? If nothing else, that will be removed in the 'style slider' branch.
[21:25] <bac> sinzui: sent to tarmac
[21:25]  * bac walks very patient dog
[21:25] <sinzui> bac, did you provide a commit message?
[21:25] <hatch> although I don't see any styling on there that's from the sam skin style
[21:25] <gary_poster> It *looks* like that class is not necessary at all to the slider
[21:25] <bac> sinzui: indeed i did
[21:25] <sinzui> all good i see
[21:26] <hatch> gary_poster: no it is
[21:26] <bac> gary_poster: it is my understanding that it is.  it is specified on the div for the slider
[21:26] <hatch> it still has it on it's container
[21:26] <gary_poster> hatch, ah!
[21:26] <gary_poster> or, bac, ah!
[21:26] <gary_poster> someone, ah!
[21:26] <bac> ah ha
[21:27] <bac> that'll go away when someone skins up the new slider style
[21:27] <hatch> lol
[21:27] <gary_poster> um
[21:28] <hatch> I don't see the issue you're reporting though
[21:28] <hatch> when I remove the class the styles stay the same for me
[21:28] <gary_poster> right
[21:28] <gary_poster> that's what I was going to say
[21:28] <hatch> ohh wait
[21:28] <hatch> you're talking w/o the flag
[21:29] <hatch> yeah w/o the flag I see the issue
[21:29] <gary_poster> really?
[21:29] <gary_poster> I don't have flag on...
[21:31] <gary_poster> and there's already a div with the yui3-skin-sam class around the zoom
[21:31] <gary_poster> hatch what badness are you seeing when you remove the class from body?
[21:32] <hatch> when I remove the class it's back to normal
[21:32] <hatch> with it, it has some internal border in the popup alert
[21:32] <gary_poster> right
[21:32] <hatch> I was trying to dupe with the serviceInspector flag on
[21:32] <hatch> :)
[21:32] <gary_poster> but the zoom thing is alwats fine, right?
[21:32] <gary_poster> I can dupe with seviceInspector too
[21:33] <hatch> yes because it has skinsam on it's container
[21:33] <hatch> oh without it, it breaks the tabview in the charm browser
[21:34] <gary_poster> ah!
[21:35] <gary_poster> ok...
[21:35] <hatch> so we should be able to add it to the tabview container
[21:36] <gary_poster> hatch, yeah I was thinking of just putting it on the charm browser
[21:36] <hatch> yeah that appears to fix the issues
[21:37] <hatch> without introducing new ones
[21:37] <hatch> ^ key ingredient
[21:37] <hatch> :D
[21:37] <gary_poster> :-)
[21:37] <hatch> yui3-skin-sam is an artifact before they realized noone wants their styling and only wants the functionality
[21:37] <hatch> haha
[21:49] <hazmat> except it was core to some of the functionality
[21:50] <hazmat> anybody seen this recently? http://pastebin.ubuntu.com/5909097/
[21:51] <hazmat> trying to get a dev environment going to test a branch/bug fix, but npm is complaining about a checksum mismatch.
[21:51] <hatch> hazmat: yeah exactly - they now have it split between core css and style css in the new module format
[21:52] <hazmat> specifically its on yui
[21:52] <hatch> looking at paste...
[21:52] <hazmat> hatch, it looks like its the nodejs package for yui that's causing the issue
[21:52] <hatch> that's odd - I just installed that
[21:53] <hatch> I can't say I've ever seen that error
[21:53] <hatch> possibly a npm cache issue?
[21:53] <hazmat> yeah.. retrying
[21:56] <hazmat> yeah.. npm cache
[21:57] <arosales> sinzui, to follow up on redirects did you mention you were going to redirect for old charm urls?
[21:57] <hatch> :) glad I could help
[21:57] <sinzui> arosales, they were deployed, and they did not work
[21:58] <arosales> sinzui, so still in progress?
[21:58] <arosales> or a no go
[21:58] <sinzui> arosales, we believe there are conflicting redirect/rewrite rules in the production setup of apache
[21:58] <sinzui> we will try again to fix the issue tomorrow when our webops is online
[21:59] <arosales> sinzui, ok thanks for continuing to work on it
[21:59] <arosales> we have a few askubuntu posts that are giving a blank page on jujucharms
[21:59] <arosales> ex http://askubuntu.com/questions/264673/juju-charm-zentyal-isssue and http://askubuntu.com/questions/268634/how-are-log-files-persisted-with-the-logstash-charm
[21:59]  * arosales sure there are others
[21:59] <rick_h> gary_poster: yes, this was part of the autocomplete and bac had it in a branch that did something bac did back when I was first working on AC
[21:59] <sinzui> oh dear
[22:00] <sinzui> arosales, that url conflicts with juju-gui which believes it is a url that it can load
[22:00] <rick_h> gary_poster: so it's used for the slider and the AC widget. Without it we'd need to copy all css rules that make the AC overlay work. It seemed less work to 'undo the damage' in the parts effected like the tabview widget
[22:01] <sinzui> arosales, we weren't planning to support that URL as a redirect since the goal was/is to show charm details in the gui.
[22:02] <sinzui> arosales, this may be addressable with the search story where we want juju-gui to support simple urls
[22:02] <gary_poster> rick_h, did you see my proposal in the email?
[22:02] <arosales> sinzui, sorry I am a bit confused
[22:02] <arosales> so old urls looks like
[22:02] <gary_poster> it dupes the class only twice and works afaik
[22:02] <arosales> https://jujucharms.com/charms/precise/logstash-indexer/
[22:03] <sinzui> We didn't discuss supporting user branches as redirects this week
[22:03] <gary_poster> and like
[22:03] <gary_poster> http://jujucharms.com/~christophe.sauthier/precise/zentyal
[22:03] <arosales> new urls look like https://jujucharms.com/precise/logstash-indexer-0/
[22:03] <sinzui> that link you showed me is the first time we have discussed user branches
[22:03] <gary_poster> sinzui, correct, not this week.  however, it's been a goal to support old urls.  I think we can support these in the GUI redirect rules themselves
[22:04] <arosales> sinzui, you are saying the gui/charm browser tries to parse both of those?
[22:04] <sinzui> yes, and it fails
[22:04] <gary_poster> sinzui,  I think we can make it succeed, don't you?
[22:04] <sinzui> arosales, the redirects we setup are for features the juju-gui does not support
[22:04] <gary_poster> seems pretty straightforward on the face of it
[22:04] <sinzui> gary_poster, absolutely
[22:04] <gary_poster> cool
[22:04] <rick_h> ugh, making url parsing like that succeed will be a pain and complicate the browser dispatch code farther than it already is.
[22:05] <gary_poster> rick_h, really?  can't we simply make the GUI do its own redirection?
[22:05] <rick_h> gary_poster: just replied to the email. I'll try to do a follow up branch that gets autocomplete working again. I'm out tomorrow
[22:06] <rick_h> gary_poster: right now that gui is doing a lot of parsing logic to determine if things are /search/something /sidebar/something /precise/charmid
[22:06] <gary_poster> rick_h, ack on autocomplete/sam skin, thanks
[22:06] <rick_h> gary_poster: hmm, well in looking at the ones you linked only the /charms doesn't work currently
[22:07] <rick_h> gary_poster: adding that isn't a huge pain as we can support it as we do /fullscreen /search and /sidebar now
[22:07] <gary_poster> rick_h, right I think we have two simle triggers
[22:07] <gary_poster> ^/charms
[22:07] <sinzui> gary_poster, we have been burned by the complex redirection rules in the past. it is hard, but not impossible. We need to guarantee that we can recognise a simple url requesting a charm can be redirected to the new charm details URL.
[22:07] <gary_poster> and ^/~
[22:07] <rick_h> gary_poster: right, but /~ should work now?
[22:07]  * rick_h goes to find a charm with an owner to try
[22:08] <gary_poster> https://jujucharms.com/~juju-gui/precise/juju-gui does not
[22:08] <sinzui> rick_h, correct! jcsackett added support for ~ 3 weeks ago
[22:08] <gary_poster> https://manage.jujucharms.com/~juju-gui/precise/juju-gui
[22:08] <gary_poster> ah
[22:08] <gary_poster> then when what we are encountering is the need to not strip off the last -foo I bet
[22:08] <rick_h> gary_poster: right, we've had that bug for a little bit
[22:09] <rick_h> sinzui: though I am not seeing https://jujucharms.com/~juju-gui/precise/juju-gui/ working and that should as well. I'm getting a 404 on https://manage.jujucharms.com/api/2/charm/~juju-gui/precise/juju-gui
[22:09] <rick_h> sinzui: so that might be a bug in the api on charmworld. It should support a 3 part id I thought. :/
[22:10] <sinzui> rick_h, please specify a rev
[22:10] <sinzui> https://manage.jujucharms.com/api/2/charm/~juju-gui/precise/juju-gui-0
[22:10] <rick_h> sinzui: doh!
[22:10] <rick_h> right
[22:10] <rick_h> https://jujucharms.com/~juju-gui/precise/juju-gui-9/ works
[22:10] <rick_h> so this comes back to having some sort of 'HEAD' route for ease of typing and google-fu'ing
[22:11] <gary_poster> yes
[22:12] <sinzui> rick_h, _ alway add -0 which works now.
[22:12] <sinzui> when we have versions, I think we need to decide how to get HEAD
[22:12] <rick_h> ok, so before I leave. Follow up branch for autocomplete/skin-sam and we can do a /charms redirect from within the Gui if we want and we still need to figure out what we want to do for a HEAD url for the other url.
[22:13] <sinzui> rick_h, we want! really we want to show the sexy details for all charms
[22:14] <gary_poster> sinzui, rick_h, arosales is using -head for urls on juju.ubuntu.com
[22:14] <arosales> gary_poster, sinzui, rick_h so it "sounds" like redirects are still in the plan, but details on how that happens is still in the works
[22:14] <gary_poster> arosales, there are two sorts of redirects
[22:14] <gary_poster> one is redirects to manage.jujucharms.com
[22:14] <arosales> gary_poster, I can quickly update juju.u.c to have the correct URLs
[22:14] <sinzui> this topic is not a redirect
[22:14] <gary_poster> right
[22:14] <sinzui> it is about a supporting historic urls for charms
[22:15] <gary_poster> where are those anyway sinzui?  deployed?
[22:15] <sinzui> deployed and failed because they conflict with the production apache configs
[22:15] <gary_poster> the other is to do what sinzui describes
[22:15] <gary_poster> that means changes to the GUI
[22:16] <gary_poster> which hopefully we can get outr tomorrow in a release, and next week at the latest arosales
[22:16] <gary_poster> sinzui, ugh. :-/ do you see a resolution?
[22:16] <sinzui> webops will return to work with new apache files, or we do imprerfect redirect support by only supporting http requested redirects to manage.jujucharms.com
[22:17] <sinzui> gary_poster, this is a case where we have a dedicated webop, and he works on the issue during core hours
[22:17]  * arosales rephrases, redirectes to manage.jujucharms.com and supporting old charms URLs are still in plan it sounds like
[22:17] <gary_poster> arosales, yes, defeintely.  sorry for runaround.
[22:17] <gary_poster> defintely
[22:17] <gary_poster> defintely!
[22:17] <gary_poster> ugh
[22:17] <arosales> :-)
[22:17] <sinzui> arosales, yes 100%
[22:17] <gary_poster> definitely
[22:17] <gary_poster> lol
[22:17] <arosales> thanks gary_poster, rick_h, and sinzui
[22:18] <arosales> jcastro, had ran into a few blank pages at OSCON and was wondering about the status is why I brought it up.
[22:18] <rick_h> well if jcastro needs it...tell him patches welcome :P
[22:18] <hatch> lol
[22:21] <rick_h> ok, with that I'll see you all friday. Party on!
[22:21] <gary_poster> see you rick_h thanks
[22:28] <hazmat> getting this error on make test-prod.. just curious if it rings any bells.. http://pastebin.ubuntu.com/5909182/
[22:30] <sinzui> hazmat, I think rick_h or Makyo had some issue like that 2 weeks ago. I think they had to do some extaordinary make clean step because the library was really installed correctly
[22:31] <hazmat> sinzui, thanks
[22:32] <sinzui> maybe  s/was really/wasn't really/
[22:34] <hazmat> hmm
[22:38] <arosales> rick_h, I'll pass on the message :-)
[22:39] <gary_poster> hazmat, haven't seen.  make clean-all rips out everything, though
[22:44] <hazmat> gary_poster, are there up to date hacking docs around?
[22:45] <hazmat> the ones i've perursed (hacking and docs/hacking.rst) seem a little dated
[22:45] <gary_poster> hazmat, if HACKING isn't up to date, then no.  let us know what breaks and we'll fix it
[22:45] <hazmat> mostly i'm wondering which npm mods need to be installed globally
[22:45] <gary_poster> maybe not tonight tho :-P
[22:45] <gary_poster> ah
[22:46] <hazmat> oh.. that's there.
[22:46] <hazmat> jshint, mocha-phantomjs, and phantomjs
[22:46] <gary_poster> y
[22:46] <hazmat> its just a blast from the pass to see improv at the top of hacking docs ;-)
[22:46] <gary_poster> :-)
[22:54] <hazmat> hmm.. still getting the error on a full reset. googling finds me.. this ref https://github.com/metaskills/mocha-phantomjs/issues/76
[22:55] <hazmat> it sounds like this needs a mocha version update for gui
[22:55] <gary_poster> uh oh
[22:56] <gary_poster> updates are very painful
[22:56] <gary_poster> but maybe you can apply Kapil magic and make it go away :-)
[22:56] <hazmat> gary_poster, yeah.. it might be called not using lbox ;-)
[22:56] <gary_poster> heh
[22:57] <hazmat> gary_poster, i'm just updating a library asset for js-yaml.min.js to fix the export issue, just wanted to try it the proper way.. but tbd.
[22:57] <gary_poster> cool hazmat.  send a mail or file a bug so we don't lose that pain and can try to address?
[22:58] <hazmat> k, i'll drop an email to gui
[22:58] <gary_poster> thank you
[23:12] <huwshimi> Morning


[05:00] <cmaloney> http://decafbad.net/2013/09/20/inertia/
[05:02] <greg-g> a post from the future!
[05:02] <cmaloney> Well, it's 9/20 here. :)
[05:05] <greg-g> cmaloney: well said.
[05:05] <cmaloney> Thank you.
[05:05] <greg-g> the post, that is :)
[05:05] <cmaloney> It's been on my mind ever since ther ewas talk about the new community verification process and the call for leadership
[05:06] <cmaloney> I don't have any knowledge on how many people were nominated for the council but I have a feeling based on the call for nominations that the answer is "not much"
[05:10] <greg-g> I missed the whole bit
[05:11] <cmaloney> greg-g: You didn't miss much
[05:11] <cmaloney> http://fridge.ubuntu.com/2013/08/28/call-for-nominations-to-the-loco-council/
[05:13] <cmaloney> There was a similar post just recently
[05:16] <cmaloney> OK, it's late.  It's a micro hdmi connection cable?
[14:34] <brousch> N7 has this combined usb-video out thing called slimport
[14:34] <brousch> needs a dongle for hdmi
[14:36] <brousch> Ah, N4 has the same thing
[18:42] <greg-g> cmaloney: I... don't know how I feel about this marketing: https://twitter.com/tingFTW/status/381125552381235200
[19:42] <cmaloney> greg-g: Hm
[19:42] <cmaloney> greg-g: On the one hand, I think it's a "Good thing"
[19:42] <cmaloney> but I can see it getting out of hand really, really quickly
[19:43] <cmaloney> Few things are as incentivised as poor college students with copious free time
[19:47] <cmaloney> btw: I have ample evidence that peering out the window every 5-10 minutes does not bring the UPS guy to the door any faster
[20:47] <cmaloney> TIng got the Moto X


[07:36] <dlee> I've tried to avoid asking this here, but after fighting to install a sufficiently full Python 2.6 to support Bzr but failing...
[07:36] <lifeless> what platform?
[07:36] <dlee> I'm trying to set up Bzr to do web site file vc on a remote server that, amazingly, seems only to have Python 1.5 and 2.1.  Is there a way to get Bzr running without an actual Python installation?  This is Linux, though I don't know which distro at this point.
[07:37] <lifeless> you could possibly use freeze
[07:37] <dlee> freeze?
[07:37]  * wgrant wouldn't be storing anything on that server...
[07:37] <lifeless> you'd need to do considerable work to make that get all the lazy-loaded modules correctly though
[07:37] <lifeless> dlee: its a python thing, makes a big C file with the python pyc files embedded as constant strings.
[07:38] <lifeless> http://wiki.python.org/moin/Freeze
[07:39] <dlee> wgrant: hehehe, it's not my web site though, so not my choice there.  Lifeless: thanks I'll look there.
[07:39] <dlee> Probably more trouble than it's worth... so far I've been doing the ssh/rsync-then-bzr thing, but it's not as easy to use bzr to recover from a mistake real quick that way.
[07:40] <davidstrauss> dlee: Try some of the publishing plugins
[07:40] <wgrant> bzr-upload!
[07:40] <dlee> Thought of that, but I'm not the only updater, just the only one with a vc approach atm.  Don't want to clobber someone else's work.
[07:42] <dlee> I was hoping for a static bzr for Linux like we (sort of) have for Windows.
[07:48] <dlee> lifeless: I see from your page that -X excludes, so I bet -I includes.  Would it be sufficient to collect all lazy import lines via grep over bzr source, then make a -I for each?
[07:48] <lifeless> I don't know
[07:49] <lifeless> how do the other editors coordinate their changes?
[07:50] <dlee> This is not a busy development project.  The site needs significant overhall, but everyone else is just making as-needed small changes.  My concern with a publish-based approach is that I'd miss that someone made one and it would be replaced quietly.
[07:52] <dlee> Mostly I'm trying to use bzr as a safety net.  The site is live, there's no staging version, and it's interconnected enough (database, streaming software on other machines etc.) that I'm not sure how to make that happen.  I'm nervous making sweeping updates to a live site w/o a fallback plan.
[07:52] <lifeless> I'd consider rsyncing from the site to your machine; commit; bzr upload
[07:53] <lifeless> that doesn't seem to have a wider race condition than editing by hand on a live server :>
[07:54] <dlee> rsync/commit is what I've been doing, but I never tried publishing back from here to there.  That would certainly be easier to set up...
[07:55] <dlee> It does prevent bzr diff on server before upload, but even my proposal has leaks.  Thanks much all, and keep up the good work. :)
[09:26] <Stavros> hello
[09:26] <Stavros> i have two diverged branches, how can i replace one with the other?
[09:26] <Stavros> bzr pull --overwrite?
[09:56] <bialix> igc: ping
[09:58] <bialix> igc: qrun!!!
[10:03] <bialix> igc: check https://bugs.launchpad.net/qbzr/+bug/416939
[13:10] <cha0s> hey guys... anyone tried running bzr with an expect script? it keeps dying when i try
[13:12] <cha0s> here's my script: http://codepad.org/PXfNA1J0
[15:21] <cha0s> say i have a repository 'foo', and there's another repository under it at 'foo/bar'. how do i bzr add foo/bar to the repo in foo? it seems like bzr is totally ignoring it.
[15:32] <cha0s> say i have a repository 'foo', and there's another repository under it at 'foo/bar'. how do i bzr add foo/bar to the repo in foo? it seems like bzr is totally ignoring it.
[16:44] <LarstiQ> cha0s: I presume you mean branch, and not repository.
[16:45] <LarstiQ> cha0s: the answer probably is, you don't
[16:45] <LarstiQ> cha0s: possibly you want join, but I'm thinking you want something that isn't there yet
[16:46] <LarstiQ> cha0s: alternatives are using https://launchpad.net/bzr-scmproj, config-manager or just versioing symlinks (and possibly zc.buildout or similar for deploymnet)
[19:15] <Noldorin> lifeless: hello?
[19:27] <alsuren> hey chaps. I'm trying to run a bzr http smart server using cgi and it's giving me Logger instance has no attribute 'status'
[19:27] <alsuren> have you done some horrible monkey-patching to the logging module?
[19:28] <alsuren> oops. My bad
[19:44] <sveinung> hello. I'm getting the same backtrace as in bug 417238, but I also had the same issue with the version of bzr-fastimport in Squeeze
[19:44] <sveinung> should I repoen the bug or is this a different issue?
[19:46] <sveinung> (I get it when I try to fast-import data on top of another one helped by --import-marks)
[19:46] <bialix> sveinung: please, report it as separate bug report but add note about existing bug
[19:47] <sveinung> ok
[19:47] <sveinung> thank you
[19:47] <bialix> author of fast-import (igc) will decide is it duplicate or not and will be able to mark it correspondingly
[19:49] <bialix> sveinung: and ensure you're using fresh version from trunk
[19:50] <sveinung> bialix: sure. Checked it out today, will check out again before reporting just to be sure
[19:50] <bialix> ok
[20:20] <alsuren> is it possible to store a bzr repo in an sql/bigtable database?
[20:20]  * kfogel is away: packing up laptop to go to onShore.  again.
[20:23] <bialix> alsuren: in theory: yes
[20:24] <alsuren> bialix: "go implement" right?
[20:24] <bialix> ?
[20:25] <alsuren> bialix: if I want it I'll have to implement it myself?
[20:25] <bialix> well, yes
[20:25] <bialix> I mean it's possible
[20:26] <bialix> either as custom transport or as custom repository format
[20:26] <bialix> perhaps the latter
[20:26] <bialix> and you can implement it as plugin
[20:27] <alsuren> bialix: the problem is this: we have a windows server with broken ftp
[20:28] <bialix> that's bad
[20:28] <alsuren> it works for normal file transfer most of the time, but bzr breaks
[20:28] <bialix> I'm sure you have file a bug already
[20:28] <alsuren> yeah. Noldorin did
[20:29] <bialix> oh
[20:29] <bialix> I'm aware of that bug, but don't dive too deep into
[20:30] <alsuren> I tried hacking together a cgi-wsgi gateway but then realised that cgi scripts don't have write access to the filesystem
[20:30] <bialix> and you can't use bzr+ssh or bzr+http solution?
[20:30] <alsuren> so bzr+http doesn't work
[20:30] <bialix> I know webdav is another option
[20:31] <bialix> can you?..
[20:31] <alsuren> that also requires server support
[20:31] <alsuren> they don't offer dav
[20:31] <bialix> alsuren: I'm not sure what lifeless told you or Noldorin
[20:32] <bialix> but maybe will be simpler to try to hack around ftp transport
[20:32] <alsuren> so the only option left is either fix/workaround the bug noldorin reported or write a bzr+http transport that can commit to sql
[20:33] <luks> what bug is that?
[20:33] <bialix> the latter will require custom branch/repository format
[20:33] <luks> writing a sql backend would be work for a few months, IMO
[20:33] <bialix> yep, a lot of work
[20:33] <bialix> luks: hi btw
[20:33] <luks> hi
[20:35] <bialix> alsuren: can you say bug number?
[20:35] <alsuren> does bzr+http use a standard wire protocol for all repo formats, like hg's wire protocol, or is it made of bong?
[20:36] <alsuren> bialix:  https://bugs.launchpad.net/bzr/+bug/412244?comments=all according to my ff history
[20:36] <bialix> luks ^
[20:36] <alsuren> what about the wire protool stuff?
[20:37] <bialix> wire protocol?
[20:37] <alsuren> how does bzr+http work?
[20:37] <bialix> for FTP transport bzr uses only filesystem operations
[20:38] <bialix> it uses bzr smart server protocol under the hood
[20:38] <bialix> bzr+http ^
[20:38] <alsuren> and the smart server protocol is repo format agnostic?
[20:39] <bialix> mostly AFAIK
[20:39] <luks> the smart server protocol does very little actually
[20:39] <luks> it's a RPC service
[20:40] <bialix> there is still a lot of VFS calls in smart server protocol
[20:40] <bialix> core devs trying to get rid of them and convert it to pure RPC, but it's not yet here
[20:40] <luks> bialix: well, those VFS calls are also RPC calls :)
[20:41] <lifeless> moin
[20:41] <bialix> yes, of course
[20:41] <luks> alsuren: can't you just setup a windows share and be done with it?
[20:41] <Noldorin> hi lifeless
[20:41] <bialix> but they are trying to direct access filesystem on the server
[20:41] <Noldorin> have i managed to catch you at work now?
[20:41] <alsuren> okay, so if we want to hack something together, we should add an sql vfs layer and make the smart server pretend that it's committing to a standard filesystem?
[20:42] <Noldorin> ew
[20:42] <luks> heh, that's really going to be a seriously large project
[20:42] <bialix> alsuren: luks question
[20:42] <Noldorin> this makes me want to get the ftp stuff fixed all the more
[20:43] <lifeless> what does
[20:43] <alsuren> Noldorin: can you get the host to give you a CIFS share?
[20:43] <Noldorin> lifeless: the alternative.
[20:43] <Noldorin> bzr+http/smart server
[20:44] <Noldorin> lifeless: so basically, i got another reply from my admin saying there's no problem
[20:44] <Noldorin> !
[20:44] <Noldorin> :S
[20:44] <Noldorin> looks like it's up to us
[20:44] <lifeless> seriously, wow.
[20:44] <lifeless> just ...
[20:44] <lifeless> wow
[20:44] <Noldorin> i know. idiots
[20:44] <Noldorin> i'm not even sure they've run the script
[20:44] <lifeless> I mean, I can understand stubborn.
[20:44] <Noldorin> which i took time to put together for them
[20:45] <Noldorin> so they need not even use bzr
[20:45] <lifeless> are they external to your company?
[20:45] <Noldorin> lifeless: fcgi storm internet
[20:45] <Noldorin> erm, stupid clipboard
[20:45] <Noldorin> lifeless: http://www.storminternet.co.uk/
[20:46] <Noldorin> this is actually for my personal website. (though i also happen to manage the company website with them)
[20:50] <Noldorin> lifeless: so where do we go now?
[20:50] <alsuren> okay. Dinner time for me
[20:51] <Noldorin> alsuren: see you in a bigt
[20:51] <alsuren> if anyone knows how hard an sql vfs layer would be to write, tell me
[20:52] <lifeless> alsuren: not hard, but why?
[20:53] <Noldorin> he's off now
[20:53] <lifeless> Noldorin: are there any other protocols you can use to push to this site?
[20:53] <Noldorin> lifeless: alsuren is trying to help me work around this ftp problem to get a bzr repo on my server another way
[20:53] <Noldorin> that's what we're thinking
[20:53] <Noldorin> http with a smart server is the only other option really
[20:53] <Noldorin> lifeless: might we try hacking the bzr source any more?
[20:53] <lifeless> Noldorin: it would be faster than ftp
[20:54] <Noldorin> ah right
[20:54] <lifeless> Noldorin: we could add a workaround, but it will be extremely slow.
[20:54] <Noldorin> fair enough then
[20:54] <Noldorin> i think we should try the smart server approach
[20:54] <lifeless> you've reported that it takes them up to 30 seconds to action a delete
[20:54] <Noldorin> yes. more commonly about 5-10 though
[20:55] <lifeless> still, what should be a milliscond operation will take that long
[20:55] <Noldorin> indeed
[20:55] <Noldorin> it's baffling. the admin's reply, included.
[20:56] <lifeless> I have to admit, if they were my webhost I'd be escalating to the support manager
[20:56] <lifeless> or higher
[20:56] <Noldorin> lifeless: to be quite honest, i think i will
[20:56] <Noldorin> i sent the last email to them on friday
[20:56] <Noldorin> and they haven't replied since (despite supposed 24/7 support)
[20:57] <Noldorin> but tomorrow i'm going to get on their case
[21:30] <alsuren> lifeless: how long do you think it would take/how would you do it?
[21:33] <alsuren> the hg/bigtable chaps just use a database with strings as keys and binary blobs as values
[21:34] <alsuren> but I don't know whether sql server has a size limit for binary blobs, or whether I'm going to get screwed by it
[21:40] <lifeless> a VFS on SQL? a day or so. bzr performing well on top of it? I don't think its possible.
[21:40] <alsuren> "well"?
[21:40] <lifeless> if you want bzr on SQL, write a SQLBranch and SQLRepository objects.
[21:40] <alsuren> lifeless: but then you need both client and server support
[21:41] <alsuren> surely?
[21:41] <lifeless> if you want all of bzr's networking features yes. And I'm sure you'd run into a number of TODO's along the way.
[21:41] <lifeless> whats the overall goal here though?
[21:42] <alsuren> honestly to work around Noldorin's broken ftp server
[21:43] <lifeless> adding a 30 second spinlock will be a lot less work
[21:43] <lifeless> or doing http+wsgi with the smart server
[21:43] <lifeless> or even bzr+ssh, if they support that
[21:43] <Noldorin> back
[21:43] <Noldorin> hmm
[21:43] <alsuren> yeah, given that the http server mounts the FS read only
[21:43] <lifeless> I'd be surprised if they let arbitrary clients attach to SQL over the internet
[21:44] <Noldorin> no SSH i don't think
[21:44] <Noldorin> lifeless: they do
[21:44] <lifeless> even anonymous?
[21:44] <Noldorin> if by attach you mean connect?
[21:44] <Noldorin> no
[21:44] <Noldorin> requires a login
[21:44] <lifeless> so whats in the repository
[21:45] <Noldorin> erm, just project work
[21:45] <Noldorin> i have various personal and open-source projects i manage
[21:45] <alsuren> lifeless: the sql idea would be bzr+http -> cgi script -> vfs hack -> sql
[21:45] <lifeless> I mean
[21:45] <lifeless> is it meant to be the website content?
[21:46] <lifeless> is it meant to be branchable by anonymous, or just by you?
[21:46] <lifeless> or by $some_group?
[21:46] <alsuren> lifeless: needs to be private because Noldorin has a habit of storing passwords in his repos like the closed source .NET developer that he secretly is
[21:47] <lifeless> do they allow SMB/CIFS access?
[21:47] <lifeless> or webdav?
[21:47] <alsuren> no
[21:53] <alsuren> so if we manage to develop/test a spinlock hack and it works on one machine, what are the chances it will make it upstream?
[21:53] <Noldorin> alsuren: thanks a lot.
[21:54] <alsuren> it's funny beause it's true :P
[21:54] <lifeless> alsuren: as an optionally enabled tool, there's no problem includin it in  the core
[21:54] <Noldorin> lifeless: everything the server supports is listed on that page
[21:54] <Noldorin> alsuren: i have a private repos dir on my site, which isn't accessible via ftp btw :P
[21:54] <alsuren> oh like bzr push --workaround-broken-ftp<EMAIL_ADDRESS>?
[21:55] <lifeless> alsuren: or export BZR_FTP_DELETE_TAKES=30
[21:55] <lifeless> or even a locations.conf setting
[21:57] <alsuren> 30 sounds like a timeout. Is that what we want or do we want to repeatedly test?#
[21:58] <lifeless> it may well repeatedly test under the hood
[21:58] <lifeless> but we don't want to spin-on-unlock forever
[21:58] <lifeless> in fact, bzr spinlocks already, you see
[21:58] <lifeless> so in theory just leaving it to spin for 30 seconds should work today
[21:59] <alsuren> oh I see
[21:59]  * alsuren is ignorant
[22:00] <alsuren> one other thing: do you think we actually have any ordering guarantees anymore, or is the lock going to say it's gone but still leave the repo in an unusable state?
[22:01] <lifeless> its entirely possible that replacing the root node in the repo, and the branch tip data will be extremely fragile in this environment
[22:01] <lifeless> I won't make any guesses about what will go right ;)
[22:03] <alsuren> take-home lesson: microsoft is shit at conforming to protocol specifications?
[22:04] <alsuren> meh
[22:05] <lifeless> I'm pretty sure its not stock IIS doing this
[22:05] <lifeless> the ISP may be backing on a high latency  cluster server, for instance
[22:06] <lifeless> with a distributed lock manager for locking, but we can't see the lock manager using plain ol ftp. Its definitely a bug or deployment issue :P
[22:06] <lifeless> MS FTP has issues I've seen other users encounter, but to date this one is unique - and most FTP servers have quirks of their own :)
[22:07] <Noldorin> lifeless: yeah, i think we agreed it's not standalone Windows FTP server causing the problem here
[22:07] <Noldorin> some silly virus scanner they have running or something
[22:07] <Noldorin> or some module installed
[22:08] <alsuren> Noldorin: might be worth testing on some other host, like that free MS student offer thing
[22:09] <Noldorin> probably won't give very interesting results though
[22:11] <Noldorin> hrmm
[22:11] <Noldorin> so what is the conclusion here?
[22:11] <Noldorin> which protocol are we going for?
[22:18] <alsuren> Noldorin: ftp with a 30 second spinlock is the thing to try. Just patch it into your client and see if it works
[22:18] <Noldorin> alsuren: you don't need to tell me that. :)
[22:18] <Noldorin> that's what i determined with lifeless
[22:18] <Noldorin> but we thought it wouldn 't be too practical
[22:19] <alsuren> but writing an sql backend will be even less practical
[22:20] <alsuren> academically quite an interesting project, but not something you could hack together quickly
[22:21] <Noldorin> pestering the server admins until they fix the darned issue will be the best solution :)
[22:21] <Noldorin> though possibly the most effort
[22:21] <Noldorin> alsuren: yeah, true. i don't exactly have time for any more projects now, as you know though
[22:22] <thumper> alsuren: I'd be interested if you put together a functional sql backend :)
[22:23] <alsuren> thumper: propose it as a GSoC project for next year
[22:23] <thumper> hmm..
[22:24] <thumper> especially if we can get good locking and high performance out of it
[22:24] <thumper> isolation would need to be solved
[22:24] <lifeless> so
[22:24] <thumper> but then "one repo for the whole world, mwa haha"
[22:24] <alsuren> thumper: though google would probably want it to work on bigtable and pals too, like their hg hack does
[22:24] <Noldorin> alsuren: lol.
[22:24] <lifeless> a bigtable like solution may work well; the architecture we have under the hood is vaguely similar
[22:24] <lifeless> I _very much_ doubt that something built on a vfs on sql would perform at all well
[22:25] <alsuren> lifeless: what? and host it on google app engine using datastore?
[22:26] <lifeless> alsuren: thumper is asking because launchpad hosts 100's of thousands of branches
[22:26] <alsuren> that would be fun and games. I'd be up for that if someone would give me £1000 for it
[22:27] <lifeless> google app engine is not scaled for individual apps in that manner
[22:29] <alsuren> thumper: fancy giving me a job at canonical? :D I could fix up the project management features of launchpad while I'm at it.
[22:30] <thumper> alsuren: :)
[22:30] <thumper> alsuren: patches accepted now for LP :)
[22:31] <thumper> alsuren: I found my job at canonical by watching the canonical employment page
[22:32] <alsuren> thumper: I offered to help, if someone would mentor me https://bugs.edge.launchpad.net/launchpad/+bug/413462
[22:32] <Noldorin> alsuren: you fancy going up to the isle of man, too? :P
[22:34] <alsuren> lifeless: but I'm no longer a student, so I can't really spend too long on anything that's not going to get me a job
[23:20] <poolie> hi all
[23:21] <lifeless> hai
[23:25] <igc> morning
[23:25] <igc> hi lifeless, poolie
[23:31] <poolie> hi igc
[23:57] <blizzkid> lo all, I did   bzr branch lp:~segphault/gwibber/service-split After that I added a file, but on bzr commit I get bzr: ERROR: No changes to commit. Use --unchanged to commit anyhow. What am I missing or doing wrong?
[23:58] <lifeless> have you run 'bzr add'?
[23:59] <blizzkid> lifeless: just after hitting enter I realised I forgot about that one *shame*