aboutcode-org / aboutcode-org/scancode.io

Map archives when their extracted directory mapped/processed

未关闭
#827 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
215
派生
203
平均合并
4 天 8 小时
30 天内合并 PR
6

描述

In a deploy_to_devel pipeline, when I have an archive like "foo.zip", there will be a directory "foo.zip.extract" with the extracted content.

- If "foo.zip" is matched to the purlDB then "foo.zip.extract" should be treated as matched too. This is already the case.

- Otherwise, if not matched to the devel side and not matched to the purldb, "foo.zip" should be assigned an "extracted" status right at the end of the step that is matching archives to the purldb and this archive should not be further processed. This works because we have its extracted content that is processed otherwise.

We need to validate that:
- all the "is_archive" files are extracted. These files not extracted are possible errors.
- we are trying to match every "is_archive" file. This need changing and is tracked in #826

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。