aboutcode-org / aboutcode-org/scancode-toolkit

RFC: retire pre-scan plugin stage

オープン
#4,958 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
RFC
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。