IRC logs for #buildstream for Friday, 2023-05-19

AdrianVovk[m]Hello all. I come to you a work-week later with an update. The bst shell solution to my injecting-keys-into-buildstream works well22:54
AdrianVovk[m][This script](https://gitlab.com/carbonOS/build-meta/-/blob/141-image-based/tools/publish) is at the heart of it. It forks off three separate scripts in the `bst shell`, with different sets of keys available to each one. First script is /sign, which will actually do the signing. The second script is /mkddi, which makes a DDI out of the signed files. Finally the third script is /publish, which copies the files into a local23:03
AdrianVovk[m]repository, handles checksums and GPG signatures, and prepares everything to just be rsync'd to a server23:03
AdrianVovk[m]As long as the exepcted output from buildstream / input into the signing script is well-defined and [documented](https://gitlab.com/carbonOS/build-meta/-/blob/141-image-based/boards/README.md#generated-files) I think this solution is even pretty maintainable. But I suppose I'll find out in a few months when I forget all the details of how this works23:08
AdrianVovk[m]* of it, along with an element named `tools/publish-env., * .bst`. It23:10
AdrianVovk[m]Anyway, thanks again for the idea! If you do end up spelunking through my links and have questions feel free to reach out23:10
AdrianVovk[m]Oh on an unrelated note. Is there any plan to give buildstream a --quiet flag? It'd be nice if BuildStream stayed silent but could still print errors. For bst shell this is especially important since to silence buildstream I have to redirect stderr, but then whatever script I'm running is outputting to the same stderr stream. Cursory search reveals that a quiet flag was being worked on 5 years ago but nothing recently23:13
AdrianVovk[m] * Oh on an unrelated note. Is there any plan to give buildstream a --quiet flag? It'd be nice if BuildStream stayed silent but could still print errors. For bst shell this is especially important since to silence buildstream I have to redirect stderr, but then whatever script I'm running is outputting to the same stderr stream. Cursory search reveals that a quiet flag was being worked on 5 years ago but nothing recently.23:13
AdrianVovk[m]Was there a reason it was dropped or should I open an issue on github?23:13

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!