Sunday, 2017-12-31

waynrhmm why is the conditional publisher so different from the conditional build step00:44
waynrthe fact that this https://git.openstack.org/cgit/openstack-infra/jenkins-job-builder/tree/tests/publishers/fixtures/conditional-publisher002.yaml expands into this https://git.openstack.org/cgit/openstack-infra/jenkins-job-builder/tree/tests/publishers/fixtures/conditional-publisher002.xml00:48
waynris somewhat annoying because it means there is no reason for the conditional-publisher semantics to be so different from the conditional builder00:48
waynrie, https://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.conditional-publisher vs https://docs.openstack.org/infra/jenkins-job-builder/builders.html#builders.conditional-step00:49
waynrin the conditional builder if you want multiple different conditions each with their own set of "steps" you create multiple to-level "conditional-step" builders00:50
waynrin the conditional publisher however you can have multiple different conditions in a list under a single top-level "conditional-publisher" publisher00:51
waynrjust means i need to warp the logic in the MacroRegistry to handle multi-arities that may be present in a given plugin's syntax00:52
* waynr grumbles00:53
zxiiroThere's a few plugins like that. I think hindsight is probably whoever designed them where different people or didn't think about how they are related.01:16
waynryeah that's what i figured01:20
waynrsleep deprivation is making progress slow but i'm working on a fix01:21
zxiirosame here. I've been working late nights over the past few days03:51
*** openstackgerrit has quit IRC15:35
waynrconsidering going with 530419 at this point18:55
*** openstackgerrit has joined #openstack-jjb19:08
openstackgerritWayne Warren proposed openstack-infra/jenkins-job-builder master: Revert "Move macro expansion into YamlParser."  https://review.openstack.org/53041919:08
openstackgerritWayne Warren proposed openstack-infra/jenkins-job-builder master: Add tests for inner macro expansion.  https://review.openstack.org/53059819:22
waynrpath of least resistance, probably should have done this months ago19:29
waynri pretty much have the decorator approach working but the whole MacroRegistry thing is kind of pointless in retrospect19:32
waynrparticularly in light of all the spaghettic code necessary to support macro expansion from the yaml parser19:33
waynrs/ttic/tti/19:33
zxiirowaynr: thanks for looking into this. Let's sync up with electrofelix and see if we can get a 2.0 release out the door.23:06

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