Bug 2290575 - Review Request: rust-serde_default - Generate a Default impl using serde attributes
Summary: Review Request: rust-serde_default - Generate a Default impl using serde attr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/serde_default
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-05 15:34 UTC by wojnilowicz
Modified: 2024-07-07 12:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-07 08:35:28 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description wojnilowicz 2024-06-05 15:34:45 UTC
Spec URL: https://wojnilowicz.fedorapeople.org/rust-serde_default.spec
SRPM URL: https://wojnilowicz.fedorapeople.org/rust-serde_default-0.1.0-1.fc39.src.rpm

Description:
Generate a Default impl using serde attributes.

Fedora Account System Username: wojnilowicz

I plan on packaging https://github.com/2e3s/awatcher which is a watcher to not yet packaged https://github.com/ActivityWatch/aw-server-rust and the serde_default package is in its requirements chain. The chain is as follows: awatcher->serde_default.

Comment 1 Fedora Review Service 2024-06-05 15:54:15 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7532832
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2290575-rust-serde_default/fedora-rawhide-x86_64/07532832-rust-serde_default/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-07-05 13:33:32 UTC
This package has pretty outdated dependencies. Could you try to work with upstream to port this crate to syn v2 and darling v0.20?

===

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 3 Fedora Admin user for bugzilla script actions 2024-07-07 08:21:39 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-serde_default

Comment 4 Fedora Update System 2024-07-07 08:31:43 UTC
FEDORA-2024-85cf041ba8 (rust-serde_default-0.1.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-85cf041ba8

Comment 5 Fedora Update System 2024-07-07 08:35:28 UTC
FEDORA-2024-85cf041ba8 (rust-serde_default-0.1.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 6 wojnilowicz 2024-07-07 08:39:29 UTC
Thank you for the review!

Regarding

(In reply to Fabio Valentini from comment #2)
> This package has pretty outdated dependencies. Could you try to work with
> upstream to port this crate to syn v2 and darling v0.20?

I could try to look into this. I'm not a rust developer though, so I guess I'll at least notify them.

Comment 7 wojnilowicz 2024-07-07 11:08:56 UTC
Upstream ported the crated themselves to newer versions as can be seen at https://github.com/TedDriggs/serde_default/blob/master/Cargo.toml#L14
It seems that they haven't tagged a new version yet.

Comment 8 Fabio Valentini 2024-07-07 12:33:19 UTC
(In reply to wojnilowicz from comment #7)
> Upstream ported the crated themselves to newer versions as can be seen at
> https://github.com/TedDriggs/serde_default/blob/master/Cargo.toml#L14
> It seems that they haven't tagged a new version yet.

Ah, great! So at least this problem will go away in the future as soon as there's a new release that we can package. Thanks for checking!


Note You need to log in before you can comment on or make changes to this bug.