*** toscalix has quit IRC | 00:52 | |
*** tristan has quit IRC | 03:14 | |
*** tristan has joined #buildstream | 03:36 | |
*** ChanServ sets mode: +o tristan | 03:37 | |
tristan | nanonyme, interesting | 04:22 |
---|---|---|
tristan | empty file, we should probably add some error reporting if/when this happens | 04:23 |
tristan | The 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 terminated | 04:27 |
*** tristan has quit IRC | 05:38 | |
*** tristan has joined #buildstream | 05:39 | |
*** ChanServ sets mode: +o tristan | 05:39 | |
* tristan notices that in order to safely traverse a SequenceNode, one must use functions like SequenceNode.node_at()/SequenceNode.mapping_at() | 06:04 | |
tristan | Resulting in loops like: n_items = len(sequence), index = 0, .... while index < n_items: item = SequenceNode.mapping_at() ... | 06:05 |
tristan | Otherwise 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 |
tristan | Maybe MappingNode.get_sequence() could take an optional `allowed_types` argument for this purpose | 06: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 IRC | 06:17 | |
*** tristan has joined #buildstream | 13:24 | |
*** ChanServ sets mode: +o tristan | 13:24 | |
nanonyme | tristan, so I suspect it's not really a server bug but a client bug | 13:36 |
*** juergbi has quit IRC | 15:34 | |
*** juergbi has joined #buildstream | 15:35 | |
*** tristan has quit IRC | 16:06 | |
*** tristan has joined #buildstream | 16:42 | |
*** ChanServ sets mode: +o tristan | 16:42 | |
*** tristan has quit IRC | 16:43 | |
*** juergbi has quit IRC | 19:51 | |
*** lantw44 has quit IRC | 19:51 | |
*** tristan has joined #buildstream | 19:56 | |
*** ChanServ sets mode: +o tristan | 19:56 | |
*** tristan has quit IRC | 19:57 | |
*** tristan has joined #buildstream | 20:07 | |
*** ChanServ sets mode: +o tristan | 20:07 | |
*** tristan has quit IRC | 20:08 | |
*** tristan has joined #buildstream | 20:09 | |
*** ChanServ sets mode: +o tristan | 20:09 | |
*** tristan has quit IRC | 20:11 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!