Thursday, 2015-10-15

*** MarkAtwood has quit IRC01:31
*** mrmartin has joined #storyboard04:41
*** mrmartin has quit IRC04:49
*** jcoufal has joined #storyboard06:49
*** jtomasek has joined #storyboard07:39
SotKsubscription loading is very nice in storyboard.openstack.org now08:09
SotKthanks Zara!08:10
Zara:D08:59
* Zara is relieved it hasn't broken everything08:59
Zaraseems faster :) stories still seem to take longer than I'd like to load. I wonder if it's checking through the whole list, where before it only did a GET for a stuff that displayed on that page?09:02
Zaraignore that strange 'a'09:03
SotKit seems that the API takes 1s to actually finish responding to the GET for the stories themselves for some reason09:03
Zarayeah, the projects are faster and there are fewer, so I'm wondering if it's because the GET gets all the projects/stories09:05
Zarathough if we do limit = 100, I don't see how we can make sure it's the *right* 100.09:06
SotKthe GET for the subscriptions seems fairly reasonable (170ms)09:06
Zaraoh, sorry, misinterpreted you09:07
SotKI guess there is something wrong in the API for it to take 1s for 100 stories09:07
* SotK will poke around when he's fixed this nightmare bug in worklist permissions09:08
Zarasomeone else did say that the individual GETs were slow09:08
Zarahttps://storyboard.openstack.org/#!/story/12909:08
Zarathis one09:08
persiaI was trying to understand the relationship between stories 81, 329, and 2000322.  Is there any mechanism to indicate if they are duplicate or non-duplicate, etc. except through comments?09:13
SotKnope, other than commenting and marking the task contained within invalid I guess09:13
persiaDoes that cause the story to become inactive?09:15
SotKI think it should do, yes09:15
persiaAny thoughts on which should be the master of those three, or are they not actually duplicates?09:16
SotK2000322 has an up-to-date list of tasks, but the others have some bits of useful discussion in09:18
* SotK is partly to blame for this09:18
persiaThe currency of 2000322 was the main reason I didn't just decide to pick the lowest number.09:19
persia(my usual criteria for duplicate conflation)09:19
Zara81 seemed like more of a 'how should we do this?'; 329 follows on in more detail; 2000322 has a lot more detail and concrete steps (yeah, they're numbered chronologically)09:20
ZaraI'd say they could be brought together into one story, but they're not duplicates in their current form.09:21
persiaThe content is certainly not duplicate, but I fear something went odd with workflow.09:22
Zarayeah, I wondered if perhaps it was to do with a lack of pagination and stories being visible and/or the search bar not working, but that's speculation.09:23
persiaIn my mind, once one knows how to do something, one adds more tasks to complete the story (being an encapsulation of some particular issue).09:23
persiaFor this history case, I wonder if perhaps the right way is t create (completed) tasks covering the narrative you've outlined, such that only 2000322 is current.09:24
SotKcould work, but I'm not sure what the tasks would be in this case ("Discuss it a bit"?)09:26
*** mrmartin has joined #storyboard10:41
ZaraI got excited about the 'show stories created by current user on dashboard' patch then realised 'browse stories by creator id' still needed more reviews11:22
SotKindeed :(11:25
Zarabtw, I vaguely rememeber there was something funny about the fix test patch, which is why I left it alone, but I'm not sure if I got it mixed up with something else or if it might have slipped through the net while I was on holiday or something. https://review.openstack.org/#/c/213732/11:25
Zaravery sorry if I should have looked at this ages ago.11:25
SotKthe weirdness there was that I'm not actually entirely sure if it will do much to help, but its worth a try :P11:30
Zarahaha11:32
Zaraah, I see, it went in my 'doesn't matter' pile and I forgot about it, sorry anyway. xD I'm not sure we should be merging things for the testing side if we're not sure if they'll be helping, since it seems like that means we're not sure what's going on.11:33
ZaraI guess how sure is 'not actually entirely sure'?11:33
Zaraif there's a fair chance it'll help and it's not likely to do any damage I guess we should risk it. the main negative I see is that it makes the codebase harder to maintain if there are some quirky extras in there.11:35
SotKI think it will make the gate-storyboard-js-integration test do something vaguely useful on patches to storyboard-webclient11:35
SotKit shouldn't make anything worse11:35
SotKit currently doesn't work because it uses the wrong credentials for the database creation11:36
SotKhowever it doesn't fix it for patches to storyboard (the python api) because some bit in project-config assumes that js-integratoin gate tests are done only on projects that use grunt IIRC11:37
SotKso it tries to do `tox -e grunt ...` but can't because tox.ini in storyboard doesn't know what that means11:37
Zaraah, so there'd need to be something more like 'tox -e venv' for storyboard itself.11:39
ZaraI think I get it, anyway. :) I'll +2 then, sounds like this is necessary even if it turns out not to be the complete fix11:39
ZaraI'm getting deja vu; sorry if we had this conversation literally months ago11:40
SotKI don't think we had the whole thing, even if we had some of it xD11:40
Zaraheh11:43
Zaraohh that was terrifying11:43
ZaraI accidentally just fetched storyboard changes into the webclient directory11:43
Zaragit was not happy11:43
SotKhahaha, oops11:44
Zarait's fine now, but that was a scary moment until I worked out what had happened.11:44
Zara(my screen was covered with 'fatal error: unable to find gruntfile' in red. I daresay the test is doing something similar, haha)11:46
* Zara notices that add tag box is visible to non-logged in users, although they can't add tags11:54
Zaracould do with hiding.11:54
SotKcreate a story so we don't forget :D11:55
Zaraheh11:55
Zarahttps://storyboard.openstack.org/#!/story/list11:58
Zaraerm11:58
Zarahttps://storyboard.openstack.org/#!/story/200037911:58
ZaraI tried to capture the drama of the revelation11:58
* SotK thinks you succeeded12:03
Zara\o/12:03
* SotK regrets not adding sensible blockquote styling when he added markdown support12:08
SotKI think I have permissions working properly at last!12:21
* SotK amends his migration to create permissions for existing boards/worklists12:21
Zara\o/12:23
*** gothicmindfood has quit IRC12:43
* Zara briefly tries to work out how 'updated' filters things12:46
Zaraseems it doesn't count comments12:46
Zarait'd be nice to have 'updated' (and so on) filters for the list of stories in a project, too.12:47
* SotK agrees12:47
SotKas for the "Updated on" field, its handled automatically by MySQL whenever the record is changed AIUI12:48
SotKor maybe its some sqlalchemy magic with a comment that mislead me12:48
ZaraI'll add a story for filters for stories in projects for now12:49
*** gothicmindfood has joined #storyboard12:49
ZaraI can see how it could turn out to be tougher than expected depending on quirks of the implementation and what information is avaialable where.12:50
Zaraalso a question of how it'd work from the 'where do I put this on the screen?' side of things12:51
Zaramy guess would be a dropdown next to the '# of results' one, but there's a reason I keep away from anything touching on graphic design where possible.12:52
Zarait seems the time it takes stories to load varies13:02
Zarabetween 1 and 7 seconds (just counting for now). :S13:03
SotK:/13:04
Zarahm, getting an odd error while testing patch, not sure if relevant13:27
Zaraah, could be because I didn't restart sb, actually13:28
*** coolsvap has quit IRC14:12
*** coolsvap has joined #storyboard14:14
SotKgah, noticed something I forgot to do14:34
Zarathat's been my whole week14:44
ZaraI'm good at noticing them, less good at doing them.14:44
SotK:)14:45
* SotK updates http://185.98.149.23/ to have his permissions stuff in15:06
SotKplease try and break it15:06
Zaraheh15:08
Zara(argh, my own instance is being funny and won't let me update stories' descriptions. changed storyboard and storyboard-webclient to master, still not working. :S not the case on other instances running from master so seems to be local, at least)15:09
Zarawondering if it's to do wit the accidental mixing up of the git fetch earlier15:09
Zara*with15:09
SotKhmm, weird15:09
SotKwhat error do you get?15:09
Zarahm, that test-project page seems to do a GET for each subscription15:11
Zaraas for my error,  500: PUT /api/v1/stories/5: 'unicode' object has no attribute '_sa_instance_state'15:11
SotKheh, I probably haven't pulled master since the change was merged15:11
Zarahehehe15:11
SotKinteresting, I have seen that before too15:11
ZaraI wondered if you'd added it just to mock me15:11
Zaraah, I don't think the worklist reloading looks bad tbh15:14
ZaraI passed owndership to you http://185.98.149.23/#!/worklist/915:15
Zara*ownership15:15
Zaradoes the archive button work yet?15:15
SotKit works, but you can't unarchive anything15:17
Zaraah, right, may be worth hiding until that's possible? (trying making a board work. I'd kiiiiiiind of like tab to go to 'add lane' rather than save, but it's such a small niggle it doesn't really matter and might just be my workflow)15:17
SotKheh, tab doesn't ever get to add lane I notice15:19
Zaraokay, just tried making a private board: http://185.98.149.23/#!/board/515:20
Zarathe save button didn't work once; cancelled the dialogue and opened it again and it did so I'm not sure what was up there. :S15:20
Zarawasn't able to replicate it, anyway15:20
ZaraI edited some stuff before saving and then tried to add a card so it might have been something to do with that stuff updating15:21
SotKhmm, weird15:21
SotKthe privateness of the board is working anyhow15:23
*** openstackgerrit has quit IRC15:31
*** openstackgerrit has joined #storyboard15:32
Zarayay15:37
Zarashould now be not private: http://185.98.149.23/#!/board/515:37
* SotK wonders if it should have lanes15:37
Zarait should :S15:38
SotK:(15:38
Zara4 of them ;_;15:38
* Zara tries adding you as a user15:38
SotKI see them now!15:38
Zaraso seems they're only visible to users15:39
Zarahm.15:39
SotKeasy to fix15:39
Zaraah, great15:39
SotKI guess its because it was private once15:39
Zarayeah15:39
SotKaha, the logic for deciding whether a lane is visible is weird15:55
Zaraheh15:56
SotKI thought something was wrong there, but couldn't put my finger on what it was until now15:58
Zarawhat was it?15:59
SotKif the board was private, it returned False unless you had permissions to edit the board or move cards16:00
SotKif it was public, it returned False unless you had permissions to edit the board or move cards too, which it shouldn't have done16:00
SotKit should just return True for visibilty if the board is public16:00
SotKI was too focussed on doing the right thing when it was private to notice the mistake though16:01
Zaraah, right16:02
Zaraheh16:02
SotKcan you remove me as a user on that board and see if it works now?16:03
Zarashould be removed16:03
SotKsuccess!16:03
SotKI can see but not change16:03
Zara\o/16:04
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Implement complex permissions for worklists and boards  https://review.openstack.org/23547216:15
Zaraoooooooo16:15
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Update $resource wrappers to use new permissions API  https://review.openstack.org/23547516:17
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add UI for complex permissions on boards and worklists  https://review.openstack.org/23547616:17
Zaraugh, still getting my 500 my own instance16:21
SotKon the description editing?16:21
* SotK hasn't found a way to fix stories that that starts happening on16:21
Zarayeah16:21
ZaraI think also the title editing for that one16:22
SotKoh, I've not seen it on the title :/16:22
SotKI'll investigate that tomorrow16:22
Zarayeah, shallow googling suggests it's a sqlalchemy thing-- but annoying because I have no idea when it started16:23
ZaraI like to test patches by seeing if anything changes...16:23
Zara(as well as looking at the code, heh)16:23
Zaraseems to affect the two oldest stories, at least16:24
Zaraokay, seems to be oldest three stories and then nothing after that16:26
Zaramight be relevant16:26
* Zara goes to check projects16:26
Zaraprojects seem fine16:26
*** jcoufal has quit IRC16:34
*** mrmartin has quit IRC19:54
*** mrmartin has joined #storyboard19:54
*** lifeless has quit IRC20:34
*** mrmartin has quit IRC20:39
*** wendar_ has joined #storyboard23:29
*** wendar has quit IRC23:30
*** persia has quit IRC23:30
*** persia has joined #storyboard23:30
*** coolsvap has quit IRC23:54
*** wendar_ has quit IRC23:54
*** jtomasek has quit IRC23:54
*** davidlenwell has quit IRC23:54
*** NikitaKonovalov has quit IRC23:54
*** rainya has quit IRC23:54
*** ChanServ has quit IRC23:54
*** persia has quit IRC23:54
*** jjardon has quit IRC23:54
*** dabukalam has quit IRC23:54
*** cody-somerville has quit IRC23:54
*** cody-somerville- has quit IRC23:55
*** Zara has quit IRC23:55
*** SotK has quit IRC23:55
*** openstackgerrit has quit IRC23:55
*** pleia2 has quit IRC23:55
*** gothicmindfood has quit IRC23:55
*** pedroalvarez has quit IRC23:55
*** jasondotstar has quit IRC23:55
*** ttx has quit IRC23:55

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