Skip to content

Conversation

@cardoe
Copy link
Contributor

@cardoe cardoe commented Oct 25, 2024

Added a renovate bot rule to watch OpenStack Helm

@cardoe cardoe requested a review from a team October 25, 2024 21:32
"defaultRegistryUrlTemplate": "https://tarballs.opendev.org/openstack/openstack-helm/",
"format": "html",
"transformTemplates": [
"{\"releases\": $map($filter($.releases, function($v) {$match($v.version, /^{{packageName}}-/)}), function($v) { {\"version\": $match($v.version, /^{{packageName}}-([0-9.]+).tar.gz$/).groups[0]} } ) }"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"{\"releases\": $map($filter($.releases, function($v) {$match($v.version, /^{{packageName}}-/)}), function($v) { {\"version\": $match($v.version, /^{{packageName}}-([0-9.]+).tar.gz$/).groups[0]} } ) }"
"{\"releases\": $map($filter($.releases, function($v) {$match($v.version, /^{{packageName}}-/)}), function($v) { {\"version\": $match($v.version, /^{{packageName}}-([0-9.]+)\\.tar\\.gz$/).groups[0]} } ) }"

We may want to escape the literal dots here, but I bet the original version still works so nbd

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I dunno. I used the recommended website to craft the rule and then escaped it until the checker was happy. Not sure if it'll do the right thing yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should we do with the PR?

@cardoe cardoe added this pull request to the merge queue Oct 28, 2024
Merged via the queue into main with commit 0e933d1 Oct 28, 2024
13 checks passed
@cardoe cardoe deleted the renovate-update branch October 28, 2024 13:06
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

Successfully merging this pull request may close these issues.

3 participants