reizql: META(filename=...) matcher
isidentical opened this issue · 2 comments
isidentical commented
Currently, there is no way to search in a specific project while using Reiz. Considering the intended dataset size (thousands of packages) it might be a cool idea to somehow add META()
matcher for searching custom filenames. Here is an example;
Call(
Name('something'),
__metadata__ = META(
filename=f'requests/%'
)
)
this would match files only under requests/
prefix, which internally means only the requests/
repo.
isidentical commented
Here is an example about how to search a specific filename;
Lines 188 to 195 in 8064f82
isidentical commented
And this is the place where you could add new metadata matchers;
reiz.io/reiz/reizql/compiler/functions.py
Lines 114 to 123 in 8064f82