aboutcode-org / aboutcode-org/scancode.io

Restructure SCIO Resource status field

オープン
#1,525 コメント 0 件 リアクション 0 件 担当者 2 名 @DennisClark が担当を希望しています GitHub で見る
design-needed medium priority
主要言語
Python
スター
215
フォーク
203
平均マージ
4日 8時間
マージ済み PR(30日)
6

説明

The current usage of Resources status field is confusing because it seems to conflate several types of status:

**Scanning status**

- scanned
- scanned-with-error

**File ignored**
- ignored-empty-file
- ignored-whiteout
- ignored-not-interesting

**Package type for container images**

- application-package
- system-package

**License scanning status**

- no-licenses
- unknown-licenses

It is not clear where the status values are exclusive or where SCIO picks the best one for a file. Using a field like this for multiple dimensions of status makes it harder to filter and search the Resources data.

I think that we should have separate status fields such as:
- scanning_status
- license_detection_status
- container_package_type:
- file_scan_status

There are two related issues for the "ignored-not-interesting" status values:
https://github.com/aboutcode-org/scancode.io/issues/405
https://github.com/aboutcode-org/scancode.io/issues/409

We should replace the current code for ignoring files when we have a file-cat addon pipeline for SCIO.

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

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

評価

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

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

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