-
Notifications
You must be signed in to change notification settings - Fork 948
Description
Is your feature request related to a problem? Please describe.
jj log is a really nice graph format that you can tweak to your liking, except for the fact that only jj-specific information is available. It would be nice to integrate external data (CI status, PR status, ...) into the graph
Describe the solution you'd like
Allow piping json (?) to stdin with a mapping from change-id to extra "context" and then expose a context field on the changeId for templates so it can be nicely included in a script.
Describe alternatives you've considered
Scripts can parse output of jj log and try to reconstruct a graph but it's hard to have the same graph like structure and sometimes it's small changes where this feels overkill
Additional context
Maybe the passing in should also include the type, e.g. something like
{"change": {"ltuonvqquknk": {"foo": "bar"}}, "commit": {"dc4adbf5": 42}}so other types also can gain context.
Not sure if stdin is the best way to pass this context in