renovate/lib/modules/datasource/hermit/readme.md

23 lines
1002 B
Markdown

By default [Hermit](https://cashapp.github.io/hermit/) looks up packages from the open source project [https://github.com/cashapp/hermit-packages](https://github.com/cashapp/hermit-packages).
Hermit supports [private packages](https://cashapp.github.io/hermit/packaging/private/).
To get Renovate to find your private packages, follow these steps:
1. perform `hermit search --json` with your private Hermit distribution and save the file to `index.json`
1. make a GitHub release in your private packages repository named `index` with the asset `index.json` generated in step 1.
1. setup a CI pipeline to repeat step 1 & 2 on new commits to the private packages repository.
1. Add a package rule for the Hermit manager, so that Renovate knows where to find your private packages:
```json
{
"packageRules": [
{
"matchManagers": ["hermit"],
"defaultRegistryUrls": [
"https://github.com/your/private-hermit-packages"
]
}
]
}
```