*** spsurya has joined #openstack-loci | 05:02 | |
*** e0ne has joined #openstack-loci | 06:23 | |
*** e0ne_ has joined #openstack-loci | 06:41 | |
*** e0ne has quit IRC | 06:44 | |
*** openstackgerrit has joined #openstack-loci | 08:23 | |
openstackgerrit | Jean-Philippe Evrard proposed openstack/loci master: Introduce bindep parameter https://review.openstack.org/602180 | 08:23 |
---|---|---|
*** openstackgerrit has quit IRC | 09:05 | |
*** pbourke has joined #openstack-loci | 09:20 | |
evrardjp | leakypipes: do you have questions? Or was everything solved for you? | 09:27 |
*** e0ne_ has quit IRC | 09:38 | |
*** e0ne has joined #openstack-loci | 09:38 | |
*** hrw has quit IRC | 09:44 | |
*** hrw has joined #openstack-loci | 10:04 | |
*** e0ne has quit IRC | 10:08 | |
*** e0ne has joined #openstack-loci | 10:27 | |
*** e0ne has quit IRC | 10:40 | |
*** e0ne has joined #openstack-loci | 10:49 | |
*** e0ne has quit IRC | 10:57 | |
leakypipes | evrardjp: well, I'm still baffled by the code, really... | 12:06 |
leakypipes | evrardjp: notably, I'm baffled by this: http://paste.openstack.org/show/730624/ | 12:06 |
evrardjp | IMO we should remove this -- I got the same feeeling. That's too much black magic | 12:07 |
evrardjp | I am curious, I don't see Sam on the channel? | 12:08 |
leakypipes | actually, I think hrw may have added that code? | 12:09 |
leakypipes | hrw: hi Marcin :) | 12:09 |
leakypipes | hrw: we're trying to figure out the black bash magic here: https://github.com/openstack/loci/blob/master/scripts/requirements.sh#L32-L33 | 12:09 |
leakypipes | hrw: wondered if you might be able to walk us through how that works. | 12:09 |
evrardjp | leakypipes: so you're not the xargs expert? :p | 12:10 |
*** e0ne has joined #openstack-loci | 12:10 | |
leakypipes | evrardjp: lol, definitely not :) | 12:12 |
evrardjp | that makes us two. | 12:13 |
hrw | moment | 12:14 |
hrw | echo uwsgi enum-compat ${PIP_PACKAGES} | xargs -n1 | split -l1 -a3 | 12:14 |
hrw | this gets list of packages and splits it into separate files (called xaa - xzz) | 12:15 |
hrw | ls -1 | xargs -n1 -P20 -t bash -c 'pip wheel --no-deps --wheel-dir / -c /upper-constraints.txt -r $1 || echo %1 >> /failure' _ | tee /tmp/wheels.txt | 12:15 |
evrardjp | so it's all for parallelism that this is done? | 12:15 |
hrw | this uses xaa-xzz files as requirements.txt files and calls 20 threads of pip wheeling requirements | 12:16 |
hrw | iirc | 12:16 |
hrw | I only edited that code if at all | 12:16 |
leakypipes | hrw: no worries, we're just trying to understand it, that's all :) | 12:17 |
hrw | took me a while too | 12:18 |
evrardjp | isn't that what we wrote a little above though? ;) | 12:18 |
hrw | I am slowly adapting back to EU time - was in Canada for a week | 12:18 |
hrw | 9h difference ;( | 12:19 |
leakypipes | evrardjp: yes, I think you said most of that above. The part I didn't understand was the creation of multiple files (called xaaa-blah) that contained the requirements to be built. | 12:20 |
evrardjp | leakypipes: I am still unclear about that too tbh. | 12:22 |
evrardjp | not sure what's the border on saying I need to split that file in x chunks before running those chunks in parallel. It might be counter productive at the end, if a wheel build would require another one in another file | 12:23 |
leakypipes | evrardjp: actually, it seems the `split` program is the primary thing I was unfamiliar with. I see that is the thing that creates these separate files named xaaa, etc | 12:23 |
evrardjp | yes | 12:24 |
* leakypipes learns something valuable every day! :) | 12:24 | |
evrardjp | a3 is the number of aaa after the x right? | 12:24 |
*** leakypipes is now known as jaypipes | 12:24 | |
evrardjp | so a3 means xaaa to xzzz? new to these things too. | 12:24 |
evrardjp | #Iamdoingthisforlearninganyway | 12:25 |
hrw | yes | 12:26 |
hrw | --l1 == one line | 12:26 |
hrw | btw - my latest blog post: https://marcin.juszkiewicz.com.pl/2018/09/22/my-code-of-conduct/ | 12:27 |
jaypipes | hrw: ++ on your blog post. that's a topic I've been thinking about quite a bit over the last year or so. | 12:29 |
jaypipes | hrw: I myself have not lived up to my own expectations/standards in the past w.r.t. civil discussion. It's something I actively work on. | 12:30 |
hrw | my wife (psychotherapist) told me many times that I am too passive-agressive so that's thing I work on | 12:31 |
jaypipes | hrw: :) | 12:33 |
*** e0ne has quit IRC | 13:38 | |
evrardjp | hrw: if at some point you find me too direct or not respecting your fairly good code of conduct, tell me. Sometimes ppl don't realise they are in breach. | 13:41 |
hrw | ok | 13:42 |
evrardjp | I live by this code of conduct too btw :p | 13:42 |
hrw | like most of people | 13:45 |
evrardjp | I'd hope so | 13:45 |
evrardjp | else my faith in humanity would be far lower | 13:46 |
*** e0ne has joined #openstack-loci | 13:47 | |
*** munimeha1 has joined #openstack-loci | 14:06 | |
*** gagehugo has quit IRC | 15:29 | |
*** gagehugo has joined #openstack-loci | 15:33 | |
*** e0ne has quit IRC | 16:01 | |
*** munimeha1 has quit IRC | 17:47 | |
*** e0ne has joined #openstack-loci | 18:06 | |
*** e0ne has quit IRC | 20:37 | |
*** evrardjp has quit IRC | 21:04 | |
*** evrardjp has joined #openstack-loci | 21:05 | |
*** evrardjp has quit IRC | 22:07 | |
*** evrardjp has joined #openstack-loci | 22:15 | |
*** dims_ has joined #openstack-loci | 22:59 | |
*** _d34dh0r53_ has joined #openstack-loci | 23:00 | |
*** dims has quit IRC | 23:00 | |
*** d34dh0r53 has quit IRC | 23:00 | |
*** evrardjp has quit IRC | 23:07 | |
*** evrardjp has joined #openstack-loci | 23:08 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!