aboutcode-org / aboutcode-org/scancode-toolkit
RFC: retire pre-scan plugin stage
- Langage dominant
- Python
- Étoiles
- 2.6k
- Forks
- 791
- Merge moyen
- 1 j 12 h
- PR mergées (30 j)
- 5
Description
We could consider retiring pre-scan.
1. this is seldom used
2. this forces walking the whole codebase multiple times
3. this would be replace by a way to plugin in the filtering of the codebase, so that this can be walked only once
4. facets and classification can be made into regular scans that other can depend on
The plugins that use it:
- https://github.com/aboutcode-org/scancode-plugins/blob/9fcc50df36afdeb7b876eea4ec46fd2d2332772f/misc/scancode-ignore-binaries/setup.py#L48
- builtins classify = summarycode.classify:FileClassifier
- builtins facet = summarycode.facet:AddFacet
- builtins ignore = scancode.plugin_ignore:ProcessIgnore
The benefits:
- simpler code
- enable faster codebase walking
Based on a chat with @armijnhemel
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.