IRC logs for #buildstream for Friday, 2020-01-24

*** dylan-m has quit IRC01:17
*** awacheux[m] has quit IRC01:37
*** awacheux[m] has joined #buildstream02:02
*** dylan-m has joined #buildstream03:15
*** dylan-m has quit IRC03:31
*** delli3_ has joined #buildstream04:24
*** delli3 has quit IRC04:27
*** segfault3[m] has quit IRC08:11
*** traveltissues has joined #buildstream08:22
*** phildawson has joined #buildstream09:21
*** tme5 has joined #buildstream09:53
*** jonathanmaw has joined #buildstream10:29
tme5is it allowed for a plugin to run subprocesses without using self.call ?10:43
tpollardwhy wouldn't you use call?10:45
tme5i don't know tbh lol10:48
*** phildawson has quit IRC10:59
*** phildawson has joined #buildstream10:59
traveltissuesi think the question is would it be acceptable for that to happen?11:06
traveltissuesmy thinking is no11:07
tpollardthere's nothing in the coding guidelines that specifically restricts it11:12
tpollardbut I agree, I don't think it should be acceptable/needed11:13
gitlab-br-botjjardon closed issue #1258 (Plugin tests accessing private API) on buildstream https://gitlab.com/BuildStream/buildstream/issues/125811:15
gitlab-br-botjjardon merged MR !1806 (coldtom/testing-api->master: Stop plugin tests using private API) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/180611:15
tme5i have added a version check to the optimisation added in !1808. I found the required functionality was added in git 1.9.0, 6 years ago :P11:15
gitlab-br-botMR !1808: Improvements to _GitSourceBase and _GitMirror https://gitlab.com/BuildStream/buildstream/merge_requests/180811:15
*** ChanServ sets mode: +o tristan11:15
tristanits incorrect to bypass the buildstream APIs11:15
tristanin the case of the utilities for spawning processes, the subprocess will not be properly terminated or put to sleep / woken up when the master process gets SIGTERM and SIGTSTP11:16
tristane.g. when the user hits ^Z or ^C and such11:17
*** phildawson has quit IRC11:26
*** phildawson has joined #buildstream11:30
tpollardwell, doesn't that depending if the plugin code is already under a buildstream job process11:31
tpollardat which point itself is under the sig handlers11:31
tpollardanyway I agree it's incorrect11:32
tpollarddo we have any current implementations that require shell=True on the subprocess calls? looking at the api, we'd allow it in kwargs11:34
coldtoma quick grep on bst-plugins-experimental suggests not11:37
tme5benschubert, if you have a second could you look at the version check I added in !1808 and see if it's ok?12:30
tristantpollard, no it doesnt depend13:24
tristantpollard, the master <--> child process handling is one thing, child processes which spawn things and use Plugin.call() and such do another recursive thing13:24
tristanand the sandboxing calls do yet another (similar to Plugin.call()) thing13:25
tristancalls to Plugin.call() from the main process are rather rare and not as well tested as I recall (these are exceptions to the rule, like when you do a fetch at the beginning of a `bst workspace open` call in the foreground process)13:27
*** narispo has joined #buildstream13:46
benschuberttme5: sure looking now13:53
*** xjuan has joined #buildstream13:55
gitlab-br-botBenjaminSchubert approved MR !1808 (tmewett/git-source->master: Improvements to _GitSourceBase and _GitMirror) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/180813:55
benschubertSeems good tme5 thanks for the cleanup and optimisation :)13:55
*** dellie__ has joined #buildstream14:03
*** delli3_ has quit IRC14:03
*** phoenix has joined #buildstream14:14
*** phoenix has quit IRC14:18
tme5ah ty, i've just rebased14:33
*** narispo has quit IRC15:00
*** traveltissues has quit IRC15:08
*** xjuan has quit IRC15:17
*** narispo has joined #buildstream16:08
*** dylan-m has joined #buildstream16:40
*** xjuan has joined #buildstream16:59
*** tme5 has quit IRC17:39
*** narispo has quit IRC17:41
*** narispo has joined #buildstream17:43
*** tpollard has quit IRC17:48
*** narispo has quit IRC17:53
*** narispo has joined #buildstream17:53
*** rdale has quit IRC18:01
*** jonathanmaw has quit IRC18:06
*** dylan-m has quit IRC18:27
*** narispo has quit IRC18:28
*** narispo has joined #buildstream18:29
*** dylan-m has joined #buildstream18:31
*** dylan-m has quit IRC18:36
*** narispo has quit IRC19:05
*** xjuan has quit IRC20:28
*** brlogger has joined #buildstream20:59
*** awacheux[m] has joined #buildstream21:58
*** cgmcintyre[m] has joined #buildstream22:04
*** tlater[m] has joined #buildstream22:26

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