Tuesday, 2016-01-19

*** sylwesterB has joined #openstack-bareon07:50
*** sylwesterB has quit IRC07:55
*** sylwesterB has joined #openstack-bareon08:09
evgenylagordeev: sylwesterB review please https://review.openstack.org/#/c/269057/2 :)09:13
sylwesterB"BaseGrubBootloaderData" ?09:36
openstackgerritEvgeniy L proposed openstack/bareon-specs: Fix rendering of specs by sphinx  https://review.openstack.org/26951609:42
evgenylsylwesterB: ?09:42
evgenylsylwesterB: what is the question? :)09:43
evgenylsylwesterB: agordeev also fixed specs rendering in bareon-specs repo https://review.openstack.org/#/c/269516/09:43
sylwesterBevgenyl: I rethinked that and actually that make sense09:59
sylwesterBI was wondering why not "*DataDriver"10:00
sylwesterBrethought*10:00
evgenylsylwesterB: you are correct, it has to be datadriver10:01
evgenylsylwesterB: put -1, I will fix that.10:01
sylwesterBShould that base classed represents bareon features like, partitioning, provisioning, image-build etc?10:01
sylwesterBAnd  BaseConfigDriveData is more like a mixin10:02
sylwesterBdamn10:02
sylwesterBShouldn't that base classes represent bareon features like, partitioning, provisioning, image-build etc? *10:02
sylwesterBi.e. BaseConfigDriveMixin10:04
sylwesterBBaseGrubBootloaderMixin10:04
evgenylsylwesterB: it's not a mixin, it's an inteface, and one data driver can implement different interfaces, so for Mixin is when you have a Base and you want to add something special to it, so I'm not sure if it makes sense to have a class which inherits from a mixin only.10:09
sylwesterBevgenyl: nope, it doesn't make sense ;)10:12
evgenylsylwesterB: but probably we can inherit from BaseDataDriver and then add mixins :)10:12
sylwesterBevgenyl: exactly10:12
evgenylsylwesterB: but any mixin will include BaseDataDriver :)10:13
evgenylsylwesterB: so it's going to be weird.10:13
sylwesterBright..10:14
sylwesterBhmm10:14
sylwesterBMaybe then do not inherit from BaseDataDriver in so called mixins?10:14
evgenylsylwesterB: but in this case you will have problems with multiple inheritance of metaclasses :)10:15
evgenylsylwesterB: there is no suitable syntax in python to do interfaces :(10:16
sylwesterBAnother question. Will i.e. BaseConfigDriveDataDriver be used to create instances, not only to inherit from?10:16
evgenylsylwesterB: only to inherit from.10:17
sylwesterBdamn10:17
sylwesterBhmm10:17
sylwesterBsooo10:18
sylwesterBno, no..10:19
evgenylsylwesterB: ? :)10:19
sylwesterBI'm thinking how to do it right10:19
evgenylagordeev: what do you think about names of abstract classes in my patch? Base*DataDriver vs *DataDriverMixin10:20
sylwesterBevgenyl: actually what will be the problem with abc metaclass?10:24
evgenylsylwesterB: ok, seems no problem if metaclass is the same, otherwise you may get an error "metaclass multiple inheritance inconsistency"10:27
sylwesterBok10:28
sylwesterBso it allows us to write mixins the proper way ;)10:29
sylwesterBwithout including BaseDataDriver10:29
evgenylsylwesterB: yep, I've just tried, seems to work, will submit update after lunch :)10:30
sylwesterBok10:30
sylwesterBgreat10:30
sylwesterBso I will put  -1 now ;)10:30
openstackgerritEvgeniy L proposed openstack/bareon: Make base class for data drivers more granular  https://review.openstack.org/26905711:05
evgenylagordeev: sylwesterB updated the patch https://review.openstack.org/#/c/269057/11:06
sylwesterBevgenyl: while waiting for response in specs review I can start the spec about the pipelines, what do you think??12:04
evgenylsylwesterB: you can prepare a patch, with stevedore12:04
evgenylsylwesterB: also ping Igor, that we provided responses12:05
evgenylsylwesterB: and fix stylistic comments, which Igor provided12:05
sylwesterBok12:05
evgenylsylwesterB: lets have everything "ready to review" for stevedore and after that yes, you may start working on pipeline spec.12:06
openstackgerritAleksandr Gordeev proposed openstack/bareon-specs: Add a spec for Pluggable do actions  https://review.openstack.org/26641612:50
openstackgerritEvgeniy L proposed openstack/bareon: Accoding to pbr doc development version should have numeric postfix  https://review.openstack.org/26963013:41
evgenylSmall, but critical fix agordeev sylwesterB ^13:42
openstackgerritMerged openstack/bareon: Accoding to pbr doc development version should have numeric postfix  https://review.openstack.org/26963014:11
*** sylwesterB has quit IRC15:45
openstackgerritAleksandr Gordeev proposed openstack/bareon-specs: Add a spec for Pluggable do actions  https://review.openstack.org/26641616:31
*** kozhukalov has quit IRC18:34
*** kozhukalov has joined #openstack-bareon18:34

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