microsoftgraph / microsoftgraph/msgraph-sdk-python
exclude extraneous files from package
未关闭
还没有人认领这个 Issue。
bug
type:bug
- 主要语言
- Python
- 星标
- 630
- 派生
- 96
- 平均合并
- 15 小时 20 分钟
- 30 天内合并 PR
- 3
描述
similar to https://github.com/microsoftgraph/msgraph-sdk-python-core/pull/709 those extra files slow down the installation, and can pose security issues like this https://github.com/microsoftgraph/msgraph-sdk-php-core/security/advisories/GHSA-mhhp-c3cm-2r86
directories to be excluded:
- .github
- docs
files to be excluded: - .gitignore
- .release-please-manifest
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- release-please-config
- UPGRADING.md
to test simply run python -m build locally, and check what's in the archive under dist
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查仓库的软件包构建配置以及列出的目录和文件。在本地运行 python -m build,检查 dist 下的归档文件,并确认已排除指定的多余内容。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system
- Issue 类型
- 重构
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100