python / python/cpython

Why does the Windows build generate an swbom, which is simply impossible in some internal network environments?

未关闭
#147,191 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

build OS-windows
主要语言
Python
星标
77.2k
派生
35.9k
PR 合并指标
PR 指标待抓取

描述

https://github.com/python/cpython/blob/7f2d89a444bb389a4f4ded13204e71c0af06ee76/PCbuild/regen.targets#L100

Some internal networks cannot access GitHub and cannot perform SBOM operations. As a result, the operations will fail. Is there a build parameter to disable this function?

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 PCbuild/regen.targets 大约第 100 行开始查看,Windows 构建会在这里调用 SBOM 生成。检查可用的 MSBuild 参数以及此 target 如何接入构建流程;完成的标准是提供一个显式选项来禁用 SBOM 操作,使构建能够在无法访问 GitHub 的网络中正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 发到你的邮箱

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