How to configure updates for APK packages? #7979
-
I've got a Dockerfile that looks like this: RUN apk add --no-cache \
bash=5.0.17-r0 \
curl=7.69.1-r1 \
openjdk11-jre-headless=11.0.9_p11-r0 \
python3=3.8.5-r0 I'm trying to set up a regex manager using Repology to keep those packages up to date automatically. I've got the following configuration in my {
"regexManagers": [
{
"fileMatch": ["(^|/)Dockerfile$"],
"matchStrings": [
"(?:RUN apk add --no-cache\\s+|\\\\\\s+)(?<depName>[a-zA-Z0-9-]+)=(?<currentValue>[a-zA-Z0-9-._]+)"
],
"versioningTemplate": "loose",
"datasourceTemplate": "repology",
"lookupNameTemplate": "alpine_3_12/{{depName}}"
}
]
} This correctly picks up all of the packages (I can see them in the debug logs). However, some of them ( Digging through the code, this seems to be because the Repology datasource assumes the Is there some way to configure the project Renovate uses when querying Repology? Alternatively, is there a way for Renovate to search by package name rather than project name? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure that setting Maybe in addition to the current |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It seems I broke this with #7833 because I assumed that I will create a PR restoring the old behaviour in case |
Beta Was this translation helpful? Give feedback.
-
@rarkins should we move this to an issue and track as bug? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately it's not possible to move discussions back to issues so I have created #7988 to track the bug. @danez if you can add a comment there then I will be allowed to assign it to you |
Beta Was this translation helpful? Give feedback.
Unfortunately it's not possible to move discussions back to issues so I have created #7988 to track the bug. @danez if you can add a comment there then I will be allowed to assign it to you