gtristan commented on PR #1949:
URL: https://github.com/apache/buildstream/pull/1949#issuecomment-2375572614
I'm not really in favor of having bst-graph at all.
I think we should either:
* Enhance `bst show` with features like `--depth` or such, allowing some
scripting to construct the graph and display it however it wants
* Open up some very limited `Stream` / `App` APIs from the `buildstream`
module and make a limited set of APIs public
* Allowing at least to load the build graph once and have access to the
`Element` and `Source` data model, reducing load time and allowing users to do
whatever introspective operations they might want
Either of these approaches don't add a first class graphing feature but
allow users to do more powerful things without requiring special buildstream
features to do so... specifically this should be interesting if we add APIs for
`Source` objects to report information about their URLs etc, so that we can do
SBoMs in a way that does is stable and does not abuse internal APIs (like
fdsdk's collect_manifest thing does).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]