0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/datasource/hermit
2024-08-27 19:27:32 +00:00
..
index.spec.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
index.ts refactor(hermit): Use single cache namespace (#31052) 2024-08-27 19:27:32 +00:00
readme.md feat: add datasource for Hermit package manager (#16257) 2022-07-15 09:57:05 +00:00
types.ts feat: add datasource for Hermit package manager (#16257) 2022-07-15 09:57:05 +00:00

By default Hermit looks up packages from the open source project https://github.com/cashapp/hermit-packages.

Hermit supports private packages. 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

  2. make a GitHub release in your private packages repository named index with the asset index.json generated in step 1.

  3. setup a CI pipeline to repeat step 1 & 2 on new commits to the private packages repository.

  4. Add a package rule for the Hermit manager, so that Renovate knows where to find your private packages:

    {
      "packageRules": [
        {
          "matchManagers": ["hermit"],
          "defaultRegistryUrls": [
            "https://github.com/your/private-hermit-packages"
          ]
        }
      ]
    }