Bug 2328493 - Review Request: rust-writeable - More efficient alternative to fmt::Display
Summary: Review Request: rust-writeable - More efficient alternative to fmt::Display
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/writeable
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-23 18:45 UTC by Ben Beasley
Modified: 2024-12-20 06:54 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-10 20:40:45 UTC
Type: Bug
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
Configuration file for rust2rpm (463 bytes, text/plain)
2024-11-23 18:45 UTC, Ben Beasley
no flags Details
Updated configuration file for rust2rpm (500 bytes, text/plain)
2024-11-28 01:02 UTC, Ben Beasley
no flags Details
The .spec file difference from Copr build 8306808 to 8320607 (621 bytes, patch)
2024-11-28 01:05 UTC, Fedora Review Service
no flags Details | Diff

Description Ben Beasley 2024-11-23 18:45:48 UTC
Created attachment 2059523 [details]
Configuration file for rust2rpm

Spec URL: https://music.fedorapeople.org/rust-writeable.spec
SRPM URL: https://music.fedorapeople.org/rust-writeable-0.6.0-1.fc41.src.rpm
Description: A more efficient alternative to fmt::Display.
Fedora Account System Username: music

This is part of the icu4x stack; it is a direct dependency for rust-icu_locid.

Comment 1 Fedora Review Service 2024-11-23 18:49:29 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8306808
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2328493-rust-writeable/fedora-rawhide-x86_64/08306808-rust-writeable/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 Fedora Review Service 2024-11-23 18:51:32 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8306807
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2328493-rust-writeable/fedora-rawhide-x86_64/08306807-rust-writeable/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 3 Ben Beasley 2024-11-28 01:01:45 UTC
I should have submitted 0.5.5 instead. Version 0.6.0 is associated with the icu4x 2.0.0 beta stack. We need to package a version of writeable that is compatible with the current stable releases of the icu_* crates.

New Spec URL: https://music.fedorapeople.org/20241127/rust-writeable.spec
New SRPM URL: https://music.fedorapeople.org/20241127/rust-writeable-0.5.5-1.fc41.src.rpm

Comment 4 Ben Beasley 2024-11-28 01:02:05 UTC
Created attachment 2060176 [details]
Updated configuration file for rust2rpm

Comment 5 Fedora Review Service 2024-11-28 01:05:54 UTC
Created attachment 2060177 [details]
The .spec file difference from Copr build 8306808 to 8320607

Comment 6 Fedora Review Service 2024-11-28 01:05:56 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8320607
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2328493-rust-writeable/fedora-rawhide-x86_64/08320607-rust-writeable/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 7 Fabio Valentini 2024-12-08 15:09:43 UTC
Package was generated with rust2rpm, simplifying the review.

I am a bit confused why the example code uses a crate that is obviously targeted at benchmarks, but oh well.

This package is affected by tools confusing the Unicode-3.0 license for Unicode-DFS-2016. The license text is for Unicode-3.0, matching the crate metadata. (I need to check whether updating the SPDX license data bundled in askalono would fix this.)

✅ package contains only permissible content
✅ package builds and installs without errors on rawhide
✅ test suite is run and all unit tests pass
🫤 latest version of the crate is packaged (0.5 needed, 0.6 update not possible yet)
✅ license matches upstream specification 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:

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

- add @rust-sig with "commit" access as package co-maintainer
  (should happen automatically)

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

- track package in koschei for all built branches
  (should happen automatically once rust-sig is co-maintainer)

Comment 8 Ben Beasley 2024-12-10 15:09:29 UTC
Thank you for the review!

(In reply to Fabio Valentini from comment #7)
> I am a bit confused why the example code uses a crate that is obviously
> targeted at benchmarks, but oh well.

Examples using icu_benchmark_macros is indeed an odd choice, especially because that crate is supposed to be for internal use, and nothing documents *why* they are there. This habit appears to be consistent across examples in many icu4x crates.

I guess one alternative approach would be to sed-patch the examples to remove or comment any lines with "icu_benchmark_macros::". That would probably work, and might be slightly easier than removing examples/ (and later, patching Cargo.toml to remove references to the examples).

> This package is affected by tools confusing the Unicode-3.0 license for
> Unicode-DFS-2016. The license text is for Unicode-3.0, matching the crate
> metadata. (I need to check whether updating the SPDX license data bundled in
> askalono would fix this.)

👍

https://release-monitoring.org/project/375844/

Comment 9 Fedora Admin user for bugzilla script actions 2024-12-10 16:42:09 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-writeable

Comment 10 Fedora Update System 2024-12-10 20:37:50 UTC
FEDORA-2024-e5a862e751 (rust-writeable-0.5.5-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e5a862e751

Comment 11 Fedora Update System 2024-12-10 20:40:45 UTC
FEDORA-2024-e5a862e751 (rust-writeable-0.5.5-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2024-12-10 21:39:40 UTC
FEDORA-2024-6e97b9288a (rust-icu_collections-1.5.0-1.fc41 and rust-writeable-0.5.5-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e97b9288a

Comment 13 Fedora Update System 2024-12-10 23:56:22 UTC
FEDORA-2024-b6caf658a2 (rust-icu_collections-1.5.0-1.fc40 and rust-writeable-0.5.5-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b6caf658a2

Comment 14 Fedora Update System 2024-12-11 01:43:01 UTC
FEDORA-2024-6e97b9288a has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6e97b9288a \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e97b9288a

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

Comment 15 Fedora Update System 2024-12-11 01:48:43 UTC
FEDORA-2024-b6caf658a2 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b6caf658a2 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b6caf658a2

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

Comment 16 Fedora Update System 2024-12-11 16:25:38 UTC
FEDORA-EPEL-2024-d4da7c69d0 (rust-icu_collections-1.5.0-1.el9 and rust-writeable-0.5.5-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-d4da7c69d0

Comment 17 Fedora Update System 2024-12-11 19:46:38 UTC
FEDORA-EPEL-2024-d2640ac5c0 (rust-displaydoc-0.2.5-3.el10_0, rust-icu_collections-1.5.0-1.el10_0, and 1 more) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-d2640ac5c0

Comment 18 Fedora Update System 2024-12-12 02:45:00 UTC
FEDORA-EPEL-2024-d4da7c69d0 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-d4da7c69d0

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

Comment 19 Fedora Update System 2024-12-12 02:52:02 UTC
FEDORA-EPEL-2024-d2640ac5c0 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-d2640ac5c0

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

Comment 20 Fedora Update System 2024-12-19 04:01:20 UTC
FEDORA-2024-b6caf658a2 (rust-icu_collections-1.5.0-1.fc40 and rust-writeable-0.5.5-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2024-12-19 04:08:04 UTC
FEDORA-2024-6e97b9288a (rust-icu_collections-1.5.0-1.fc41 and rust-writeable-0.5.5-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2024-12-20 06:21:56 UTC
FEDORA-EPEL-2024-d4da7c69d0 (rust-icu_collections-1.5.0-1.el9 and rust-writeable-0.5.5-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2024-12-20 06:54:48 UTC
FEDORA-EPEL-2024-d2640ac5c0 (rust-displaydoc-0.2.5-3.el10_0, rust-icu_collections-1.5.0-1.el10_0, and 1 more) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.


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