Thursday, 2018-08-23

*** gouthamr has joined #storyboard00:03
mordreddhellmann, persia, fungi: I'm still catching up on scrollback, but hopefully everyone knows my feelings on database constraints and my wholehearted support for not having them encoded in the db layer00:07
mordredok. dhellmann already said the words I would have said00:07
persiaI'm slow to embrace new concepts, and still don't like the business logic being outside the DB layer, but must agree that when it is, it requires extra cognitive effort (and costs performance) to have them in the DB layer.00:19
*** jamesmcarthur has joined #storyboard00:31
fatema_dhellmann, Thank you, I was checking that it is really to be done not a dead end. But anyways I'm truly interested in knowing how to implement it -it provokes me that it is strangely easy i concept and taking such long time, that's all-00:35
fatema_persia, I guess I would discuss it again but anyways lovely to know this new information thank you fungi & persia00:36
fatema_and dhellmann of course00:36
persiaTo me, it sounds like the hard part is the transition: figuring out how to make the DDL change without breaking sqlite again.00:37
*** jamesmcarthur has quit IRC00:44
fatema_I guess this might start by dropping the column enum constraint00:52
fatema_this requires copying the whole table with the column with no constraint00:53
fatema_but this is hard to be done with SQL - can't really tell if it's possible or not-00:54
fatema_basically yes persia this is the confusing part01:00
*** fatema_ has quit IRC01:27
*** fatema_ has joined #storyboard01:28
*** fatema_ has quit IRC02:00
*** jamesmcarthur has joined #storyboard02:01
*** jamesmcarthur has quit IRC02:19
*** diablo_rojo has quit IRC02:20
*** persia_ has quit IRC02:29
*** diablo_rojo has joined #storyboard02:37
*** udesale has joined #storyboard03:47
*** jtomasek has joined #storyboard07:09
*** jpich has joined #storyboard07:29
*** tosky has joined #storyboard07:34
*** diablo_rojo has quit IRC07:38
SotKthat was an interesting backscroll discussion07:43
SotKyes, I'm fine with dropping the enum constraint now that its enforced by the API07:44
SotKthough I think we'll need a plan for making it easy to deal with changes in acceptable values at the API level being reflected in the database; it would be bad if we changed `merged` to `resolved` but didn't have a simple way for all the tasks with state `merged` to have the state renamed07:47
openstackgerritlei zhang proposed openstack-infra/storyboard master: Disable the badge from openstackdocstheme 1.23  https://review.openstack.org/59552407:59
*** jaosorior has quit IRC08:10
*** dtantsur|afk is now known as dtantsur08:33
*** jaosorior has joined #storyboard09:08
*** jaosorior has quit IRC09:54
*** chason has joined #storyboard10:37
*** chason has quit IRC10:39
*** chason has joined #storyboard10:41
*** udesale has quit IRC11:31
*** jaosorior has joined #storyboard11:54
*** udesale has joined #storyboard12:54
*** jaosorior has quit IRC13:09
dhellmannSotK : sure, we still need migration scripts to convert existing values13:20
dhellmannthe way I've supported sqlite in the past is to have 1 schema file that describes the full, final, database schema and then the separate migration files to deal with "real" databases like mysql13:21
dhellmannsince we test both in the gate, we should be able to keep them in sync, but it is a bit of redundant information to manage13:21
dhellmannalternatively we could write each migration script to be database-aware, and do different things for different databases13:22
dhellmannthat doesn't entirely solve the problem of how to write a migration script to change a column type, though13:22
dhellmannit would let us have a migration that dropped the column constraint for task status, though, since we could just skip that step for sqlite13:23
dhellmannand if we combine that with a change to the original migration to avoid adding the constraint to the column under sqlite in the first place, the resulting schema would be the same13:23
SotKI like the idea of database-aware migration scripts, I *think* we either already have some bits that are database-aware or have at least considered it in the past13:49
*** ironfoot_ is now known as ironfoot14:53
*** jamesmcarthur has joined #storyboard14:57
*** diablo_rojo has joined #storyboard16:03
*** jamesmcarthur has quit IRC16:31
*** jamesmcarthur has joined #storyboard16:32
*** jpich has quit IRC16:32
*** udesale has quit IRC16:40
*** dtantsur is now known as dtantsur|afk17:46
*** tosky has quit IRC17:54
*** jamesmcarthur has quit IRC18:19
*** jamesmcarthur has joined #storyboard19:45
openstackgerritKendall Nelson proposed openstack-infra/storyboard-webclient master: Show Email Addresses when Searching  https://review.openstack.org/58971319:51
*** jamesmcarthur has quit IRC21:00
*** jamesmcarthur has joined #storyboard22:07
*** jamesmcarthur has quit IRC22:08
*** jamesmcarthur has joined #storyboard22:08
*** jamesmcarthur has quit IRC22:33
*** jamesmcarthur has joined #storyboard22:59
*** jamesmcarthur has quit IRC23:24

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