Bug 1783069 - rust-libgit2-sys-0.10.0 is available
Summary: rust-libgit2-sys-0.10.0 is available
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-libgit2-sys
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Raits
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-12 23:22 UTC by Upstream Release Monitoring
Modified: 2019-12-26 06:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-12-26 06:08:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Upstream Release Monitoring 2019-12-12 23:22:04 UTC
Latest upstream release: 0.10.0
Current version/release in rawhide: 0.9.1-1.fc32
URL: https://crates.io/crates/libgit2-sys

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/16572/

Comment 1 Josh Stone 2019-12-13 00:25:24 UTC
Beware, this is probably not compatible with our system libgit2.

https://github.com/rust-lang/git2-rs/pull/503
> This updates the libgit2 submodule to latest master.
>
> As several public struct members as well as some functions' parameters/return values have changed fundamental types (e.g from git_off_t which is an int64_t to git_object_size_t which is an uint64_t) I bumped the minor versions of both libgit2-sys and git2-rs (meaning it's equivalent to a major version bump for 0.x versions). As I'm not familiar with the version increment policy, let me know if that's wrong.

In particular, here's libgit2-sys/lib.rs that matters for FFI ABI:
https://github.com/rust-lang/git2-rs/pull/503/files#diff-bc9f5e23745614c633f0d03c71fe327c

The sign change from i64 to u64 shouldn't actually matter for system lib compatibility, as long as nothing was actually using negative values. The added fields in git_cert_hostkey and git_diff_file are more of a problem -- could cause out-of-bounds memory access if that doesn't match.


Note You need to log in before you can comment on or make changes to this bug.