Bug 2069413 (rust-ciborium-io) - Review Request: rust-ciborium-io - Simplified Read/Write traits for no_std usage
Summary: Review Request: rust-ciborium-io - Simplified Read/Write traits for no_std usage
Keywords:
Status: CLOSED RAWHIDE
Alias: rust-ciborium-io
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: rust-ciborium-ll rust-ciborium
TreeView+ depends on / blocked
 
Reported: 2022-03-28 20:55 UTC by Peter Robinson
Modified: 2022-05-09 13:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-07 22:08:57 UTC
Type: Bug
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Peter Robinson 2022-03-28 20:55:56 UTC
SPEC: https://pbrobinson.fedorapeople.org/rust-ciborium-io.spec
SRPM: https://pbrobinson.fedorapeople.org/rust-ciborium-io-0.2.0-1.fc36.src.rpm

Description:
Simplified Read/Write traits for no_std usage

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=84851013

FAS: pbrobinson

Comment 1 Fabio Valentini 2022-04-30 10:11:06 UTC
This crate does not contain license files.
Both the MIT and Apache-2.0 licenses require redistributed sources to contain a copy of the license text.

It looks like dcavalca fixed this issue upstream, but there's no release that has this change yet:
https://github.com/enarx/ciborium/commit/b77f979c35a00f1fc65fb09bcf452e6ce0a90bcf

In the meantime, please include the LICENSE* files from the upstream project as separate sources in this package.

Comment 2 Fabio Valentini 2022-04-30 10:12:32 UTC
*edit: This crate is Apache-2.0-only, sorry about the confusion. Including the *one* LICENSE file is enough. :)

Comment 3 Peter Robinson 2022-05-06 14:59:14 UTC
They fixed the license issue upstream: https://github.com/enarx/ciborium/commit/b77f979c35a00f1fc65fb09bcf452e6ce0a90bcf

Comment 4 Peter Robinson 2022-05-06 15:01:04 UTC
I'll add the license as a source in the mean time

Comment 5 Peter Robinson 2022-05-06 15:15:17 UTC
Updated/fixed (not sure how review bumps work with autospec but they're updated on the original links)

Comment 6 Fabio Valentini 2022-05-06 17:10:19 UTC
> not sure how review bumps work with autospec but they're updated on the original links

That's fine with me.

> Source2:        https://github.com/enarx/ciborium/blob/main/ciborium/LICENSE

This is a link to an HTML page on GitHub you probably meant to use the URL to the raw file:
Source2:        https://github.com/enarx/ciborium/raw/b77f979/ciborium/LICENSE

Please fix this before importing the package (and you could use Source1 instead of Source2, since there is no Source1).

You can also drop this (now inaccurate) comment from the .spec file's %files section:
# FIXME: no license files detected

And please use "%license %{crate_instdir}/LICENSE" instead of "%license LICENSE".
This will result in the file being included only once in the built RPM files instead of twice.
That string also matches what will be generated once the published crate will contain the LICENSE file.

But these are all minor issues that you can fix when importing the package, otherwise LGTM.

===

Package was generated with rust2rpm, simplifying the review.

- package builds and installs without errors on rawhide
- test suite is run and all unit tests pass
- latest version of the crate is packaged
- license matches upstream specification (MIT) and is acceptable for Fedora
- license file is included with %license in %files
- package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import rust-sig tasks:

- add @rust-sig with "commit" access as package co-maintainer

- set bugzilla assignee overrides to @rust-sig (optional)

- set up package on release-monitoring.org:
  project: $crate
  homepage: https://crates.io/crates/$crate
  backend: crates.io
  version scheme: semantic
  version filter: alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

- track package in koschei for all built branches

Comment 7 Jens Petersen 2022-05-07 13:46:17 UTC
SCM repo created (cleaned up after backtrace manually)

Comment 8 Peter Robinson 2022-05-07 22:08:57 UTC
Small bits fixed, imported

Comment 9 Fabio Valentini 2022-05-08 14:30:12 UTC
You still imported the GitHub HTML page for the LICENSE instead of the raw plain text.
Please fix this.

Comment 10 Peter Robinson 2022-05-09 13:37:43 UTC
Fixed, not exactly sure what went wrong there, it wasn't intentional:
https://src.fedoraproject.org/rpms/rust-ciborium-io/c/6ba148a18bb52f99cf7657fe58fe6786f06c2449?branch=rawhide


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