On Tue, Aug 9, 2022 at 4:16 PM Orion Poplawski <orion(a)nwra.com> wrote:
On 8/9/22 02:41, Fabio Valentini wrote:
> You can use this bash script to check for impact when pushing breaking versions:
>
https://github.com/decathorpe/miscripts/blob/master/cratedeps
Thanks. Is this script mentioned in the Fedora docs anywhere? Could be
useful.
It's not yet, but I can suggest adding it to the Rust Packaging Guidelines
(or to the package that contains /usr/bin/rust2rpm?).
Thanks for the info. Other updates I'm looking at:
* clamav needs image 0.24 (currently at 0.23). Depending on it appears
to be:
rust-notify-rust
rust-palette
rust-plotters
rust-qrcode
rust-rav1e
rust-smithay-client
rust-winit
zola
OK, clamav seems to be the first crate we have that requires image
v0.23. And the API changes are pretty big, so we'll probably need a
compat package for v0.23.
Definitely a number of changes mentioned in
https://github.com/image-rs/image/blob/master/CHANGES.md
* image 0.24 needs:
rust-exr
rust-jpeg-decoder 0.2.1
rust-tiff 0.7.1
So we will probably also need compat packages for jpeg-decoder v0.1
and tiff v0.6 until we can drop image v0.23.
* exr needs:
deflate 1.0
some other new packages I've submitted for review plus resurrecting flume
I'm building the update for miniz_oxide right now, which also includes
deflate 1.0.0 and the png update that updated deflate from v0.9 to v1.
* deflate dependents:
png
* tiff depependents:
image
* jpeg-decoder dependents:
image
tiff
Any suggestions for how to tackle this? At least most of the deps seem
related. But I'm guessing that adding a compat package for image would
require adding compat packages for crates it depends on?
One step at a time:
1. I'm building updates for miniz_oxide, flate2, deflate, png, etc. right now.
2. tiff v0.6 -> v0.7 update + addition of tiff v0.6 compat package
3. jpeg-decoder v0.1 -> v0.2 update + addition of jpeg-decoder v0.1
compat package
4. image v0.23 -> v0.24 update + addition of image v0.23 compat package
Step 1 is already happening in koji as we speak.
Steps 2 and 3 are independent of 1 and each other, so I could start
working on that ~tomorrow.
Step 4 depends on 1,2,3, so has to happen last.
Fabio