Monday, 2016-08-22

*** aswadr_ has joined #storyboard05:22
*** jtomasek has joined #storyboard05:28
*** dabukalam has quit IRC05:39
*** dabukalam has joined #storyboard05:39
*** matthewbodkin has joined #storyboard07:50
*** bethwhite_ has joined #storyboard08:32
ZaraI spy an integrated gerrit!08:43
pedroalvarezwoot :)08:44
Zaraon saturday, no less! I assume nobody's awake yet but I'll go thank people in a few hours... =D08:45
SotKI spy an emails bug that I was vaguely expecting :(09:25
ZaraI wondered about that, then decided maybe it shouldn't count as a bug09:26
Zarasince it directs people to the review09:27
Zarabut eh, idk09:27
SotKtrue, but `09:27
SotK`URL: None#!/story/2000012` looks silly09:27
Zarahaha09:27
* SotK grumbles at pasting09:27
ZaraI thought you were just making a bizarre non-sequitur for a sec09:28
openstackgerritMerged openstack-infra/storyboard-webclient: Move other-requirements.txt to bindep.txt  https://review.openstack.org/35486610:04
*** openstackgerrit has quit IRC11:03
*** openstackgerrit has joined #storyboard11:04
openstackgerritMerged openstack-infra/storyboard: Add example commands for the Teams api  https://review.openstack.org/33912311:15
Zaraat last!11:31
*** openstackstatus has quit IRC11:36
*** openstackstatus has joined #storyboard11:39
*** ChanServ sets mode: +v openstackstatus11:39
*** alexismonville has joined #storyboard11:51
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Send notifications to subscribers for worklists  https://review.openstack.org/35473012:55
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Make it possible to get worklist/board timeline events via the API  https://review.openstack.org/35472912:55
Zaragah, looking at 'send notifications...' atm12:55
* SotK was fixing the tests12:55
Zara(just noticed that there's no email template for removing a worklist item, and nothing's showing up in my recent events)12:55
Zara(if you're curious)12:55
Zara(that's any worklist recent events.)12:56
SotKI meant to send that an hour ago, forgot `git review` asks for confirmation if you submit more than one change at the same time12:57
Zaraheh12:57
Zarachanging card position and adding cards work as expected12:59
Zaranot sure why card position is noted when adding them, since it'll always be 'bottom of the list', but I guess someone might need the list length for something?12:59
*** alexismonville has quit IRC13:01
Zara(recent events do work for non-worklist things, just not any worklist things)13:01
*** alexismonville has joined #storyboard13:03
SotKyeah, you'll need to either apply the webclient patch and change your preferences to turn on worklist notifications, or do13:03
SotK`insert into user_preferences (`user_id`, `key`, `type`, `value`) values(1,'receive_notifications_worklists','string','true');`13:03
ZaraI have turned them on13:04
Zarathey seem to be fine for emails, but not for recent events13:05
SotKhmm13:05
Zarathese templates are pretty :)13:12
ZaraI keep getting this error: 2016-08-22 13:00:40.344 25746 ERROR storyboard.plugin.email.workers [-] Cannot schedule email: 'dict object' has no attribute 'item_type'13:14
Zarabut I am getting emails13:14
Zaraso hm.13:14
ZaraI think that might have been for the 'delete' one actually13:15
Zarasince apparently it was a few mins ago (my vm clock is utc)13:15
Zaraadding and removing filter and permission things seem to work fine.13:16
SotKyeah, thats the delete one failing13:16
* SotK is fixing :)13:17
Zaraheh13:17
ZaraI debated the worth of sending 'this works' updates but I figure it's more comforting than only 'this doesn't work' updates13:17
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Send notifications to subscribers for worklists  https://review.openstack.org/35473013:20
Zaraalthough, permissions change templates describe everyone as 'user' instead of 'owner' or 'user'13:23
SotKwebclient template or email template?13:26
Zaraemail, still nothing in the webclient13:29
Zarait says 'users added:' or 'users removed:' in all cases. it sends it when an owner changes, but the wording is the same for users and owners.13:30
SotKehhh, overloading of the word users was a bad plan13:31
Zara:) you should include the task id on the next rework dohohohoho13:36
SotKin the email templates?13:40
Zarain the commit message so we can watch the gerrit plugin at work13:43
Zaraand bask in its glory etc etc etc13:43
SotKok13:44
SotKI added them to the templates too in case they're useful13:44
Zaraheh13:45
Zara(huh, I got another error with my worker but I'm not sure what I was doing. looks like the old 'expecting a story' thing, so suggests something hasn't been updated for new timeline events style yet)13:46
Zaralooks like some form of PUT for permissions13:47
Zaraah, i think unprivatizing a story13:48
Zara*worklist13:48
ZaraI still get the email13:49
Zarahttp://paste.openstack.org/show/562211/ is the error13:50
Zarahm, tried to reproduce, couldn't.13:51
SotKseems like some kind of weird race condition13:53
Zaraah, I think it happens if you don't refresh the page between changing the is-private boolean, possibly13:53
Zarathough only when setting to 'false'13:53
SotKthat error suggests that the timeline event itself was never created13:53
* SotK fails to reproduce it13:53
SotK(but you received the email, so it must've been created)13:54
ZaraI can't reproduce it consistently, so the non-refresh might have been coincidental13:55
Zaraso yeah, looking more race conditiony13:56
Zarait only seems to affect the 'private' bool; I haven't reproduced at all with the automatic one.13:57
* SotK can't reproduce it with anything13:57
Zara(now also had it while setting a list *to* private)13:57
Zarahuh13:57
Zarathis is on an automatic worklist, idk if that would make a difference13:58
Zarathe worklist has one filter. it has a user and an owner, who are both the same person (me!)13:58
Zaraoh, oops, two filters13:59
Zarait finds 11 items13:59
SotKaha, I reproduced it14:02
Zara\o/14:03
Zaramight be to do with the speed of changing to/from private...14:03
Zarathat's my last guess.14:03
SotKthat shouldn't be any slower than changing any other attribute14:05
Zaramaybe it's just that I've focussed on that one more, haven't seen it with anything else yet though14:13
Zaraarchiving seems fine, anyhow14:22
Zaracreating a new worklist is a bit exciting, in that it sends a separate email for each card added.14:26
Zara(that's not necessarily creating a new one, I just figure that's the time when people are most likely to add big lump of cards to a worklist)14:27
SotKyes, which is why I intend to never turn on the notifications for myself on storyboard.openstack.org :D14:27
Zara:P really, it should send one email for all items that are added at the same time, but I don't see an easy way to do it14:28
SotKthere isn't one, since they are all added in separate requests14:29
SotKI'm sure its possible, but there is not an easy way14:29
Zarayup.14:29
ZaraI think you'd need another step between requests and sending14:30
Zarathat way lies digest notifications and things14:30
SotKyep, or allow a way to bulk-add cards in a single request14:30
*** bethwhite_ has quit IRC14:52
*** bethwhite_ has joined #storyboard14:56
persiaI prefer one notification per event: that can be filtered or processed client-side more easily.15:46
*** tlbr_ has quit IRC16:04
*** tlbr has joined #storyboard16:13
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Send notifications to subscribers for worklists  https://review.openstack.org/35473016:15
Zaraoh, those comments look nice16:29
Zarathanks16:29
Zarathose look better at a glance, should check more thoroughly tomorrow morning16:30
Zarathough I still hope for task id in the commit just for the excitement that brings to my day16:32
*** matthewbodkin has quit IRC16:36
*** jmccrory_away is now known as jmccrory16:37
Zaraarghhh backkk buttton js drafffft16:54
Zaraoh well I was going to +A but gerrit doesn't like me right now16:58
Zarait came back17:01
Zaramy brain is zapped17:01
Zaranight, all17:01
openstackgerritMerged openstack-infra/storyboard-webclient: Add Worklists and Boards to About Page  https://review.openstack.org/35591217:10
SotKoh sorry, I forgot about that18:43
SotK(the task id thing)18:43
*** alexismonville has quit IRC19:06
*** alexismonville has joined #storyboard19:06
*** alexismonville has quit IRC19:07
*** alexismonville has joined #storyboard19:08
*** alexismonville has quit IRC21:12

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