renovate README

The project's README from github.com/renovatebot/renovate. As one markdown file: README.md.

Mend Renovate CLI banner

License: AGPL-3.0-only codecov Renovate enabled Build status Docker Pulls OpenSSF Scorecard

What is the Mend Renovate CLI?

Renovate is an automated dependency update tool. It helps to update dependencies in your code without needing to do it manually. When Renovate runs on your repo, it looks for references to dependencies (both public and private) and, if there are newer versions available, Renovate can create pull requests to update your versions automatically.

Features

Languages

Renovate can provide updates for most popular languages, platforms, and registries including: npm, Java, Python, .NET, Scala, Ruby, Go, Docker and more. Supports over 90 different package managers.

Platforms

Renovate updates code repositories on the following platforms: GitHub, GitLab, Bitbucket, Azure DevOps, AWS Code Commit (experimental), Gitea, Forgejo, Gerrit (experimental), SCM-Manager (experimental)

Ways to run Renovate

The most effective way to run Renovate is to use an automated job scheduling system that regularly runs Renovate on all enabled repositories and responds with priority to user activity. Mend offers cloud-hosted and self-hosted solutions. See the options below.

Mend Renovate Community (Cloud-Hosted)

Supports: GitHub.com, Bitbucket Cloud

Hosted by Mend.io. No setup is needed. Community plan available (Free)

Mend Renovate Community (Self-hosted)

Supports: GitHub, GitLab, Bitbucket Data Center

Install and run your own Renovate server. Access internal packages.

Other ways to run Renovate

If you can’t use a pre-built job scheduling system, or want to build your own, the following options are available:

Run Renovate on your Pipeline

Mend provides a GitHub Action or a GitLab Runner to help you run Renovate as a CI pipeline job.

Run Renovate CLI

There are several ways to run the Renovate CLI directly. See docs: Running Renovate for all options.

Supports: all platforms

For additional community-maintained options, see the Community Tools page.

Docs

More about Renovate

Renovate Docs

Comparisons

Get involved

Issues and Discussions

Please open a Discussion to get help, suggest a new feature, or to report a bug. We only want maintainers to open Issues.

Contributing

To contribute to Renovate, or run a local copy, please read the contributing guidelines.

Contact and Social Media

The Renovate project is proudly supported and actively maintained by Mend.io.

Follow us on:

Security / Disclosure

If you find any bug with Renovate that may be a security problem, please report it through the GitHub Security Advisories process. This way we can evaluate the bug and hopefully fix it before it gets abused. Please give us enough time to investigate the bug before you report it anywhere else.

If you would like to discuss a potential finding before raising the Advisory, then e-mail us at: [email protected].

renovate (renovatebot/renovate)

Searching Database…

22.8K ·GitHub
这是干什么用的?Renovate 是一款自动化依赖更新工具:它会扫描您的代码仓库,查找其中的依赖项引用,并在有较新版本可用时自动创建 Pull Request,这样您就无需再手动更新依赖了。
它是托管服务,还是需要我自己运行?两者都有。它是一款您可以自己运行的 CLI 工具;Mend 针对 GitHub.com 和 Bitbucket Cloud 将其作为云应用进行托管;此外,它还可以通过 GitHub Action 或 GitLab Runner 作为 CI 任务运行。
我怎么才能让它开始更新我的代码仓库?最简单的方法:在您的 GitHub 组织上安装 Renovate Cloud-Hosted App,然后选择要启用的仓库。其他方式:在 CI 中使用 GitHub Action 或 GitLab Runner,或者使用一个运行 npx renovate 的自定义流水线。
在运行它之前,我需要准备什么?使用云应用完全不需要任何设置。CLI 和 CI 方式都是通过 npx renovate 在 Node 上运行,需要能够访问您的 git 平台和包注册中心,包括私有的包注册中心。
它在所有这些平台上的支持都同样稳定吗?不是——AWS Code Commit、Gerrit 和 SCM-Manager 属于实验性支持;而 Azure DevOps 的 'Renovate Me' 扩展由社区维护,因此相关的支持请求不会在 Renovate 主仓库中处理。
它支持哪些代码托管平台?支持 GitHub、GitLab、Bitbucket、Azure DevOps、Gitea 和 Forgejo,另外还实验性地支持 AWS Code Commit、Gerrit 和 SCM-Manager。CLI 本身可以在所有平台上运行。
我可以把它托管在自己的服务器上吗?可以。Mend Renovate Community Self-Hosted 可免费安装到您自己的服务器上,并且能够访问内部的包;Enterprise 是自托管方案的付费版本。
它会读取我的私有仓库吗?会——它会同时在公开仓库和私有仓库中查找依赖项引用,并连接到私有的包注册中心,因此需要您授予代码的读取权限。
它只适用于 npm 和 JavaScript 项目吗?不是——它覆盖了大多数主流生态系统,包括 npm、Java、Python、.NET、Scala、Ruby、Go 和 Docker,共支持 90 多种包管理器。
我需要手动指定我的依赖文件吗?不需要——Renovate 会自动发现您代码仓库中的相关包文件,并将更新 PR 直接提交到仓库中。
它如何帮我决定哪些更新可以接受?每个 PR 都带有 Merge Confidence 信号——包括该更新的发布时长、采用率和通过率——这样您在合并之前就能判断这次更新是否安全。
Size
162.4 MB
Stars
22.8K
Age
9y
Commits · 90 Days