aboutcode-org / aboutcode-org/scancode-toolkit

Support exporting license and copyright information in debian copyright format to integrate with REUSE

未关闭
#2,235 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
new feature
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

## Short Description

In order to use results from scancode in projects adopting REUSE [1] it would be nice if copyright and license information could be exported in debian copyright format [2] which is used in REUSE for non-intrusive bulk licensing. This is useful
e.g. in projects implemented in golang where source code of dependencies is pulled into the `vendor/` folder of the
project's repository.

[1] https://reuse.software/faq/#bulk-license
[2] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#disclaimer-field

## Possible Labels

- new feature
- enhancement
- integration
- plugin

## Select Category

- [ x ] Enhancement
- [ ] Add License/Copyright
- [ ] Scan Feature
- [ ] Packaging
- [ ] Documentation
- [ ] Expand Support
- [ x ] Other

## **Describe the Update**

Export of copyright and license information in debian copyright format which is used by REUSE.

## **How This Feature will help you/your organization**

Automate compliance with REUSE especially for golang projects which tend to have
a lot of (source code of) dependencies in the `vendor/` folder. Both creation of initial
`.reuse/dep5` file and updating it whenever dependencies change in order to declare copyright
and license information for such dependencies is a lot of work when done manually.

We currently use a poor-man's partial solution using askalono which can only generate
the `Files:` and `License:` fields of debian copyright format.

## **Possible Solution/Implementation Details**

Without knowing any details about scancode's implementation I guess this could
be implemented as a post scan plugin.

## **Example/Links if Any**

## **Can you help with this Feature**

I am python 3 literate so I could try to help if you can provide hints how to start that.
I have no clue about the current scancode-toolkit implementation.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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