Friday, 2018-03-02

*** caphrim007_ has joined #openstack-jjb00:28
*** caphrim007_ has quit IRC00:29
*** caphrim007_ has joined #openstack-jjb00:29
*** caphrim00_ has joined #openstack-jjb00:31
*** caphrim007 has quit IRC00:31
*** caphrim007_ has quit IRC00:34
*** caphrim00_ has quit IRC00:36
*** ckonstanski has quit IRC01:52
openstackgerritAnil Belur proposed openstack-infra/jenkins-job-builder master: Add support for fallback Job Filters  https://review.openstack.org/54909102:45
openstackgerritAnil Belur proposed openstack-infra/jenkins-job-builder master: Add support for job status job filter  https://review.openstack.org/54909202:45
*** ckonstanski has joined #openstack-jjb03:03
*** zxiiro has quit IRC04:10
*** zaro_ has quit IRC04:11
*** abelur has quit IRC04:11
*** jplf has quit IRC04:11
*** larainema has quit IRC04:11
*** larainema_ has joined #openstack-jjb04:12
*** zxiiro has joined #openstack-jjb04:12
*** abelur has joined #openstack-jjb04:17
*** zaro_ has joined #openstack-jjb04:17
*** jplf has joined #openstack-jjb04:29
*** caphrim007 has joined #openstack-jjb07:30
*** caphrim007 has quit IRC07:35
*** larainema_ has quit IRC11:17
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: Add multibranch project-type  https://review.openstack.org/40394011:56
*** hashar has joined #openstack-jjb12:06
ssbarneadoes anyone know a nice way to display a diff from python? I want to make test failures more friendly on jjb13:52
ssbarneato look more like "git diff" instead of printing both expected vs actual xml, which can be huge.13:52
ssbarneai know that I could save files to tmp and use git as an alternative, but maybe i can do it easier with pure python / extra module.13:53
zxiiropersonally I kinda like that it prints the whole thing with the diff inside (it is diff already isn't it?)14:01
zxiiroI think not everyone knows how to read a diff but having it print the full xml with the +/- where it is different helps.14:02
ssbarneazxiiro: not sure where it prints the diffs, but it was not printing diffs in my tests. i fixed by using git diff, and pleased about result.14:42
ssbarneai think that's due to the outdated implementation in my patch. i need to look how to use same behavior.14:50
zxiirossbarnea: take one of the existing plugin tests and change the expected result. You should see a diff on failure14:55
ssbarneazxiiro: yep, fixing now, already found.14:55
ssbarneai am starting to believe that it could have being easier to rewrite multibranch from scratch instead of fixing it.14:56
ssbarneathe patch was too old, too many things changed (improved) in between.14:56
ssbarneazxiiro: do you think it would be preferred to split the test files to one for each scm supported instead of one for each project type?15:03
zxiirossbarnea: the way I see it, it's one per plugin and the multibranch is a project that uses many plugins15:04
zxiirossbarnea: I also have been trying to push for 2 types of tests for every plugin. A "full" and a "minimal" test. The minimal one provides the absolute smallest yaml that get's the plugin to work and relies on defaults to fill out all the blanks, and the full one configures every possible configuration in the non-default value.15:05
ssbarneazxiiro: yep, was thinking the same, in fact in my special case i have only two tests: one minimal and one maximal, so very close to what you describe.15:06
ssbarneai prefer to include the minimal in documentation, or it could be overwhelming for the user.15:07
zxiirogreat! please use the "minimal" and "full" language. We want to try to keep the wording consistent and I believe that language is the current most used one.15:07
zxiirossbarnea: the way I do it is I include the minimal first in documentation and full test last. that way the first thing the user sees is the minimal configuration but if they are interested they can look at the full configuration at the bottom.15:08
zxiirossbarnea: I've found both is good because some people are visual and like to see exactly how to set something.15:08
*** caphrim007 has joined #openstack-jjb16:33
openstackgerritMajor Hayden proposed openstack-infra/jenkins-job-builder master: [Docs] Ensure commands are monospaced  https://review.openstack.org/54928416:41
openstackgerritMerged openstack-infra/jenkins-job-builder master: [Docs] Ensure commands are monospaced  https://review.openstack.org/54928417:07
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: Add multibranch project-type  https://review.openstack.org/40394017:08
ssbarneazxiiro: finally, now with multiple smaller tests that are using same17:54
zxiirossbarnea: awesome17:55
zxiirossbarnea: great this patch looks a lot easier to read17:56
zxiirossbarnea: if you can get electrofelix's +2 I think we can merge this.17:56
*** hashar is now known as hasharAway18:27
*** hasharAway has quit IRC23:45
*** caphrim007_ has joined #openstack-jjb23:59

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