update packages to git2 v0.21.0 to address two RUSTSEC advisories #30
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rust/backlog#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are two recently published RUSTSEC advisories for the
git2crate:Both are only fixed in versions
>=0.21.0.I'm working on updating
rust-git2to version 0.21.0, but due to the large number of dependent packages, porting everything at the same time is not something I can commit to - so I'm adding arust-git2_0.20compat package temporarily. I hope that it will be short-lived and that packages can be ported to v0.21 soon.The git2 crate usually has very few API changes between major versions, so I hope that this is also the case for v0.20 -> v0.21 (but I have not checked yet).
Affected packages:
I assume there are three groups of packages that will each need to be handled together:
The usage in
tokeiis trival, just a call togit2::Repository::init()in the tests, so we decided in the past to remove the SemVer upper bound on the dev-dependency because it was almost guaranteed never to break:rust-tokei : crate(git2) >= 0.19.0. We shouldn’t need to touch this package.