IRC logs for #buildstream for Thursday, 2019-11-21

*** dylan-m_ has quit IRC03:02
*** narispo has quit IRC08:04
*** narispo has joined #buildstream08:04
*** bochecha has joined #buildstream09:12
*** phoenix has joined #buildstream09:14
gitlab-br-botcoldtom approved MR !1722 (valentindavid/compose-integration-commands->master: compose: Allow compose elements to run integration commands) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/172209:16
*** traveltissues has joined #buildstream09:18
*** qinusty has joined #buildstream09:23
Kinnisonvalentind: looks like your pipeline failed black formatting checks09:42
valentindKinnison, thanks for telling me, I would have not looked.09:43
valentindI thought it was merged. But coldtom only approved a second time.09:44
gitlab-br-bottraveltissues opened (was WIP) MR !1682 (traveltissues/mr3->master: Support RE workspaces (non-incremental)) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/168209:44
valentindWow, we got to the point that the code is completely normalized. There is only one way to write it.09:45
KinnisonYep09:45
valentindIt seems compose does not work with buildbox.09:48
KinnisonThat could be a problem. Though the current buildbox sandbox isn't the eventual one.09:56
KinnisonIt may make sense to block that test on the buildbox sandbox for now09:56
valentindI have marked it as xfail.09:57
benschubertyep that seems good to me :)09:57
*** phildawson has joined #buildstream10:07
gitlab-br-botvalentindavid opened issue #1214 (Compose elements with integration commands do not work on buildbox) on buildstream https://gitlab.com/BuildStream/buildstream/issues/121410:13
valentinderror: cannot format tests/integration/compose.py: Cannot parse: 152:4:     _yaml.roundtrip_dump(element, os.path.join(element_path, element_name))10:16
valentindWell I can parse it, so the pylint on my machine.10:16
valentindNot sure what is the problem there.10:16
benschubertvalentind: aren't you missing a ')' at the end?10:16
benschubertblack requires your code to be valid10:16
valentindNope10:16
benschubertis it up to date on your PR?10:17
valentindYes10:17
valentindAnd obviously the line in the log is correct.10:17
valentindThere are the right number of parenthesis.10:17
benschubertinteresting10:18
Kinnisonvalentind: very odd10:18
*** jonathanmaw has joined #buildstream10:18
valentindAh maybe it is "format-check"10:18
valentindI did not try this locally. Let me see if that fails locally.10:18
valentindIt fails.10:19
KinnisonGotta love Python :D10:19
benschuberthttps://gitlab.com/BuildStream/buildstream/-/jobs/357152700 your linter is also complaining10:19
benschubert(pylint)10:19
valentindOh I know10:19
valentindThe error was on the line before.10:20
benschubert:)10:21
valentindInstead of showing what it cannot parse, the parse should say what it expected. Because it is quite confusing.10:22
*** rdale has joined #buildstream10:25
*** phoenix has quit IRC10:26
*** phoenix has joined #buildstream10:27
*** lachlan has joined #buildstream10:31
*** lachlan has joined #buildstream10:31
gitlab-br-botjuergbi opened MR !1724 (juerg/umask->master: Respect umask for created file and directories) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/172410:36
juergbitlater[m]: ^^ is the replacement for the group permission fixes10:37
juergbireview appreciated10:37
benschuberthttps://docs.python.org/3/library/functools.html#functools.cached_property just stumbled upon that, I wonder if this would make part of our code more readable for things we only compute once :)10:39
bochechabenschubert: it's Python 3.8 only though10:45
* bochecha copy-pasted it into his own code, to be able to use it with Python 3.7, until the move to 3.810:45
bochechaand yeah, it's great :)10:46
benschubertthat explains why I never saw it before x)10:46
benschubertI'd be curious if it's faster or not10:46
bochechathat computing it each time? certainly :)10:46
bochechas/that/than/10:47
benschubertI meant than doing it explicitely as we do ;)10:47
bochechadunno… it does quite a lot of things so as to be be more generic, a custom-built solution might be faster10:49
bochechahttps://github.com/python/cpython/blob/master/Lib/functools.py#L915-L96010:49
bochechahow is it implemented in bst?10:49
benschubertoh gosh :)10:49
bochecha(e.g the python 3.8 one locks for multithreading)10:49
benschubertif self.__var is None:10:50
benschubert   self.__var = ....10:50
benschubertreturn self.__var10:50
benschubertso probably faster :)10:50
bochechayeah10:50
bochechayou can generalize that as a custom cached_property decorator though10:50
bochechaso you still get a simpler code10:50
bochechae.g feel free to steal https://pagure.io/rpkg/blob/master/f/pyrpkg/utils.py#_34 (it's LGPL as well, like bst)10:52
bochecha(I had written that a few years ago, and it seems to have survived ^_^)10:53
*** phoenix has quit IRC10:57
*** lachlan has quit IRC11:15
tlater[m]juergbi: I'm looking through that - while we're at it, I've cleaned up the tracking leftovers: https://gitlab.com/BuildStream/buildstream/merge_requests/171811:19
tlater[m]Any chance you could give it a quick look and see whether there's anything else left that could be simplified?11:20
juergbiwill take a look in a bit11:20
*** lachlan has joined #buildstream11:21
tlater[m]juergbi: Interesting that os.chmod() doesn't blow up on win3211:37
tlater[m]`os.umask`, even11:38
juergbithe Microsoft CRT has limited support for umask11:40
juergbinot anything that would be useful for us, though (single user)11:41
*** lachlan has quit IRC11:45
*** lachlan has joined #buildstream12:22
gitlab-br-botjjardon opened issue #1215 (overnight tests are failing: "Sandbox.run() has been disabled") on buildstream https://gitlab.com/BuildStream/buildstream/issues/121512:58
gitlab-br-botjjardon closed issue #1207 (Overnight-tests: mesa-aco/mesa.bst fails fetch) on buildstream https://gitlab.com/BuildStream/buildstream/issues/120712:59
*** bochecha has quit IRC13:33
*** bochecha has joined #buildstream13:35
gitlab-br-bottraveltissues opened issue #1216 (Optional support for file timestamps) on buildstream https://gitlab.com/BuildStream/buildstream/issues/121613:38
gitlab-br-bottlater opened (was WIP) MR !1725 (1211-stop-using-non-posix-features-in-small-test-suite-tests-to-avoid-fake-test-failures->master: Resolve "Stop using non-POSIX features in small test suite tests to avoid fake test failures") on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/172513:50
*** lachlan has quit IRC14:21
*** lachlan has joined #buildstream14:27
*** akvilebirgelyte_ has quit IRC14:49
*** akvilebirgelyte_ has joined #buildstream14:53
*** phoenix has joined #buildstream14:53
gitlab-br-bottlater opened (was WIP) MR !1718 (tlater/track-cleanup->master: Simplify the codebase using post-tracking removal simplicity of the pipeline) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/171815:03
gitlab-br-botjuergbi opened issue #1217 (Optimize fork bottleneck in WSL) on buildstream https://gitlab.com/BuildStream/buildstream/issues/121715:15
*** bochecha_ has joined #buildstream16:01
*** bochecha has quit IRC16:03
*** bochecha_ is now known as bochecha16:03
*** lachlan has quit IRC16:10
*** bochecha_ has joined #buildstream16:11
*** bochecha has quit IRC16:13
*** bochecha_ is now known as bochecha16:13
*** lachlan has joined #buildstream16:14
*** phoenix has quit IRC16:22
*** phoenix has joined #buildstream16:23
*** mohan43u has quit IRC16:31
*** mohan43u has joined #buildstream16:38
*** tpollard has quit IRC17:11
*** lachlan has quit IRC17:25
*** lachlan has joined #buildstream17:29
*** lachlan has quit IRC17:56
*** phildawson has quit IRC18:03
*** traveltissues has quit IRC18:22
*** slaf_ has joined #buildstream18:29
*** slaf_ has joined #buildstream18:29
*** slaf_ has joined #buildstream18:30
*** slaf_ has joined #buildstream18:30
*** slaf_ has joined #buildstream18:30
*** slaf_ has joined #buildstream18:30
*** slaf_ has joined #buildstream18:31
*** slaf_ has joined #buildstream18:31
*** slaf has quit IRC18:31
*** slaf has joined #buildstream18:31
*** slaf has joined #buildstream18:32
*** slaf has joined #buildstream18:32
*** slaf has joined #buildstream18:32
*** slaf has joined #buildstream18:33
*** slaf has joined #buildstream18:33
*** slaf has joined #buildstream18:33
*** slaf has joined #buildstream18:33
*** jonathanmaw has quit IRC18:43
*** rdale has quit IRC18:51
gitlab-br-botjjardon opened MR !1727 (jjardon/debian-10->master: .gitlab-ci.yml: Use Debian9 instead Debian10) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/172719:09
jjardonCan I have reviews of https://gitlab.com/BuildStream/buildstream-docker-images/merge_requests/145 , please?19:24
*** phoenix has quit IRC19:39
jjardonCan I have review of https://gitlab.com/BuildStream/buildstream/merge_requests/1727/ please?21:36

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