Bug 2259222

Summary: Review Request: rust-cached_proc_macro_types - Generic cache implementations and simplified function memoization
Product: [Fedora] Fedora Reporter: Daniel Mellado <dmellado>
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: Unspecified   
OS: Linux   
URL: https://crates.io/crates/cached_proc_macro_types
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-30 09:55: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:
Bug Depends On:    
Bug Blocks: 2259225    
Attachments:
Description Flags
The .spec file difference from Copr build 6922103 to 6946444 none

Description Daniel Mellado 2024-01-19 16:11:48 UTC
Spec URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro_types.spec
SRPM URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro_types-0.1.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 16:23:56 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6922103
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2259222-rust-cached_proc_macro_types/fedora-rawhide-x86_64/06922103-rust-cached_proc_macro_types/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 23:00:03 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

Comment 3 Daniel Mellado 2024-01-22 08:25:46 UTC
Proposed PR to upstream project: https://github.com/jaemk/cached/pull/178

Comment 4 Daniel Mellado 2024-01-24 12:03:18 UTC
Merged and fixed with the new release, I've updated the spec and SRPM, will post another comment just in case the buildsystem doesn't fetch it, thanks!

Comment 5 Daniel Mellado 2024-01-24 12:03:32 UTC
Spec URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro_types.spec
SRPM URL: https://dmellado.fedorapeople.org/rust-cached_proc_macro_types-0.1.1-1.fc39.src.rpm
Description: Generic cache implementations and simplified function memoization.
Fedora Account System Username: dmellado

Comment 6 Fedora Review Service 2024-01-24 12:10:51 UTC
Created attachment 2010163 [details]
The .spec file difference from Copr build 6922103 to 6946444

Comment 7 Fedora Review Service 2024-01-24 12:10:54 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6946444
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2259222-rust-cached_proc_macro_types/fedora-rawhide-x86_64/06946444-rust-cached_proc_macro_types/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 2024-01-25 20:39:21 UTC
Looks good to me now. 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
- latest version of the crate is packaged
- license matches upstream specification and is acceptable for Fedora
- licenses of statically linked dependencies are correctly taken into account
- 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 9 Fedora Admin user for bugzilla script actions 2024-01-30 09:29:47 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-cached_proc_macro_types

Comment 10 Fedora Update System 2024-01-30 09:52:12 UTC
FEDORA-2024-7f6149a3be has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-7f6149a3be

Comment 11 Fedora Update System 2024-01-30 09:55:15 UTC
FEDORA-2024-7f6149a3be has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.