aboutcode-org / aboutcode-org/scancode-toolkit
Refactor License indexing
Ouverte
- Langage dominant
- Python
- Étoiles
- 2.6k
- Forks
- 791
- Merge moyen
- 1 j 12 h
- PR mergées (30 j)
- 5
Description
We should simplify indexing and caching by using a list of license directories be they builtin, "additional" or plugin-contributed.
See https://github.com/nexB/scancode-toolkit/pull/2979#pullrequestreview-1150782261
> 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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.