Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-06-03. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

配置依赖关系图

您可以通过启用依赖项关系图来允许用户� �识其项目的依赖项。

关于依赖项图

The dependency graph is a summary of the manifest and lock files stored in a repository. 对于每个仓库,它显示 依赖项,即它所依赖的生态系统和包。 GitHub Enterprise Server 不计算有关依赖项、仓库和依赖于仓库的包的信息。

更多信息请参阅“关于依赖关系图”。

Enabling the dependency graph

If the dependency graph is not available in your system, your enterprise owner can enable the dependency graph. 更多信息请参阅“为企业启用依赖关系图”。

首次启用依赖关系图时,将立即剖析受支持的生态系统的任何清单和锁定文件。 依赖关系图通常在� 分钟之内填充,但对于依赖项很多的仓库,可能需要更长时间。 启用后,该图将在每次推送到仓库时自动更新。

延伸阅读