Bug 1990649 - Review Request: rust-linux_proc - Library to help reading the contents of /proc on linux
Summary: Review Request: rust-linux_proc - Library to help reading the contents of /pr...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
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: 1990930
TreeView+ depends on / blocked
 
Reported: 2021-08-05 20:27 UTC by Davide Cavalca
Modified: 2021-09-03 22:18 UTC (History)
2 users (show)

Fixed In Version: rust-linux_proc-0.1.1-1.fc36
Clone Of:
Environment:
Last Closed: 2021-09-03 22:18:23 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Davide Cavalca 2021-08-05 20:27:52 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/rust-linux_proc/rust-linux_proc.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/rust-linux_proc/rust-linux_proc-0.1.1-1.fc35.src.rpm

Description:
Library to help reading the contents of `/proc` on linux.

Fedora Account System Username: dcavalca

Comment 1 Fabio Valentini 2021-08-27 13:51:59 UTC
Side note:
If you skip building the examples, you could drop the quicly dependency entirely, since the only place it's used is the example code and not in the library itself.

Comment 2 Fabio Valentini 2021-09-03 15:31:19 UTC
Looking at quicly, the crate has not been updated since 2018, so I think it really would be better to just drop the example code from this package and not package abandoned software just so you can compile "useless" example code here.

Comment 4 Fabio Valentini 2021-09-03 16:12:56 UTC
Looks good with one exception: There's no license texts for both Apache-2.0 or MIT licenses.
For Apache-2.0, it's not a big problem, since there's only "the one version", but there's over 20 different "MIT License" variants.

Please open an issue with upstream that the license files are missing in both the upstream git repo, and in published crates (in fact, both Apache-2.0 and MIT licenses require that redistributed sources include license texts!). This would involve including LICENSE-APACHE & LICENSE-MIT files in the git repo, and adding "LICENSE-*" to the list of "include"d files in upstream's Cargo.toml.

Comment 5 Davide Cavalca 2021-09-03 16:26:43 UTC
Filed https://github.com/derekdreery/linux_proc/pull/2

Comment 6 Davide Cavalca 2021-09-03 16:49:19 UTC
Updated to address feedback.

Changelog:
- Backport https://github.com/derekdreery/linux_proc/pull/2 to clarify project license

Comment 7 Fabio Valentini 2021-09-03 20:15:28 UTC
Since the Apache 2.0 license is standardized and the MIT license text in the Pull Request matches what's used by other Rust crates under the MIT license, this looks good to me. Final review:

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 and is acceptable for Fedora
- license file is included with %license in %files (and changes submitted to upstream)
- package complies with Rust Packaging Guidelines

Package APPROVED.

Consider removing the markdown markup from the package's Summary (backticks `) and from this bug's title, as they aren't rendered anywhere in the RPM ecosystem.

Comment 8 Davide Cavalca 2021-09-03 21:16:07 UTC
Thanks!

$ fedpkg request-repo rust-linux_proc 1990649
https://pagure.io/releng/fedora-scm-requests/issue/36691

Comment 9 Gwyn Ciesla 2021-09-03 21:30:57 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-linux_proc


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