aboutcode-org / aboutcode-org/scancode-toolkit

Add support for alternative SPDX identifiers formats

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

描述

Reported by @Conan-Kudo
See https://pagure.io/obs-packaging-scripts/blob/master/f/distgit-obsimport.py#_4-14
```
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Copyright (C) 2015-2017 Datto, Inc.
# Copyright (C) 2020 Neal Gompa
#
# Fedora-License-Identifier: GPLv2+
# SPDX-2.0-License-Identifier: GPL-2.0+
# SPDX-3.0-License-Identifier: GPL-2.0-or-later
#
# This program is free software.
# For more information on the license, see COPYING.
# For more information on free software, see
# .
```

There are a few things to consider there:
- Three different prefixes for a license expression
- Three different license symbols lists, the later two being based on different versions of SPDX license lists
- Notice-like text that is not license-specific starting at `This program is free software. ...`

See also https://github.com/search?q=SPDX-3.0-License-Identifier&type=code

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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