Lennart Poettering
Lennart Poettering
hmppff. this is a debug interface. This probably should not exist at all as IPC interface, but certainly not be extended. What does this do that "systemctl show" doesn't do?
Why not just search client side? Sorry, totally not convinced we should add filtering to debugging apis.
> Because the code to implement this is much simpler if done at the server side instead of having each client parsing a long text dump whose format can be...
> Why not flagging these APIs as such then (or simply hide them from the rest of the world) so we can extend the existing ones without fearing to break...
and i am not convinced we should officially expose the flags that indicate why deps came to be. Exposing means turning them into API, and we really don't want that.
Quite frankly, I'd just close this, and suggest people to learn how to user the search function in their pager.
I still think this is a useless feature. We shouldn't add all kind of garbage just because people don't know how to use search in their page. Morevoer it's really...
> This looks reasonable. In principle we could do the filtering on the user side, but it's extremely convenient to do the filtering like this with a glob pattern, and...
> For your second comment, I'll probably replace `DumpPatternsByFileDescriptor` with `DumpPatterns` as the main point of the new method is to limit (drastically) the size of the data returned by...