Bug 2264482 - Review Request: rust-backoff - Retry operations with exponential backoff policy
Summary: Review Request: rust-backoff - Retry operations with exponential backoff policy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/backoff
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-15 22:46 UTC by Alessio
Modified: 2024-03-23 00:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-05 21:50:19 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 7021068 to 7027749 (1.24 KB, patch)
2024-02-17 02:49 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 7027749 to 7087969 (399 bytes, patch)
2024-02-28 22:03 UTC, Fedora Review Service
no flags Details | Diff

Description Alessio 2024-02-15 22:46:32 UTC
Spec URL: https://alciregi.fedorapeople.org/rustrpm/rust-backoff.spec
SRPM URL: https://alciregi.fedorapeople.org/rustrpm/rust-backoff-0.4.0-1.fc39.src.rpm
Description: backoff is small crate which allows you to retry operations according to backoff policies. It provides
Fedora Account System Username: alciregi

Successful koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=113560849

Comment 1 Fedora Review Service 2024-02-15 22:49:22 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7021068
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2264482-rust-backoff/fedora-rawhide-x86_64/07021068-rust-backoff/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 2024-02-16 18:55:59 UTC
The package builds, but not all built packages install:

Problem: conflicting requests
  - nothing provides (crate(getrandom/js) >= 0.2.0 with crate(getrandom/js) < 0.3.0~) needed by rust-backoff+wasm-bindgen-devel-0.4.0-1.fc41.noarch
  - nothing provides (crate(instant/wasm-bindgen) >= 0.1.0 with crate(instant/wasm-bindgen) < 0.2.0~) needed by rust-backoff+wasm-bindgen-devel-0.4.0-1.fc41.noarch

I recommend running local mock builds with "--postinstall" to catch this sort of errors.

You might need to patch Cargo.toml (with "rust2rpm -p") to remove this line:

> wasm-bindgen = ["instant/wasm-bindgen", "getrandom/js"]

This is for WebAssembly / WASM only, which is a target we don't support in package builds - so there are some missing dependencies for it.

Comment 4 Fedora Review Service 2024-02-17 02:49:17 UTC
Created attachment 2017282 [details]
The .spec file difference from Copr build 7021068 to 7027749

Comment 5 Fedora Review Service 2024-02-17 02:49:20 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7027749
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2264482-rust-backoff/fedora-rawhide-x86_64/07027749-rust-backoff/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 2024-02-28 20:31:08 UTC
Sorry for the delay here, the notifications your your update got lost in my inbox.

> # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
> ExcludeArch:    %{ix86}

Please don't do this for library packages. It creates unnecessary headaches.
You're free to exclude i686 for applications, but for libraries, keeping i686 for Rust crates is preferable for now.

Other than that, package looks OK.

Comment 8 Fedora Review Service 2024-02-28 22:03:48 UTC
Created attachment 2019342 [details]
The .spec file difference from Copr build 7027749 to 7087969

Comment 9 Fedora Review Service 2024-02-28 22:03:50 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7087969
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2264482-rust-backoff/fedora-rawhide-x86_64/07087969-rust-backoff/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 10 Fabio Valentini 2024-03-05 16:50:27 UTC
Thank you, looks good to me now.

===

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 (tests disabled with explanation)
- latest version of the crate is packaged
- license matches upstream specification and is acceptable for Fedora
- license files are 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 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 11 Fedora Admin user for bugzilla script actions 2024-03-05 21:27:43 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-backoff

Comment 12 Fedora Update System 2024-03-05 21:41:39 UTC
FEDORA-2024-f67698a162 (rust-backoff-0.4.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f67698a162

Comment 13 Fedora Update System 2024-03-05 21:50:19 UTC
FEDORA-2024-f67698a162 (rust-backoff-0.4.0-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 14 Fedora Update System 2024-03-05 21:54:38 UTC
FEDORA-2024-1ee6423f7c (rust-backoff-0.4.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-1ee6423f7c

Comment 15 Fedora Update System 2024-03-06 02:11:41 UTC
FEDORA-2024-1ee6423f7c 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-1ee6423f7c \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-1ee6423f7c

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

Comment 16 Fedora Update System 2024-03-23 00:29:06 UTC
FEDORA-2024-1ee6423f7c (rust-backoff-0.4.0-1.fc40) has been pushed to the Fedora 40 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.