Document licensing and copyright for reused code
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- python
调研方向
首先检查 _compat.py 中的 copied-from 注释和示例,然后将仓库中复用的代码与 issue 中链接的 REUSE Specification 和 SPDX guidance 进行比较。针对每个已识别的 snippet,按照提议的机器可读格式记录版权和许可证信息,确保整个复用代码的归属信息和许可证覆盖完整。
由索引模型根据 Issue 内容生成。
描述
Hello,
I noticed that part of the code in this repo is copied from other projects, with comments for attribution, for instance:
This makes it difficult to vendor this repo, as one has to track all sources and their licenses / copyright information to ensure compliance with their licenses.
Would you consider standardizing this in a machine-readable format? I recommend using REUSE Specification, which enforces the SPDX license open standard.
For instance, _compat.py could look like:
+ # SPDX-FileCopyrightText: 2026 RunwayML
+ #
+ # SPDX-License-Identifier: Apache-2.0
...
# we define a separate type (copied from typeshed)
# that represents that `cached_property` is `set`able
# at runtime, which differs from `@property`.
#
# this is a separate type as editors likely special case
# `@property` and we don't want to cause issues just to have
# more helpful internal types.
+ # SPDX-SnippetBegin
+ # SPDX-SnippetCopyrightText: Contributors to typeshed <https://github.com/python/typeshed>
+ # SPDX-SnippetCopyrightText: 2015 Jukka Lehtosalo and contributors
+ # SPDX-License-Identifier: Apache-2.0 AND MIT
class typed_cached_property(Generic[_T]):
...
+ # SPDX-SnippetEnd
If you are ok with that I could help with a PR (just based on the "copied from ..." comments).
Thanks!
- 主要语言
- Python
- 星标
- 26
- 派生
- 10
- 平均合并
- 1 小时 38 分钟
- 30 天内合并 PR
- 4
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
runwayml/sdk-python 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
runwayml/sdk-python#277 ·
-
难度 5/5 一周以上 新手友好度 25/100
runwayml/sdk-python#276 ·
-
难度 5/5 一周以上 新手友好度 20/100
runwayml/sdk-python#275 ·
-
难度 3/5 1-2 天 新手友好度 25/100
runwayml/sdk-python#274 ·
-
难度 5/5 一周以上 新手友好度 15/100
runwayml/sdk-python#273 ·
查看 runwayml/sdk-python 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
huggingface/smolagents#2976 ·
维护者通常 1 天内回复
-
bug Triage-Needed
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
FuRongJun-1999/dsh-memory#170 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
pgvector/pgvector-python#163 ·
-
难度 1/5 1 小时以内 新手友好度 82/100
521xueweihan/HelloGitHub#3940 ·