https://bugzilla.redhat.com/show_bug.cgi?id=2259210
Bug ID: 2259210 Summary: Review Request: rust-cached_proc_macro Product: Fedora Version: rawhide OS: Linux Status: NEW Component: Package Review Severity: medium Assignee: nobody@fedoraproject.org Reporter: dmellado@redhat.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
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.r... Description: Generic cache implementations and simplified function memoization. Fedora Account System Username: dmellado
Reproducible: Always
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
Daniel Mellado dmellado@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Comment|0 |updated
--- Comment #0 has been edited ---
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.r... Description: Generic cache implementations and simplified function memoization. Fedora Account System Username: dmellado
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
Fedora Review Service fedora-review-bot@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://crates.io/crates/ca | |ched_proc_macro Keywords| |AutomationTriaged
--- Comment #1 from Fedora Review Service fedora-review-bot@fedoraproject.org --- Copr build: https://copr.fedorainfracloud.org/coprs/build/6921687 (succeeded)
Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-rev...
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.
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@fedoraproject.org |decathorpe@gmail.com CC| |decathorpe@gmail.com Flags| |fedora-review? Status|NEW |ASSIGNED
--- Comment #2 from Fabio Valentini decathorpe@gmail.com ---
# 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?
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
--- Comment #3 from Daniel Mellado dmellado@redhat.com --- 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!
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
--- Comment #4 from Daniel Mellado dmellado@redhat.com --- (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
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
--- Comment #5 from Daniel Mellado dmellado@redhat.com --- Fixed in the new release, I'll put another comment pointing to the new spec and srpm so the build gets kicked.
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
--- Comment #6 from Daniel Mellado dmellado@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
--- Comment #7 from Daniel Mellado dmellado@redhat.com --- 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.r... Description: Generic cache implementations and simplified function memoization. Fedora Account System Username: dmellado
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
--- Comment #8 from Fedora Review Service fedora-review-bot@fedoraproject.org --- Created attachment 2010200 --> https://bugzilla.redhat.com/attachment.cgi?id=2010200&action=edit The .spec file difference from Copr build 6921687 to 6946524
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
--- Comment #9 from Fedora Review Service fedora-review-bot@fedoraproject.org --- Copr build: https://copr.fedorainfracloud.org/coprs/build/6946524 (succeeded)
Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-rev...
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.
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
Daniel Mellado dmellado@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Review Request: |Review Request: |rust-cached_proc_macro |rust-cached_proc_macro - | |Generic cache | |implementations and | |simplified function | |memoization
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-review? |fedora-review+ Status|ASSIGNED |POST
--- Comment #10 from Fabio Valentini decathorpe@gmail.com --- 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)
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
--- Comment #11 from Fedora Admin user for bugzilla script actions fedora-admin-xmlrpc@fedoraproject.org --- The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-cached_proc_macro
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-39ca9a3152 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-39ca9a3152
https://bugzilla.redhat.com/show_bug.cgi?id=2259210
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |ERRATA Last Closed| |2024-01-30 10:43:15
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- 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.
package-review@lists.fedoraproject.org