zrepl icon indicating copy to clipboard operation
zrepl copied to clipboard

finer grained filter spec; wildcards like *.mozillla/*/.cache

Open tvtue opened this issue 4 years ago • 2 comments

Hi I haven't found something like this, so maybe that would be a good feature if possible anyway. Cheers Timo

tvtue avatar Feb 26 '20 09:02 tvtue

Regexps in filters would be great.

jhimanka avatar Jun 22 '21 11:06 jhimanka

I think the difficulty here lies in prioritization compared to the < 'subtree wildcard' and the non-wildcard filter rules. (see https://zrepl.github.io/configuration/filter_syntax.html for the existing prioritization rules).

In the current config syntax, the order of the filter rules does not matter and cannot be easily reconstructed due to constraints by the yaml parsing library. How would you go about this?

problame avatar Jun 28 '21 11:06 problame