Thursday, 2017-12-14

*** abelur has quit IRC02:32
*** abelur has joined #openstack-jjb02:35
*** openstackgerrit has quit IRC06:47
*** hashar has joined #openstack-jjb08:00
*** electrofelix has joined #openstack-jjb09:59
*** ssbarnea has quit IRC11:11
*** ssbarnea has joined #openstack-jjb11:14
*** abelur has quit IRC12:50
*** abelur has joined #openstack-jjb12:51
*** smyers has quit IRC13:13
*** hashar has quit IRC14:37
*** hashar has joined #openstack-jjb14:37
*** hashar is now known as hasharAway15:46
*** hasharAway is now known as hashar18:43
*** hashar has quit IRC19:06
*** hashar has joined #openstack-jjb19:15
*** openstack has joined #openstack-jjb20:33
*** ChanServ sets mode: +o openstack20:33
*** electrofelix has quit IRC21:04
*** electrofelix has joined #openstack-jjb21:05
electrofelixzxiiro waynr: so I've been digging into the expansion issue, and it's not quite as easy as I first thought21:06
zxiiroelectrofelix: do we want to roll back?21:06
electrofelixmight just need to sound some things out21:07
zxiiroelectrofelix: ok. well I do have a rollback patch already prepared since I've been using it on my own system. (it's not trivial to revert since we merged other patches since). So I can push that up if you'd like.21:08
*** openstack has joined #openstack-jjb21:13
*** ChanServ sets mode: +o openstack21:13
electrofelixI think the work in expanding macros was to allow use of template data to be applied to macros without needing to pass through data defined at each level21:14
electrofelixa macro could reference a param provided by a project definition without needing an explicit reference in the job to set the same param via passthru21:15
electrofelixdoes that sound right? or am I mistaken?21:15
electrofelixshould probably document how this should work in detail21:15
electrofelixso either we load up all entrypoints first, read in the expansion information from modules (set via decorators) and then use that to expand the job by substituting in the macro with params before converting from yaml to xml21:17
electrofelixor we attach all params to be passed down to modules to be used with delayed macro expansion at conversion time21:18
electrofelixhowever I though the entire purpose of the refactoring was to avoid that so the modules could act as a straight conversion from yaml to xml21:19
electrofelixso that would seem to suggest the first option would be preferable21:19
zxiiroMaybe waynr should comment when he's around ^21:23
*** openstackgerrit has joined #openstack-jjb21:40
openstackgerritMichael Jeanson proposed openstack-infra/jenkins-job-builder master: Add messages and categories ignores to warnings publisher  https://review.openstack.org/52809221:40
electrofelixwaynr: when you get a chance, does changing the ModuleRegistry to provide additional data to be used by the parser for additional expansion points make sense?21:51
electrofelixthat would then need to be used by expand_macros to expand on encountering any job definition that contains those items. Seems like it could be quite expensive to have to walk the data for any points that would trigger expansion21:51
electrofelixhoping there might be a slightly better way21:52
*** electrofelix has quit IRC21:52
*** hashar has joined #openstack-jjb22:10
*** hashar has quit IRC22:18

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