stormcat24 / protodep

Collect necessary .proto files (Protocol Buffers IDL) and manage dependencies
Apache License 2.0
294 stars 56 forks source link

Feature: Whitelist option #75

Closed n0v1 closed 2 years ago

n0v1 commented 3 years ago

If you only need a few protos from a repository that has lots of proto files in it, specifying an ignores array to exclude everything that is NOT needed is cumbersome. It would be more convenient to have a "whitelist" of files/paths that should be downloaded and ignore everything else.

Not sure if "whitelist" would be the best name for this option. Maybe "match" or "include" would be a better fit. Other ideas?

stormcat24 commented 3 years ago

@n0v1 This is nice idea. I agree with your opinion. I think "include" is better.

stormcat24 commented 2 years ago

@n0v1 Sorry for the delay. With the help of @dsaouda, this feature was released in v0.1.7. Thank you for your wonderful idea.

n0v1 commented 2 years ago

Thank you both for adding this feature! Will test it during the next couple of days.

n0v1 commented 2 years ago

Works great!