Wednesday, 2018-07-11

*** r-mibu has joined #openstack-jjb00:13
*** bkorren has joined #openstack-jjb05:07
*** hashar has joined #openstack-jjb07:13
*** hashar is now known as hasharAway07:13
*** bkorren has quit IRC08:14
*** bkorren has joined #openstack-jjb08:30
*** electrofelix has joined #openstack-jjb08:33
*** beiske has joined #openstack-jjb08:51
*** bkorren has quit IRC09:25
*** bkorren has joined #openstack-jjb09:35
*** bkorren has quit IRC10:03
*** bkorren has joined #openstack-jjb10:16
*** bkorren has quit IRC11:06
*** bkorren has joined #openstack-jjb11:06
*** r-mibu has quit IRC11:21
*** hasharAway is now known as hashar13:01
*** openstack has joined #openstack-jjb13:05
*** ChanServ sets mode: +o openstack13:05
*** tanhengyeow has joined #openstack-jjb14:09
*** bkorren has quit IRC14:56
openstackgerritTan Heng Yeow proposed openstack-infra/jenkins-job-builder master: Refactor builders.py  https://review.openstack.org/58177615:18
ssbarneaelectrofelix: zxiiro https://review.openstack.org/#/c/580228/16:21
zxiirossbarnea: I'm not sure what you want me to do with that. I'm not a committer on that project.16:21
ssbarneai know but you can review too, i guess ;)16:22
zxiirossbarnea: I did but I guess I can put an explicit +116:22
zxiirossbarnea: have you had any issues with pre-commit so far?16:23
zxiirossbarnea: I've had to back it out of some of my projects because it broke things.16:23
zxiirowell some of it is JJB's fault but yeah...16:23
ssbarneazxiiro: a few, but not on default set of tests, only while trying to enable new projects.16:24
ssbarneaso far I didn't find problem in pre-commit itself.16:24
ssbarneai am curios which kind of issue you found16:24
zxiiroI think it's mostly JJB's fault. several of my projects are jjb library projects and they are consumed by "git submodule add" into a jjb repo that wants to use the library.16:25
zxiiroUnfortunately JJB's include / exclude system sucks so I can't tell it to ignore the .pre-commit.yaml file from JJB parsing16:26
zxiiroso JJB tries to read it as a JJB config.16:26
zxiiromakes it difficult to deploy anything into this project that uses .yaml extension for config16:26
openstackgerritMerged openstack/python-jenkins master: Fix run_script method.  https://review.openstack.org/58133216:34
*** tanhengyeow has quit IRC17:02
electrofelixzxiiro: does '--exclude .pre-commit.yaml' not work with JJB?17:27
zxiiroelectrofelix: it does but then I have to tell 100 developers to update their cli calls everytime we want to make a change like this.17:28
electrofelixare you all using the same jenkins_jobs.ini file?17:29
zxiiroI need a solution that doesn't cause our devs to be impacted everytime either by editing a config file or passing a cli command.17:29
zxiiroelectrofelix: yeah jenkins_jobs.ini is a solution but we have to keep our ini files in sync17:29
zxiiroI wonder if if maybe jjb should be default ignore .dirs17:30
zxiiroand / or files17:30
electrofelixzxiiro: sounds like allowing for in-tree configuration support? and probably yes, should default to ignoring files/dirs starting with '.', that's really a bug17:30
zxiiroelectrofelix: oh yeah one of the issues I have with the include/exclude system in JJB is it's re-evaluated on every recursive iteration.17:31
zxiiroelectrofelix: so if I say --include ".jjb-test" it will re-evaluate that when it walks through the the tree17:31
zxiirousing absolute paths might get around that but then I have to start assuming everyone who clones our repos clones it to the same path.17:32
electrofelixI think if you prefix with './' it should prevent that17:32
zxiirohmm.. i haven't tried that...17:32
electrofelix'--include "./.jjb-test"' should only get evaluated at the top level17:33
electrofelixthe rule is, if no path separator in the string, treat as a pattern, if it starts with the path separator treat as absolute, and otherwise assume relative path17:33
zxiiroah ok, yeah maybe I'll try that next time and see if it works.17:34
zxiiroif that works it might allow me to add that .pre-commit back with minimal heartburn for my devs.17:34
electrofelixyay!17:34
electrofelixstill, would be a good idea to exclude hidden files/dirs by default17:35
*** electrofelix has quit IRC17:35
*** beiske has quit IRC17:44
openstackgerritSorin Sbarnea proposed openstack/python-jenkins master: detect and respect http redirects  https://review.openstack.org/57581719:01
*** hashar has quit IRC21:04
openstackgerritMerged openstack-infra/jenkins-job-builder master: Refactor builders.py  https://review.openstack.org/58177621:40
zxiiroWhat's the syntax to tell requirements.txt to install a different version of a dependency in python 3 vs 2?22:07
zxiiroOr am I imagining this feature exists?22:08
zxiiroah environment markers, that's what i'm looking for22:15

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