Monday, 2016-02-22

*** jtomasek has joined #storyboard07:46
*** fay_ is now known as faybrocklebank08:29
SotKpedroalvarez: thanks!08:30
pedroalvarez:)08:59
*** mrmartin has joined #storyboard09:53
Zara\o/10:11
pedroalvarezit was an easy one :)10:13
openstackgerritMerged openstack-infra/storyboard-webclient: Upgrade 'marked' and 'highlightjs' libraries  https://review.openstack.org/28287111:08
SotK\o/11:08
Zara:D11:09
ZaraI can look at the 401 some more today, or look some more at search11:10
ZaraI already have some search stuff waiting in review, so inclined to wait for that before pressing on with more search11:11
persia+1 on solving the 401 part11:13
*** betherly has quit IRC11:40
*** betherly_ has joined #storyboard11:40
Zarahm, seems the trying to resolve an abstract state was a different problem that happened to occur at the same time (at any rate, I just went through and hackily deleted every 'abstract: true', and the same number of errors persist)12:19
*** mrmartin has quit IRC12:34
*** mrmartin has joined #storyboard12:36
Zaraand, with only one thing resulting in a 401, the posting the refresh token still fails, so I don't think it's failing because of lots of auth errors (unless some are still hidden, I guess...)12:37
Zarain conclusion, I still have no idea what's wrong, and I can only tell you that modules that the more things a module pre-resolves, the more 401s.12:38
Zaras/modules that//12:38
Zarawhich is what I noticed last week12:39
* persia wonders if pre-resolution fails to carry the user's credentials12:40
SotKit'd probably fail all the time in that case, rather than just when the token expires though I'd expect12:42
SotKthe token is (normally) refreshed once the redirect has happened, I suspect we just need to find a way to retry the failed requests after a successful token refresh, rather than redirecting to the dashboard on a 40112:49
SotK(if the refresh fails, we should still redirect to the about page, as currently happens)12:49
Zarayeah12:52
Zarathe most annoying thing is the redirect, rather than the errors themselves12:52
Zara(I'm on the king of the north branch atm, which doesn't redirect afaict (though it would from the dashboard), but the user stays logged out until manually logging back in)12:53
ZaraI should've mentioned I was on that branch12:54
persiaIs there any potential to do a token refresh before the preresolution, or is that too much of a performance penalty?12:54
Zara(oh, huh, it still redirects)12:55
Zarahm, so if you click on something and you've been logged out, you do go to the right place (just stay logged out). but if you're not on sb, and you click on a link, and you've been logged out, you get redirected.12:56
Zarapersia: honestly, I don't know yet (either how to do it or what the implications would be. I think theoretically it should happen first (or, at least, things should resolve, then the token refresh, then things resolve again), but that's just a guess12:57
* persia also doesn't know12:58
Zarait's in my box marked 'mysterious angularjs magic, dial krotscheck in emergency'12:58
persiaheh13:01
Zara:) I've got as far as suspecting it's not happening for the reason people thought it was happening, anyway, so I've updated the story.13:02
anteayamorning13:10
pedroalvarezo/13:11
anteayaso I got to wondering if there is a storyboard sandbox or test instance up anywhere13:11
anteayamorning pedroalvarez13:11
anteayaas getting folks to play around in a sandbox is always so much fun13:11
anteayaas opposed to cleaning up the db afterwards on a production instance13:11
anteayahas a sandbox ever been discussed?13:12
pedroalvarezthis reminds me we never managed to get a dev-storyboard.openstack.org instance running13:12
anteayainteresting13:13
Zarathere was one for a while, but someone rebooted it13:13
anteaya;(13:13
Zaraand ssh stopped working to the instance after that, for reasons unknown13:13
anteayasorry that was :(13:14
Zaraheh13:14
anteayahmmmmm13:14
anteayaso the storyboard team would like a dev instance, is what I am hearing13:14
Zarayup13:14
Zarait's on the todo list and keeps being put back :S13:14
anteayaand there may even be puppety things available for said dev instance to be created13:14
anteayawell let's see if we can give this a bump13:15
anteayaZara: you don't happen to know where the puppety bits are kept for the dev instance do you?13:15
anteayato confirm they still exist in master?13:15
Zarahm, I think SotK set it up manually. tbh if we wanted to deploy something quickly, I think we'd probably use pedro's ansible playbooks https://galaxy.ansible.com/detail#/role/6187 , because it took SotK a while to set up one with puppet (that was a different instance)13:18
Zaraunless I've got things mixed up, anyway13:18
Zara(puppety bits for storyboard.openstack.org are at https://github.com/openstack-infra/puppet-storyboard , I don't think we have any other puppety thigns)13:19
Zara*things13:19
anteayaawesome13:20
anteayathank you13:20
anteayaZara: do you mind putting that info in the infra channel13:20
anteayawith a request to set up a dev server?13:20
Zarathat'd be fine by me, SotK, pedroalvarez?13:20
anteayaand can you use git.openstack.org instead of github when you post the link in infra, please?13:20
Zaraah, sure, it was just the one in my history13:21
* SotK is fine with that13:21
pedroalvarezZara: I'm ok with whatever you are ok :)13:22
anteayaZara: thanks13:22
anteayaSotK: morning :)13:22
SotKmorning anteaya :)13:22
anteaya:)13:22
*** mrmartin has quit IRC13:24
anteayaZara: so thanks for posting that13:25
anteayathings may or may not happen today or even this week on the request, but you posted it13:26
anteayaso yay! \o/13:26
anteayathank you13:26
Zarathanks :) I hope things happen!13:26
*** mrmartin has joined #storyboard13:26
*** mrmartin has quit IRC13:27
pedroalvarezthanks anteaya for helping :)13:27
anteayadoing my best13:28
anteaya:)13:28
anteayakeep being awesome!13:29
*** mrmartin has joined #storyboard13:29
Zarayou too! :P13:32
krotscheckEh, wha?13:35
krotscheckZara: Mysterious magic?13:35
ZaraKrotscheck: I tried looking at the events causing the 401 again... concluded that all angularjs was mysterious magic. (updated the story here with what I've found so far: https://storyboard.openstack.org/#!/story/2000407)13:37
Zara(we thought it was to do with sb trying to reload an abstract state; I tried hackily deleting every 'abstract: true' to see what happened; behaviour was exactly the same as before. :/ )13:38
krotscheckOk, I'll dig into it more once I'm done arguing with Google about Angular ;)13:38
Zaraheehee13:38
Zarawhat's the argument about?13:39
krotscheckhttps://github.com/angular/angular.js/issues/933413:39
krotscheckNot an argument, just them asking me to update a patch13:39
krotscheckOh wait13:39
krotscheckThat's the argument13:39
krotscheckhttps://github.com/angular/angular.js/pull/13273#issuecomment-18631336213:39
krotscheckthat's my issue13:39
Zaraahhh13:41
Zaracan someone give https://review.openstack.org/#/c/281898/ a +1? the current docs tell the user to install a video storyboard generator completely unrelated to StoryBoard, that happens to be called 'storyboard'13:52
ZaraI have a few fixes waiting in review, but that's the funniest one.13:52
betherly_LOL! thats brilliant13:54
betherly_+1 done13:55
Zarathanks :)13:55
ZaraI think someone generated those docs right at the start of the project and nobody noticed because we all used the developer ones.13:56
persiaI used those docs once, a very long time ago, and they worked, although my instance only lasted a couple weeks before some patches broke it.13:57
* persia doesn't remember the details, precisely, other than a conversation in which it was concluded that running separate VMs for the DB, the API service, and the web server was considered overkill for a development instance13:58
Zarathe user docs, rather than the developer ones?  I think they've directed to the wrong package since Jan 2014...13:59
* Zara checks diffs13:59
openstackgerritMerged openstack-infra/storyboard: Update User Docs  https://review.openstack.org/28189813:59
persiaI would believe them being wrong since Jan 2014 :)14:00
persiaI think they worked immediately before the meeting in Brussels, or something like that.14:00
Zarayeah, that's the earliest commit I can find for that file. it's possible it had a different name before that.14:03
Zaraso I think it was a case of 'write placeholder text, replace later with real content', only nobody realised it was a placeholder14:05
persiahmmm.  Perhaps14:05
* SotK goes to look14:07
*** mrmartin has quit IRC14:09
SotKlooks to me like the `pip install storyboard` instruction originated in this patch: https://review.openstack.org/#/c/62239/14:12
*** openstackgerrit has quit IRC14:17
*** openstackgerrit has joined #storyboard14:17
Zarayeah, that matches my findings.14:21
pedroalvarezhah, "Customizable video storyboard generator with metadata report"14:29
Zarahm, does https://storyboard.openstack.org/#!/story/2000163 count as merged, with the changes to default number of things returned (I believe SotK reduced it from 500 to 50)15:10
Zaraor is it asking for something a bit different?15:10
* SotK thinks that is something different15:11
Zarafair enough15:11
SotK(the 500 to 50 reduction was just for the search when adding cards)15:11
Zaraohh, okay15:12
ZaraIt seemed to be faster all-round, but that might have been due ot other speedups15:12
ZaraOR my imagination15:12
Zarahuh https://storyboard.openstack.org/#!/story/2415:12
SotK:D15:19
*** b3rnard0_away is now known as b3rnard015:26
*** mrmartin has joined #storyboard15:43
Zarahm, there's a 'figure out how to publish javascript libraries to npm' story from 201415:51
ZaraI *suspect* I can mark that merged...15:51
Zara(I'm going through old stories atm; at some point we need to find a way to reduce duplicates. some advise doing a search on the title field, with suggested results, when people make new stories.)15:54
persiaI've seen that both work very well and fail disasterously in the past.15:56
persiaOn the positive side, this results in many fewer bugs being filed, and concentrates discussion.15:57
persiaOn the negative side, it turns out that many people have difficulty differentiating "it crashes when I press the red button" from "it crashes when I press the red button", even with different stacktraces/backtraces.15:57
persiaIn other context, the recommended solution was to have project-specific configuration that allowed developers to enable or disable such a search.  I'm not sure how that could work for Storyboard, really.15:59
Zarayeah, in that situation I think it'd be best to just put up with the negatives. it seems like more of a social problem anyway. it's not urgent, either way, just on my 'nice to have' list. tbh the main problem is when people treat stories like tasks, so that you end up with 5 different 'stories', all with the same goal, but a different task in each16:05
Zarathat is annoying to garden16:05
SotKit is equally hard to garden monolithic stories with mountains of tasks I think16:08
Zarayeah, I'd like tasks to be ordered by status by default, I think that'd help with that a bit16:09
persiaIt really depends on the project.  I worked on an operating system installer for a while, and nearly every reported issue was "cannot install", but it was very rare that any two of them had anything in common.16:09
Zaraother than that... it's mainly on people to scope stories well, which can be tricky16:09
SotK(eg there is both https://storyboard.openstack.org/#!/story/2000322 and https://storyboard.openstack.org/#!/story/2000464, since I didn't want a single story for the entire boards/worklists stuff to avoid a giant task list)16:10
persiaBut for most projects, there is less magic and more user interaction, making it easier for users to know if they have the same or a different story they wish enabled.16:10
persia+1 on ordering tasks by status by default16:10
* SotK wants to be able to filter the task list, but +1 on that in the short term from me too16:11
ZaraSotK: yeah, I think your separating those makes sense. I was thinking more of the extremes (that I'm guilty of as well).16:12
Zarapartly because at first I thought stories were tasks...16:12
persiaUnfortunately ,the viewpoint from which the nomenclature derives is not widespread, so few people actually write stories as stories.16:13
persiaThat said, the more I think about stories, the more I think that some scenarios and/or tasks extracted from the stories should be shared between stories (as one may need to achieve something in order to enable either of two different described behaviours).16:14
persiaThe conclusion I drew from this realisation was that it didn't really matter: the key exciting bit was that one could have a many-to-one relationship, and define semantics as needed.16:14
persia(although I would prefer if it was possible to assign tasks to branches, rather than just repos, but this may just be me)16:15
* SotK believes that is possible in the API16:15
persiaExcellent.  That gives leisure to think about presentation.16:15
*** mrmartin has quit IRC17:26
*** mrmartin has joined #storyboard17:29
*** mrmartin has quit IRC17:33
openstackgerritZara proposed openstack-infra/storyboard-webclient: Group Tasks By Status  https://review.openstack.org/28318317:33
Zaraluckily, the alphabet goes M, then R, then T. perhaps the terms were chosen with this in mind17:34
Zara'progress' is the sad one.17:35
* Zara advocates renaming it to 'Ssssssprogress' to get round that17:36
* pedroalvarez suggests Zara to look at the alphabet17:37
pedroalvarezoh no, I understand what you mean17:37
* pedroalvarez pats himself17:38
Zara:P17:38
ZaraI KNOW MY ALPHABET VERY WELL THANK YOU17:38
Zarasoftware, not so much17:38
pedroalvarez:)17:39
pedroalvarezso with that pach.. they are going to be grouped by status?17:39
Zarayeah17:39
Zarasince people can't reorder them anyway17:39
pedroalvarezhahah, you can't reordem them, I'll set  the order I want!!! HA!17:40
pedroalvarezI was just kidding, but I wonder if people will get upset because of this17:40
Zarawe'll see if anyone complains about the patch, I guess. I thought it'd make it a bit easier to see how a story is progressing (we had some feedback asking for this), and I'm probably not going to get round to making them reorderable any time soon.17:41
Zara(jeblair had the same problem with big stories as SotK, and also suggested ordering by status)17:41
Zaraso.... it's on people who like it the current way to protest, I guess17:41
Zarayou can order things however you want in a worklist, anyway17:42
Zarahuh... in storyboard's alphabet, P comes before M17:49
ZaraI'm guessing 'progress' is short for 'inprogress' or something.17:49
Zarayup, argh.17:50
Zarawelp, that's something to tidy up in the api at some point, I guess17:52
Zarassssssssprogress gets my vote there, too17:52
Zara'night, storyboard! I have a million things in review at this point! there's a very small patch that's 3 weeks old!17:58
Zarahttps://review.openstack.org/#/q/owner:zara.zaimeche%2540codethink.co.uk+status:open17:59
ZaraI will leave that there :P17:59
Zaraso yeah, night!17:59
* pedroalvarez review that tiny patch18:02
pedroalvarezI need to review things, I know, you have been coding really fast :)18:03
pedroalvarez</excuse>18:03
* SotK also apologises for not reviewing for weeks18:34
*** mrmartin has joined #storyboard18:40
openstackgerritMerged openstack-infra/storyboard-webclient: Use 'Tasks' Icon for Tasks  https://review.openstack.org/27513018:42
*** mrmartin has quit IRC19:08
*** mrmartin has joined #storyboard19:18
*** mrmartin has quit IRC19:25
*** mrmartin has joined #storyboard19:49
*** gothicmindfood has quit IRC20:19
*** persia has quit IRC20:19
*** persia has joined #storyboard20:19
*** persia has quit IRC20:20
persia_Everyone else managed to reconnect to a sane server.  I try, and end up back on the doomed server.20:21
*** persia has joined #storyboard20:21
*** gothicmindfood has joined #storyboard20:22
*** krotscheck has quit IRC20:37
*** anteaya has quit IRC20:38
*** krotscheck has joined #storyboard20:46
*** openstackgerrit has quit IRC20:47
*** openstackgerrit has joined #storyboard20:48
*** anteaya has joined #storyboard20:48
*** mrmartin has quit IRC21:54
*** jtomasek has quit IRC22:03
*** b3rnard0 is now known as b3rnard0_away23:29

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