Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sources URL refs from Renovate Bot #344

Open
OmarTawfik opened this issue Nov 14, 2022 · 0 comments
Open

Update sources URL refs from Renovate Bot #344

OmarTawfik opened this issue Nov 14, 2022 · 0 comments
Assignees

Comments

@OmarTawfik
Copy link
Contributor

OmarTawfik commented Nov 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants