https://github.com/phi-ag/renovate-rust-nightly
Serve Rust nightly versions for Renovate Custom Datasources
https://github.com/phi-ag/renovate-rust-nightly
cloudflare-worker renovate rust
Last synced: 5 months ago
JSON representation
Serve Rust nightly versions for Renovate Custom Datasources
- Host: GitHub
- URL: https://github.com/phi-ag/renovate-rust-nightly
- Owner: phi-ag
- License: mit
- Created: 2024-09-29T05:40:29.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-03T07:52:35.000Z (5 months ago)
- Last Synced: 2024-12-03T08:36:25.825Z (5 months ago)
- Topics: cloudflare-worker, renovate, rust
- Language: TypeScript
- Homepage:
- Size: 57.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Renovate Rust Nightly
[](https://renovate-rust-nightly.phi-ag.workers.dev/)
Parse nightly versions from [rust-lang.github.io](https://rust-lang.github.io/rustup-components-history/) and serve the result in the required JSON format for [Renovate Custom Datasources](https://docs.renovatebot.com/modules/datasource/custom/).
```json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":semanticCommits",
"config:best-practices",
"group:monorepos",
"group:recommended"
],
"customDatasources": {
"rust-nightly": {
"defaultRegistryUrlTemplate": "https://renovate-rust-nightly.phi-ag.workers.dev"
}
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^rust-toolchain.toml$"],
"matchStrings": ["channel = \"nightly-(?.+?)\"\\n"],
"versioningTemplate": "regex:^(?\\d{4})-(?\\d{2})-(?\\d{2})$",
"datasourceTemplate": "custom.rust-nightly",
"depNameTemplate": "rust-nightly"
}
]
}
```