Replies: 2 comments 1 reply
-
Hi @dastbe, I'm definitely open to this if you file a pull request! I was thinking about two approaches:
Those two would also benefit from having a template language for the smartlog. Jujutsu has a template language, which might also interest you. |
Beta Was this translation helpful? Give feedback.
-
So the changes to make this work are straightforward, though wanted to check with you regarding configuration. reading up on multivars in git config, it looks like it would be semantically reasonable to add a config key
This would be interesting and would help with some subset of templating (ex. matching
Also very interesting, will have to take a look at the functionality there. |
Beta Was this translation helpful? Give feedback.
-
One thing I appreciate about superlog is that it extracts relevant information into the description. However, as-is it's not customizable without directly integrating those extractors into the source. While I suspect you might be amenable to adding support for some popular conventions with common tools, I have to imagine you're less keen to do the same for internal tools 😄 .
Given that, have you given any thought to supporting configurable node descriptors? In my mind, something that allows you to define a regex with a "well-known" capture group, along with optional additional configuration for formatting and styling.
Beta Was this translation helpful? Give feedback.
All reactions