Quoting Blair Noctis (2024-10-12 17:34:58)
> On 07/10/2024 22:00, Blair Noctis wrote:
> > On 06/10/2024 02:33, Jonas Smedegaard wrote:
> >> Quoting Blair Noctis (2024-10-05 17:09:43)
> >>> As a transition for rust-base64 0.21 to 0.22 is underway, it might be a 
> >>> good
> >>> time to update axum, which is affected and needs adaption anyway.
> > (...)
> >>> Please kindly consider an update. Thanks.
> >>
> >> I seem to recall attempting such upgrade a while ago, and giving up due
> >> to intimate ties with http v0.2 -> v1.
> > 
> > Whoops, then I guess better just throw off the http stack transition.
> 
> Well, not only. rustls & friends also need an update, which is a non-trivial
> transition by itself, needing some careful planning and work. Or we could
> downgrade and wait until the day comes..

As I see it, updating rust-rustls is only non-trivial if done
all-at-once, which I find a very bad approach (as I do for base64 as
well, in case anyone cares for my opinion).

What I expect to be trivial is to introduce a newer branch that other
packages can then begin depending on at their own pace, and then when
sensible drop the older branch.

I have not gotten around to doing that yet, though.  Until I find the
time for that, like the many not-updated-to-newest-shiniest-release
crate in Debian, other packages need to deal with older code through
patching.

For inspiration, here are some patches I maintain for downgrading from
rustls v0.23 to v0.21:

https://salsa.debian.org/debian/rust-imap-client/-/blob/debian/latest/debian/patches/2001_rustls.patch
https://salsa.debian.org/debian/rust-oxhttp/-/blob/debian/latest/debian/patches/2002_rustls.patch
https://salsa.debian.org/debian/rust-ureq/-/blob/debian/latest/debian/patches/2001_rustls.patch

As noted in the DEP3 headers of those patches, they often derive from a
reversal of upstream git commits, and I typically bootstrap a patch with
`git log -p $NEW..$OLD`.

Hope that helps.

If you want to discuss rustls further, then please file a bugreport
against rust-rustls.  I am happy to repost this comment to such
bugreport that others in (and outside) Debian can easily and intuitively
locate and participate with as well.  I am not, however, in the mood for
discussing it at some internal Rust team notes tied to some Rust team:
The issue is not internal to the Rust team, it relates to Debian.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to