Thursday, 2019-08-08

*** _mmethot_ has joined #openstack-mistral01:02
*** ricolin has joined #openstack-mistral01:03
*** mmethot_ has quit IRC01:07
*** apetrich has quit IRC02:08
*** gkadam has joined #openstack-mistral03:31
*** gkadam has quit IRC03:40
rakhmerovd0ugal: hi, if you ever have a chance: https://review.opendev.org/#/c/67478104:55
*** eyalb1 has joined #openstack-mistral06:14
*** pgaxatte has joined #openstack-mistral06:40
*** jtomasek has joined #openstack-mistral07:01
openstackgerritali proposed openstack/mistral-lib master: moved generic util functions from mistral to mistral-lib  https://review.opendev.org/67508607:35
*** abdelal has joined #openstack-mistral07:42
*** apetrich has joined #openstack-mistral07:44
d0ugalrakhmerov: I wouldn't move over anything new if it isn't needed in mistral-lib or to write actions07:53
d0ugalJust remove them from mistral itself07:53
d0ugalmoving code just for moving it seems silly07:53
d0ugalIt just makes it harder to change in the future07:53
rakhmerovd0ugal: so our thinking here is the following: we want to move only something that's 1) very generic (not specific to Mistral) 2) very stable 3) it's a preparation for later refactoring related to actions etc. etc. that left over from the previous cycles. Lots of things that we wanna have in mistral-extra will need some of those utilities and we won't be able to use mistral as a dependency07:56
d0ugalRight, so I would add them as needed07:56
d0ugalnot just add them now07:56
d0ugalI don't like it, but I don't have much vested interest anymore... so :)07:57
rakhmerov:)07:57
rakhmerovso you insist? :)07:57
d0ugalNo, I mean I don't like it but you should do whatever you want07:58
rakhmerovI thought it'd be good task for abdelal because he's now starting with the project and needs to learn all the procedures and project structure07:58
rakhmerov:)07:58
rakhmerovok07:58
rakhmerovd0ugal: we'll be careful with that, I understand your reasoning, of course07:58
d0ugalSounds good08:00
d0ugalrakhmerov: I don't like that now mistral-lib depends on two new packages for no reason08:00
rakhmerovd0ugal: these functions will be removed from mistral08:00
rakhmerovthere won't be duplications08:01
d0ugalI understand that, they will be removed from mistral but only used by mistral08:01
d0ugalmistral-lib is for shared code08:01
d0ugalnot code that might be shared :)08:01
rakhmerovyes08:01
rakhmerovd0ugal: so wait, we actually already had situations when we stopped working on something (related to security I guess, Ryan was on it) just because we couldn't use stuff from Mistral and we didn't want to duplicate code08:02
rakhmerovit will be used not only Mistral08:03
d0ugalI understand that08:03
rakhmerovif it's something generic and stable, why not move it08:03
d0ugalMy problem is with "will be" - there isn't a current use case for it08:03
d0ugalso you are moving it just because you think it might be used08:03
rakhmerovbut I know I know.. you're saying that "not right now"08:03
rakhmerovwill be used for sure08:03
rakhmerovit's a library08:04
d0ugalI look forward to seeing what code needs random_sleep08:04
rakhmerovit opens opportunities to be used by many other things08:04
rakhmerov:)08:04
d0ugalIf the code is going into mistral-lib it should be documented and part of the stable python API08:04
rakhmerovtests, for example08:04
rakhmerovyeah, I totally agree08:04
rakhmerovgood docs are needed08:05
d0ugalI still don't like it08:05
d0ugalbut it is fine08:05
rakhmerovbut we don't have 100 hands at the moment to keep up with everything08:05
rakhmerovstep by step08:05
d0ugalsure08:05
rakhmerov:)08:05
d0ugalthis is just a strange step IMO08:05
d0ugal:P08:05
rakhmerovok08:05
d0ugalIt would be better if the code felt "designed"08:06
d0ugalNot just one large utils file08:06
d0ugali.e. there could be utils/threadlocal.py for some of08:06
rakhmerovDougal, I understand exactly why you don't like it. But I believe this "don't have it if you don't use it" rule can be broken in case of libraries08:07
d0ugalat the moment it is just a collection of "stuff"08:07
d0ugalwhich doesn't feel like a library you are sharing08:07
d0ugalRight, that is fine. I guess we have a differing view on this08:07
rakhmerovuntil we released it we may change a structure08:07
rakhmerovnp08:07
rakhmerovfeel free to provide you suggestions on that08:08
rakhmerovyour08:08
d0ugalOkay, I'll give it some thought08:08
rakhmerovthanks08:08
apetrichI don't know how I feel about it. Those util functions don't seem that interesting to be added to a lib but I like that someone new is giving the time to mistral08:19
openstackgerritMerged openstack/mistral master: Allow to filter event notifications by their type  https://review.opendev.org/67041709:02
openstackgerritMerged openstack/mistral master: Fix invalid assert states  https://review.opendev.org/66781409:31
openstackgerritMerged openstack/mistral master: Create docs for the workflow namespaces feature  https://review.opendev.org/67478109:31
*** pgaxatte has quit IRC10:32
openstackgerritEyal proposed openstack/mistral master: Fail-on policy  https://review.opendev.org/66377611:51
*** ricolin_ has joined #openstack-mistral12:05
*** ricolin has quit IRC12:07
*** pgaxatte has joined #openstack-mistral12:49
openstackgerritEyal proposed openstack/mistral master: Fail-on policy  https://review.opendev.org/66377613:10
*** ricolin_ is now known as ricolin13:55
*** abdelal has quit IRC14:05
*** eyalb1 has quit IRC14:22
*** pgaxatte has quit IRC14:29
openstackgerritArtem Lapin proposed openstack/mistral master: New alembic migration to support namespaces in postgresql  https://review.opendev.org/67536114:43
*** ricolin_ has joined #openstack-mistral15:43
*** ricolin_ has quit IRC15:45
*** ricolin has quit IRC15:46
*** ricolin_ has joined #openstack-mistral15:46
*** ricolin_ is now known as ricolin15:47
*** ricolin_ has joined #openstack-mistral17:16
*** ricolin has quit IRC17:19
*** ricolin_ is now known as ricolin17:32
*** bobh has joined #openstack-mistral18:35
*** bobh has quit IRC19:06
*** bobh has joined #openstack-mistral19:19
*** bobh has quit IRC19:56
*** bobh has joined #openstack-mistral19:56
*** bobh has quit IRC20:01
*** jtomasek has quit IRC20:31
*** jtomasek has joined #openstack-mistral21:36
*** ricolin_ has joined #openstack-mistral23:02
*** ricolin has quit IRC23:05

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