*** zenkuro has quit IRC | 00:43 | |
*** bhagyashris_ has joined #zuul | 00:46 | |
*** bhagyashris has quit IRC | 00:53 | |
*** timburke has quit IRC | 02:12 | |
*** timburke has joined #zuul | 04:32 | |
*** josefwells has quit IRC | 05:46 | |
*** timburke has quit IRC | 05:51 | |
opendevreview | Radosław Piliszek proposed zuul/zuul master: [doc] Clarify how regexp matching works https://review.opendev.org/c/zuul/zuul/+/794987 | 09:54 |
---|---|---|
*** zenkuro has joined #zuul | 10:33 | |
*** zenkuro has quit IRC | 12:33 | |
*** zenkuro has joined #zuul | 12:33 | |
*** timburke has joined #zuul | 15:03 | |
*** josefwells has joined #zuul | 15:11 | |
*** timburke has quit IRC | 16:37 | |
*** rajath has joined #zuul | 16:56 | |
rajath | https://zuul.opendev.org/t/openstack/build/89e539f3db4c4342a61de642d86e00c2 Getting errors on this zuul run. Someone mentioned i need to add a dep.txt file. May i know where i need to add it? This is my repo: https://opendev.org/x/networking-infoblox/src/branch/stable/wallaby | 16:56 |
rajath | @avass had mentioned something about this yesterday | 17:00 |
avass[m] | rajath: you should be able to put a bindep.txt file in the root of the repo (or workspace if you set it to something else) | 17:01 |
avass[m] | Let me give you an example | 17:01 |
avass[m] | rajath: this is what zuul/zuul does for example: https://opendev.org/zuul/zuul/src/branch/master/bindep.txt | 17:02 |
rajath | Oh okay | 17:03 |
rajath | I shall add a bindep in my root dir | 17:03 |
rajath | do i need to reference it anywhere? or is it picked up automatically? | 17:04 |
avass[m] | It's picked up by a parent to the rox job: https://zuul.opendev.org/t/openstack/build/89e539f3db4c4342a61de642d86e00c2/console#1/0/2/ubuntu-focal | 17:07 |
rajath | Thank you soo much! | 17:09 |
fungi | rajath: avass[m]: more specifically, bindep gets run automatically by any jobs which call this role: https://zuul-ci.org/docs/zuul-jobs/general-roles.html#role-bindep | 17:11 |
fungi | and you can find more information on the bindep tool and bindep.txt file syntax here: https://docs.opendev.org/opendev/bindep/ | 17:11 |
fungi | i guess it would be most correct to say the bindep role runs the bindep tool and then passes the list of missing packages it generates to the appropriate package manager for the platform it's running on (as long as both bindep and that role have support for the platform) | 17:13 |
rajath | ah ha i see | 17:13 |
fungi | the idea behind that is projects can document the distro package dependencies needed to set up an appropriate development environment in a human-readable file in theor repository called bindep.txt, which anyone can then look at to work out what to install *or* run the bindep tool to conveniently tell them what they're missing (as long as the platform they're using is supported by bindep). the | 17:16 |
fungi | bindep role in zuul-jobs takes advantage of this to automatically populate the system where it runs jobs with appropriate packages the project says are needed | 17:16 |
mordred | fungi: I feel like we should do more blogging/tweeting/whatever about bindep. it's such a super useful tool and I see projects struggle with this overall issue frequently | 17:22 |
rajath | Yeah looks like a great tool. Thanks for the info. Looking forward for a blog on this | 17:25 |
avass[m] | mordred: i agree, i see a lot of projects document their dependencies in a README, i just drop in a bindep.txt and point to that instead. | 17:26 |
avass[m] | But then there's always the "windows" issue :) | 17:27 |
mordred | avass: yah. and there's also the issue of things where you need a PPA or something | 17:27 |
mordred | but - it's like a good portion of the battle | 17:27 |
avass[m] | Maybe bindep could be extended to solve that somehow? But that would probably require more complicated syntax | 17:28 |
avass[m] | And someone to do the work :) | 17:28 |
fungi | i'm not sure that adding syntax for declaring nonstandard package repositories necessarily implies complicating the *existing* syntax, can probably extend it | 17:30 |
fungi | the real complication comes in describing the workflow it implies (add new package repository <somehow>, maybe update package index depending on your platform/package manager, then install packages) | 17:31 |
fungi | for windows, i don't touch the stuff, so someone would need to provide a fairly detailed explanation of what needs to change in bindep to work there (but maybe just recommend wsl? i hear it works great for most cases where posix/linux is a primary target already) | 17:33 |
fungi | anyway, if people want to discuss bindep improvements, i'm always game, but we should probably move that topic to #opendev to avoid cluttering #zuul | 17:34 |
mordred | fungi: I've tried a few times to come up with a design/patch for adding being able to express "you need this ppa for this/these packages" in a way that isn't bonghits complicated | 17:34 |
mordred | fungi: ++ | 17:34 |
mordred | (I have failed all of the times I've tried) | 17:34 |
* fungi follows up in #opendev | 17:36 | |
rajath | https://zuul.opendev.org/t/openstack/build/70a42ea6750e410b97bc6c9ad3c4cabe : Is there any particular deps i need to add? | 18:30 |
avass[m] | rajath: this looks relevant https://github.com/stepjam/PyRep/issues/247 | 18:36 |
avass[m] | and this https://bugs.python.org/issue35886 | 18:40 |
corvus | rajath: #opendev (or maybe #openstack-infra or #openstack-dev) are probably better channels since this isn't zuul related | 18:41 |
*** rajath has quit IRC | 19:10 | |
*** zenkuro has quit IRC | 20:35 | |
*** zenkuro has joined #zuul | 21:41 | |
*** jangutter_ has joined #zuul | 21:55 | |
*** jangutter has quit IRC | 22:00 | |
opendevreview | Ian Wienand proposed zuul/zuul master: github: fallback to api_token when can't find installation https://review.opendev.org/c/zuul/zuul/+/794688 | 22:44 |
*** timburke has joined #zuul | 23:26 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!