Add information how to deal with incorporation external code (license, credits)
未关闭
还没有人认领这个 Issue。
topic-dev process
type-feature
- 主要语言
- Python
- 星标
- 2.1k
- 派生
- 1k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 12
描述
Describe the enhancement or feature you'd like
The devguide does not contain information what a triager and core dev has to do when adding files or non-trivial portions of code from an external project with non-core dev contributors. There are a couple of things we need to check or do:
- Is the license compatible with PSFL?
- Include proper provenance and license information in file header or comment before the code
- Add license and origin to
Docs/license.rst - Give credits to original authors
- Properly document the provenance and license in commit message
Describe alternatives you've considered
We should ask VanL for guidance, too.
Additional context
See https://github.com/python/cpython/issues/95649 for a case that is missing proper license and provenance information.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看 devguide 文档的结构以及相关的 CPython issue 95649,然后向 VanL 询问预期的指导内容。记录许可证兼容性、来源、致谢、Docs/license.rst 和提交消息方面的要求,使该流程完整且可执行。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100