#1064487 hippotat - upcoming rust-nix update.

#1064487#5
Date:
2024-02-23 00:34:06 UTC
From:
To:
We are preparing an update of rust-nix to version 0.27, the new version has
been uploaded to experlmental.

The new version of nix has a couple of notable changes.

1. The introduction of "io safety". You can read a full description of
    io safety at https://rust-lang.github.io/rfcs/3128-io-safety.html
    but the gist is to treat raw file descriptors in a similar manner to
    pointers and references, with new types and traits.
2. No features are enabled by default, you must enable the features you
    require.

I was fairly easily able to adapt hippotat to the new version of
rust-nix, however unfortunately I was not able to easilly make the
code build with both the old and the new versions.

While I was working on this issue I ran into a couple of other
issues, so I dealt with those too.

1. The package's clean target was not functional, I added manual
    cleanup.
2. The packages cargo dependency on lazy-regex was at 2.2, but
    Debian now has 3.x. I relaxed the dependency.

A debdiff is attatched, if I get no response I will likely NMU this when the
new rust-nix is uploaded to unstable.

#1064487#10
Date:
2024-02-23 11:07:03 UTC
From:
To:
Peter Green writes ("Bug#1064487: hippotat - upcoming rust-nix update."):

Thank you for this work.

Ah well.  I do wish upstream would get on with `#[cfg(accessible)]`.

Thanks!

I will incorporate these changes, and that will be a new upstream
version.

Is there any reason I shouldn't upload this to unstable myself right
away?  It won't migrate immediately, obviously but I think that's OK.

One final thing.  Can you formally confirm that you're happy for me to
commit and distribute these changes - specifically, can you confirm
the statements in the Developer Certificate of Origin ?  (attached)

In a situtation like this where a contributor has provided a
portmanteau patch, I would normally split it myself and put the author
in the commits' "author" metadata and myself in the "committer", but I
could leave your name out of the git history if you prefer.

For reference, on you would be welcome to contribute via gitlab MR
instead of BTS and debdiff, but I understand why that isn't likely to
be so convenient when trying to update nix in Debian.

Regards,
Ian.

#1064487#15
Date:
2024-02-23 17:03:11 UTC
From:
To:
Peter Green writes ("Bug#1064487: hippotat - upcoming rust-nix update."):

I managed to make a thing that works with both.  I also relaxed quite
a few dependencies, off my own bat.  I'm going to release/upload it
shortly, which should unblock the nix update in sid.

There's a hunk or two of your debdiff that I would like to apply, but
I would still like that DCO signoff.  I'm cloning this bug for that.

Thanks,
Ian.

#1064487#24
Date:
2024-02-23 18:37:39 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
hippotat, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1064487@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ian Jackson <ijackson@chiark.greenend.org.uk> (supplier of updated hippotat package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 23 Feb 2024 16:56:41 +0000
Source: hippotat
Architecture: source
Version: 1.1.10
Distribution: unstable
Urgency: medium
Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
Changed-By: Ian Jackson <ijackson@chiark.greenend.org.uk>
Closes: 1064487
Changes:
 hippotat (1.1.10) unstable; urgency=medium
 .
   Dependencies and packaging:
   * Provide compatibility with nix 0.27.  (0.26 still supported.)
     Closes: #1064487.  [Report from Peter Green]
   * Relax many other dependencies to allow newer versions.
   * Declare MSRV of 1.63.
 .
   Testing:
   * Fix/improve the minimal-versions-* tests in CI.
 .
   Misc:
   * Suppress a (spurious) warning.
   * Minor updates to internal docs and CI organisation.
Checksums-Sha1:
 1619b0e7ff847e7943a63cb4b497ab9a3952c13b 3492 hippotat_1.1.10.dsc
 2bb648af3bfe1796616d36d008612875e07640ef 107776 hippotat_1.1.10.tar.gz
Checksums-Sha256:
 488d481fb500253824c49178b73ad60b8f915a5db3b939f0c2484f6899e8edd1 3492 hippotat_1.1.10.dsc
 f4237d83b4a84918e78b2aab88e044c2bf4247ceb1016b4c664c64b0ff9aabc4 107776 hippotat_1.1.10.tar.gz
Files:
 6010ff549fc5f803c70a997138c10424 3492 net optional hippotat_1.1.10.dsc
 919ca770214ece1b1d9b612fac555373 107776 net optional hippotat_1.1.10.tar.gz
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEVZrkbC1rbTJl58uh4+M5I0i1DTkFAmXY4QsACgkQ4+M5I0i1
DTmRtwf/cY9rQbUbKvY7uSZmMAUxHKI83tNnMDb4OgBegyYlQRshNsfw39vcLPPS
vUs3j2H+RU0hvsOlKCJHuB7/wqUbV1R1e1mKioOj64zYB8hh0Yma649/RBARcHO+
dmYFkqAe5W3LjYQ5GqqasnmUDeXFd93enSWNtCRX0gQFUcsQirrpGDwEQPCaCn1Z
cPdtLMdoFqMpbkSNnrJy9zgQk2kLZPl29r0R3Dj92V01GV6iowANi6UnXOe6dX29
O3wzP9hHZIK5i69GxpqDc4ss1XIrP4tmJzrqyIf3NdL2dhtP7HRfgLFe70Rv1wDT
LqCfrDLMlbMournrwXRQv8vpN9Ekhg==
=bpSo
-----END PGP SIGNATURE-----