Bug 2283683

Summary: Review Request: rust-sketches-ddsketch - Direct port of the Golang DDSketch implementation
Product: [Fedora] Fedora Reporter: Cristian Le <fedora>
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: ---Keywords: AutomationTriaged
Target Release: ---Flags: decathorpe: fedora-review+
Hardware: All   
OS: Linux   
URL: https://crates.io/crates/sketches-ddsketch
Whiteboard:
Fixed In Version: rust-sketches-ddsketch-0.3.0-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-07 19:50:28 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:
Bug Depends On:    
Bug Blocks: 2283678    

Description Cristian Le 2024-05-28 19:53:43 UTC
Spec URL: https://github.com/LecrisUT/rust-metris-rpmspec/raw/18bb026c3e9d3de4cfbc75fe92babea0b3506a81/rust-sketches-ddsketch/rust-sketches-ddsketch.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/packit/LecrisUT-rust-metris-rpmspec-main/fedora-rawhide-x86_64/07500442-rust-sketches-ddsketch/rust-sketches-ddsketch-0.2.2-1.fc41.src.rpm
Description: Dependency for `rust-metrics-util` -> `rust-metrics-exporter-prometheus` -> `atuin`
Fedora Account System Username: lecris

rust2rpm.toml
```toml
[[package.extra-patches]]
comments = [
    "Bump rand_distr dependency",
]
file = "rust-sketches-ddsketch-0.2.2-Bump_dependency.diff"
number = 10
```

Comment 1 Fabio Valentini 2024-07-04 21:23:41 UTC
Please use "rust2rpm -p" to make patches for Cargo.toml.
The "extra-patches" feature is not meant to be used for this (and *if* you use it for this purpose, the result might be slightly broken).

Comment 3 Fedora Review Service 2024-07-06 06:21:35 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7712638
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2283683-rust-sketches-ddsketch/fedora-rawhide-x86_64/07712638-rust-sketches-ddsketch/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 4 Fedora Review Service 2024-07-06 10:52:36 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7712862
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2283683-rust-sketches-ddsketch/fedora-rawhide-x86_64/07712862-rust-sketches-ddsketch/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 5 Fabio Valentini 2024-07-06 13:22:01 UTC
Thanks, looks good to me now!
Can you exclude the Makefile from the -devel package in some way? Either adding it to Cargo.toml as an "package.exclude" setting (possible to upstream) or adding an %exclude directive to the %files list of the "devel" subpackage (not upstreamable) would work.

===

Package was generated with rust2rpm, simplifying the review.

✅ 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
✅ 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 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 6 Cristian Le 2024-07-07 09:53:38 UTC
If it's all the same, I will go with the easy option of adding:

rust2rpm.toml
```
[scripts.prep]
post = [
    "# Remove unnecessary files",
    "rm Makefile",
]
```

Comment 7 Cristian Le 2024-07-07 10:06:27 UTC
Thank you for the review, Fabio

Comment 8 Fedora Admin user for bugzilla script actions 2024-07-07 10:06:38 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-sketches-ddsketch

Comment 9 Fedora Update System 2024-07-07 19:46:07 UTC
FEDORA-2024-0295022f3c (rust-sketches-ddsketch-0.3.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0295022f3c

Comment 10 Fedora Update System 2024-07-07 19:50:28 UTC
FEDORA-2024-0295022f3c (rust-sketches-ddsketch-0.3.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 11 Fedora Update System 2024-07-07 19:54:49 UTC
FEDORA-2024-c29a17681c (rust-sketches-ddsketch-0.3.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c29a17681c

Comment 12 Fedora Update System 2024-07-07 19:54:49 UTC
FEDORA-2024-f1e0de0a09 (rust-sketches-ddsketch-0.3.0-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f1e0de0a09

Comment 13 Fedora Update System 2024-07-08 01:22:32 UTC
FEDORA-2024-f1e0de0a09 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f1e0de0a09`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f1e0de0a09

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

Comment 14 Fedora Update System 2024-07-08 01:23:16 UTC
FEDORA-2024-c29a17681c has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c29a17681c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c29a17681c

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

Comment 15 Fedora Update System 2024-07-16 01:41:02 UTC
FEDORA-2024-f1e0de0a09 (rust-sketches-ddsketch-0.3.0-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2024-07-16 04:31:37 UTC
FEDORA-2024-c29a17681c (rust-sketches-ddsketch-0.3.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.