Bug 2259210 - Review Request: rust-cached_proc_macro - Generic cache implementations and simplified function memoization
Summary: Review Request: rust-cached_proc_macro - Generic cache implementations and si...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/cached_proc_...
Whiteboard:
Depends On:
Blocks: 2259225
TreeView+ depends on / blocked
 
Reported: 2024-01-19 14:53 UTC by Daniel Mellado
Modified: 2024-01-30 10:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-01-30 10:43:15 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 6921687 to 6946524 (565 bytes, patch)
2024-01-24 12:26 UTC, Fedora Review Service
no flags Details | Diff

Description Daniel Mellado 2024-01-19 14:53:01 UTC
Spec URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro.spec
SRPM URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro-0.18.1-1.fc39.src.rpm
Description: Generic cache implementations and simplified function memoization.
Fedora Account System Username: dmellado

Comment 1 Fedora Review Service 2024-01-19 14:59:18 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6921687
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2259210-rust-cached_proc_macro/fedora-rawhide-x86_64/06921687-rust-cached_proc_macro/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-01-19 22:59:43 UTC
> # FIXME: no license files detected

This needs to be addressed in some way.

It looks like the upstream repository actually contains license files, but they are not linked into this subdirectory, so "cargo publish" will not include them. Both the Apache-2.0 and MIT licenses require that redistributed sources contain a copy of the actual license text, so this is a hard requirement for us.

Please report this to the upstream project and ask them to include license texts in all published crates.

Here's an example of a similar report that I filed a while ago:
https://github.com/Devolutions/picky-rs/issues/230

It is usually fixed easily by adding symbolic links:
https://github.com/djc/askama/pull/947

PS: I'm curious, what are you packaging this crate for?

Comment 3 Daniel Mellado 2024-01-22 08:00:18 UTC
Hi Fabio, thanks for the review. This comes as a dependency for sigstore (https://crates.io/crates/cached/reverse_dependencies), which comes as a dependency for bpfman as well. https://bugzilla.redhat.com/show_bug.cgi?id=2257948. I'll get to see if I can fix that upstream, should be pretty straightforward. Thanks!

Comment 4 Daniel Mellado 2024-01-22 08:29:38 UTC
(In reply to Fabio Valentini from comment #2)
> > # FIXME: no license files detected
> 
> This needs to be addressed in some way.
> 
> It looks like the upstream repository actually contains license files, but
> they are not linked into this subdirectory, so "cargo publish" will not
> include them. Both the Apache-2.0 and MIT licenses require that
> redistributed sources contain a copy of the actual license text, so this is
> a hard requirement for us.
> 
> Please report this to the upstream project and ask them to include license
> texts in all published crates.
> 
> Here's an example of a similar report that I filed a while ago:
> https://github.com/Devolutions/picky-rs/issues/230
> 
> It is usually fixed easily by adding symbolic links:
> https://github.com/djc/askama/pull/947
> 
Thanks! Opened upstream PR at https://github.com/jaemk/cached/pull/178

Comment 5 Daniel Mellado 2024-01-24 12:04:19 UTC
Fixed in the new release, I'll put another comment pointing to the new spec and srpm so the build gets kicked.

Comment 6 Daniel Mellado 2024-01-24 12:05:21 UTC
Spec URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro.spec
SRPM URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro-0.19.1-1.fc39.src
Description: Generic cache implementations and simplified function memoization.
Fedora Account System Username: dmellado

Comment 7 Daniel Mellado 2024-01-24 12:19:34 UTC
Spec URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro.spec
SRPM URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro-0.19.1-1.fc39.src.rpm
Description: Generic cache implementations and simplified function memoization.
Fedora Account System Username: dmellado

Comment 8 Fedora Review Service 2024-01-24 12:26:34 UTC
Created attachment 2010200 [details]
The .spec file difference from Copr build 6921687 to 6946524

Comment 9 Fedora Review Service 2024-01-24 12:26:36 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6946524
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2259210-rust-cached_proc_macro/fedora-rawhide-x86_64/06946524-rust-cached_proc_macro/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-01-25 20:45:42 UTC
Looks good to me - thank you!

===

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 (there are no tests)
- 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 11 Fedora Admin user for bugzilla script actions 2024-01-30 10:29:17 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-cached_proc_macro

Comment 12 Fedora Update System 2024-01-30 10:41:48 UTC
FEDORA-2024-39ca9a3152 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-39ca9a3152

Comment 13 Fedora Update System 2024-01-30 10:43:15 UTC
FEDORA-2024-39ca9a3152 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.