Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor License indexing #3137

Open
pombredanne opened this issue Oct 28, 2022 · 0 comments
Open

Refactor License indexing #3137

pombredanne opened this issue Oct 28, 2022 · 0 comments

Comments

@pombredanne
Copy link
Member

pombredanne commented Oct 28, 2022

We should simplify indexing and caching by using a list of license directories be they builtin, "additional" or plugin-contributed.

See #2979 (review)

I think we should refactor this a bit more such that indexing licenses and rules just takes a list of directories. Everything else should IMHO just use the things already loaded. And we can simplify the detection of builtins based on a list of builtin licenses... This would help keep the code tidier IMHO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant