Bug 2189985

Summary: Review Request: rust-erdtree - Cross-platform multi-threaded filesystem and disk usage analysis tool
Product: [Fedora] Fedora Reporter: blinxen <h-k-81>
Component: Package ReviewAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: decathorpe, package-review
Target Milestone: ---Flags: decathorpe: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://crates.io/crates/erdtree
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-10 01:40:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The .spec file difference from Copr build 5852552 to 5862465 none

Description blinxen 2023-04-26 16:56:49 UTC
Spec URL: https://blinxen.fedorapeople.org/rust-erdtree/rust-erdtree.spec
SRPM URL: https://blinxen.fedorapeople.org/rust-erdtree/rust-erdtree-2.0.0-1.fc39.src.rpm
Description:
Erdtree (erd) is a cross-platform multi-threaded filesystem and disk
usage analysis tool that respects gitignore and hidden file rules.
Fedora Account System Username: blinxen

Comment 1 Fedora Review Service 2023-04-26 17:09:51 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5852552
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2189985-rust-erdtree/fedora-rawhide-x86_64/05852552-rust-erdtree/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Fabio Valentini 2023-04-30 11:11:39 UTC
The license information from the %cargo_license_summary should be in the "-n %{crate}" subpackage, with a separate License tag.

For Rust packages, the License tag of the main package usually reflects the license of the crate. It doesn't make much of a difference for this package (since it only provides a binary but no library interface), but it will make it easier to re-apply these changes for version updates (and it's also in line with other Rust packages).

You also shouldn't "simplify" the license that much anymore ... according to latest guidance from Red Hat legal, these licenses:

# (MIT OR Apache-2.0) AND Unicode-DFS-2016
# Apache-2.0 OR MIT
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# MIT
# MIT OR Apache-2.0
# Unlicense OR MIT

Result in this license tag:

License: MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)

(i.e. the only thing you can de-duplicate is reordered (A OR B) / (B OR A), and I tend to sort the rest of the AND clauses alphabetically for reproducibility)

Comment 3 blinxen 2023-04-30 16:13:07 UTC
[fedora-review-service-build]

I updated the SPEC + SRPM file and uploaded it to same place.

> For Rust packages, the License tag of the main package usually reflects the license of the crate.

Could you put this in your list of stuff that you want to add to the Rust Packaging Guidelines :D?

> You also shouldn't "simplify" the license that much anymore ... according to latest guidance from Red Hat legal, these licenses:

Thanks for the info! Do you have the relevant documentation at hand?

Comment 4 Fedora Review Service 2023-04-30 16:24:39 UTC
Created attachment 1961216 [details]
The .spec file difference from Copr build 5852552 to 5862465

Comment 5 Fedora Review Service 2023-04-30 16:24:41 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5862465
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2189985-rust-erdtree/fedora-rawhide-x86_64/05862465-rust-erdtree/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 6 Fabio Valentini 2023-04-30 20:59:24 UTC
(In reply to blinxen from comment #3)
> [fedora-review-service-build]
> 
> I updated the SPEC + SRPM file and uploaded it to same place.

Thanks, I will take another look.

> > For Rust packages, the License tag of the main package usually reflects the license of the crate.
> 
> Could you put this in your list of stuff that you want to add to the Rust
> Packaging Guidelines :D?

Well, this isn't part of the Rust Packaging Guidelines - at least not any more. It was actually there, but was moved to the Legal docs:
https://docs.fedoraproject.org/en-US/legal/license-field/#_rust_packages

> > You also shouldn't "simplify" the license that much anymore ... according to latest guidance from Red Hat legal, these licenses:
> 
> Thanks for the info! Do you have the relevant documentation at hand?

Basically here:
https://docs.fedoraproject.org/en-US/legal/license-field/#_no_effective_license_analysis
and these sections for when to use SPDX AND and OR:
https://docs.fedoraproject.org/en-US/legal/license-field/#_combined_disjunctive_and_conjunctive_license_expressions

Comment 7 Fedora Review Service 2023-04-30 21:11:10 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5862687
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2189985-rust-erdtree/fedora-rawhide-x86_64/05862687-rust-erdtree/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 8 Fabio Valentini 2023-04-30 21:59:30 UTC
Looks good to me, thanks!

===

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 tag for binary subpackage present and accurate
- 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 9 Fedora Admin user for bugzilla script actions 2023-05-01 08:36:12 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-erdtree

Comment 10 Fedora Update System 2023-05-01 10:14:08 UTC
FEDORA-2023-b5f0169087 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b5f0169087

Comment 11 Fedora Update System 2023-05-02 02:11:46 UTC
FEDORA-2023-b5f0169087 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b5f0169087 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b5f0169087

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2023-05-10 01:40:15 UTC
FEDORA-2023-b5f0169087 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.