Feature request: xz support for deb datasource #33086
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.github, 39.60.0 Please tell us more about your question or problemI use the deb datasource, which currently only supports .gz compressed files. This repo though only has .xz files: https://deb.debian.org/debian-security/dists/bookworm-security/main/binary-amd64/ in comparison to https://deb.debian.org/debian/dists/bookworm/main/binary-amd64/ Edit: same with the -updates repo. This is especially an issue for updates that are security relevant, e.g.
Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 7 replies
-
Willing to try to provide a PR. Ideas:
note Packages.xz is a valid option, compare: https://wiki.debian.org/DebianRepository/Format#Compression_of_indices |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
Some update about the severity. If you want to use Debian 12 (bookworm). .gz is hardcoded :/ main packages repos still have .gz However security updates only offer xz Debian 11 still seems to work on gz |
Beta Was this translation helpful? Give feedback.
-
Hi there, This Discussion has been flagged previously as needing a minimal reproduction, but one does not yet exist. This is a reminder that the reproduction is still needed in order to progress to next steps. If you have provided a minimal reproduction which satisfies our definitions above, but it went unnoticed, please reply to this message to help us find it. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
My use case that block me with the update of tzdata debian package How are you running Renovate?Renovate app with Github Please tell us more about your question or problemI would use the deb datasource to update the tzdata package in the python image. The deb package is pinned in the dockerfile, so I need renovate to warn me about the update Dockerfile
renovate.json
the https://deb.debian.org/debian/dists/bookworm-updates/main/binary-amd64/Packages.xz Logslog snippet of renovate app
|
Beta Was this translation helpful? Give feedback.
-
Is there any update here? Would like to have this feature as well. I am also willing to provide a PR. Also according to the debian wiki page, supporting xz and bzip2 compression is mandatory, see https://wiki.debian.org/DebianRepository/Format#line-58. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
I am facing this issue as well, the deb source I wish to use doesn't have either a gz or xz compressed Package file. |
Beta Was this translation helpful? Give feedback.
This is the PR: #35865