Skip to content

Update sources URL refs from Renovate Bot #344

@OmarTawfik

Description

@OmarTawfik

Follow up from #342

Users can use a specific git reference to fix their package sources in hermit.hcl sources property. Example:

# hermit.hcl
sources = [
  "https://github.com/cashapp/hermit-packages.git#ref"
]

This means it will quickly get out of date, and it needs updating regularly.

I suggest adding support for this in the Renovate bot, by updating the ref suffix part of the URL regularly: https://docs.renovatebot.com/modules/manager/hermit/

Note: for most use cases, this means fetching the latest commit from the default branch of the repository they are using (origin/HEAD), but for completeness, it can support specifying a custom remote reference (like refs/HEAD/branch-name) for users to put into their renovate.json config, for repositories that use a separate release branch.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions