IRC logs for #buildstream for Saturday, 2021-01-23

*** toscalix has quit IRC00:52
*** tristan has quit IRC03:14
*** tristan has joined #buildstream03:36
*** ChanServ sets mode: +o tristan03:37
tristannanonyme, interesting04:22
tristanempty file, we should probably add some error reporting if/when this happens04:23
tristanThe save_file_atomic() code is a little complex, mostly because it will handle closing/cleanup of the temp file in the event that BuildStream is terminated04:27
*** tristan has quit IRC05:38
*** tristan has joined #buildstream05:39
*** ChanServ sets mode: +o tristan05:39
* tristan notices that in order to safely traverse a SequenceNode, one must use functions like SequenceNode.node_at()/SequenceNode.mapping_at()06:04
tristanResulting in loops like: n_items = len(sequence), index = 0, .... while index < n_items:  item = SequenceNode.mapping_at() ...06:05
tristanOtherwise the types of sequence items are not conveniently asserted by the Node API (we may get runtime errors instead of user facing messages with provenance)06:06
tristanMaybe MappingNode.get_sequence() could take an optional `allowed_types` argument for this purpose06:08
* tristan also pondering a good CLI format to fix the existing `--remote` format which only allows specifying a URI, perhaps `--auth server-cert:~/certs/server.crt,client-cert:~/certs/client.crt,client-key:~/certs/client.key`06:11
tristan(similar to docker's --volume option)06:11
*** tristan has quit IRC06:17
*** tristan has joined #buildstream13:24
*** ChanServ sets mode: +o tristan13:24
nanonymetristan, so I suspect it's not really a server bug but a client bug13:36
*** juergbi has quit IRC15:34
*** juergbi has joined #buildstream15:35
*** tristan has quit IRC16:06
*** tristan has joined #buildstream16:42
*** ChanServ sets mode: +o tristan16:42
*** tristan has quit IRC16:43
*** juergbi has quit IRC19:51
*** lantw44 has quit IRC19:51
*** tristan has joined #buildstream19:56
*** ChanServ sets mode: +o tristan19:56
*** tristan has quit IRC19:57
*** tristan has joined #buildstream20:07
*** ChanServ sets mode: +o tristan20:07
*** tristan has quit IRC20:08
*** tristan has joined #buildstream20:09
*** ChanServ sets mode: +o tristan20:09
*** tristan has quit IRC20:11

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