Thursday, 2015-10-29

*** openstackgerrit has quit IRC00:01
*** openstackgerrit has joined #storyboard00:02
lifelessoh, ok00:59
lifelesspersia: ^00:59
Zara_Just spoke with zaro about the gerrit plugin he wrote for storyboard (it's fallen through the cracks for various reasons , but gerrit upgrade is no longer a blocker.) He thinks it should still work.00:59
lifelessso two things. dev.* *must* not be in the same namespace as prod - it permits attacks00:59
persialifeless: Do you remember the rules used for LP?00:59
lifelesssecondly, as long as the migrations are done with backwards compat, you can run old instance on prod and new on staging01:00
lifelesserm01:00
lifelessnot staging, next. or something01:00
persianomenclature :)01:00
lifelesssemantics :)01:00
lifelessstaging in most environments is a separate db01:00
persiaHow do you mean different namespace: as in changes in the dev instance don't affect prod, etc.?  But for "next", they do?01:00
lifelessLP's staging and db-staging were separate db's01:00
persiaOr different namespaces in a XSS-way?01:01
lifelessdns namespace01:01
lifelessyes, xss and cookie pollution concerns are what I was referring to01:01
persiaAh, right.  Thanks for the clarification.01:01
Zara_So connecting stories with their gerrit statuses might be closer than we think. Needs investigation.01:02
lifelessso LP took a db dump every once in a while and restored it to staging01:02
lifelessand staging ran master01:02
lifeless(There's nuance, but this is a sufficient explanation)01:02
persiaThanks.01:03
persiaSotK: ^^ Is that enough to get you started?01:03
persia(when the sun gets to your part of the planet)01:04
lifelesspersonnally, I wouldn't run a next tree, I'd just have staging (separate db, as above)01:04
Zara_Bear in mind that email notifications have *really* been stressed to me, so if both seem similar sized tasks, I think notifications would be the priority .01:05
Zara_The request for a staging branch was framed as a 'nice to have'01:05
Zara_Though I agree that we need it, I've just got the impression it's less important than email notifications.01:07
Zara_Not that it's unimportant.01:07
persiaI was hoping it was relatively trivial to implement: with a toy DB, it sounds like it might be, but perhaps just a dev environment would be enough for most folk.01:08
*** davidlenwell has quit IRC02:06
*** davidlenwell has joined #storyboard02:08
*** mrmartin has joined #storyboard06:33
*** persia has quit IRC08:24
*** persia has joined #storyboard08:27
SotKpersia_, lifeless: that is helpful, thanks09:36
*** dabukalam has quit IRC10:39
*** dabukalam has joined #storyboard10:40
* SotK struggles to get notifications working properly11:18
*** lifeless has quit IRC12:36
*** lifeless has joined #storyboard12:37
SotKI was being dumb... "enable_notifications = False"12:39
pedroalvarez:)12:40
pedroalvareztime to test it?12:40
SotKindeed12:43
SotKand it immediately doesn't work12:43
SotK\o/12:43
* SotK fixes the easy bug and now gets it breaking in interesting ways12:52
*** mrmartin has quit IRC12:52
SotKthe "recent events" thing on the dashboard isn't working either, though it seems to be for a different reason12:58
SotKfor some reason things aren't making it into the database after being created13:00
* SotK recieves mail from storyboard13:28
SotKso does Zara_ I expect13:29
* SotK still hasn't managed to figure out why recent events aren't working on his test instance though14:56
SotKI managed to fix that, I don't know why it seems to be working on storyboard.openstack.org but not on my test instance though15:53
*** mrmartin has joined #storyboard15:56
* SotK fixes how the email patch looks for preferences16:03
Zara_\o/ \o/ \o/16:10
Zara_Can confirm I got that email16:13
SotK\o/16:13
Zara_Brilliant and thank you! I'll let people know since it's affecting them right now...16:13
SotKno problem, if I'd known the old abandoned patch was so close to being fully functional I'd have done this a while ago :)16:15
* pedroalvarez wonders if these emails are going to be as useful as gerrit emails16:16
Zara_We have more power to configure the settings, I guess16:16
SotKthe current situation is "any time something changes in a story you are subscribed to, you recieve an email"16:17
SotKthere seems to be a plan for "recieve a daily digest email of all changes on things you are subscribed to in that day"16:18
SotKmaking it send emails for projects, project_groups, and tasks should be a simple case of adding email templates for those things16:19
Zara_:)16:26
Zara_I'm so happy; I thought this would be so much more time-consuming and prickly.16:29
SotKme too16:29
* SotK tries sending more email16:30
SotKso it appears that the default preference stuff isn't working at all17:06
* SotK makes it just ignore defaults for now17:09
*** mrmartin has quit IRC17:19
SotKeverything seems to be in order17:24
SotK\o/17:24
SotKI'll update the API patches to make them pass tests and actually work momentarily17:25
*** zara__ has joined #storyboard17:28
*** zara__ has quit IRC17:28
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Single event email worker.  https://review.openstack.org/17954217:54
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Factory subject is now a template file.  https://review.openstack.org/18176317:54
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Revert "Email Outbox"  https://review.openstack.org/18204317:54
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Fix SubscriptionEvents not making it into the database  https://review.openstack.org/24030117:54
Zara_:017:55
SotKthe first three are the ones required for emails, the last one is a weird bug I found that I thought I'd better send a fix for even though it doesn't seem to happen in storyboard.openstack.org17:57
* SotK might take a look at the plugin documentation tomorrow now that he understands the beautiful magic17:59
Zara_Sorry, the gerrit plugin?18:00
SotKnope, storyboard plugins18:00
SotKthe bit of the documentation that currently says "To learn how to write a user preference plugin, please contribute to this documentation."18:00
Zara_Ahahahahahaha18:00
SotKsince I spent most of today trying to figure out how to do that, I figure I should make it easier for the next poor soul who would otherwise have to see that stupid line18:01
Zara_\o/18:02
Zara_+1000018:02
*** jtomasek has quit IRC18:36
*** jtomasek has joined #storyboard19:09
*** jtomasek has quit IRC21:33
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Fix SubscriptionEvents not making it into the database  https://review.openstack.org/24030122:37
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Revert "Email Outbox"  https://review.openstack.org/24034422:37
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Factory subject is now a template file.  https://review.openstack.org/24034522:37
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Single event email worker.  https://review.openstack.org/24034622:37

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