Bug 2310717 - Review Request: rust-compose_spec - Types for (de)serializing from/to the compose-spec
Summary: Review Request: rust-compose_spec - Types for (de)serializing from/to the com...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: wojnilowicz
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/compose_spec
Whiteboard:
Depends On: 2310716
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-08 14:52 UTC by Fabio Valentini
Modified: 2024-10-13 21:08 UTC (History)
2 users (show)

Fixed In Version: rust-compose_spec-0.2.0-1.fc42
Clone Of:
Environment:
Last Closed: 2024-10-13 21:08:12 UTC
Type: ---
Embargoed:
lukasz.wojnilowicz: fedora-review+


Attachments (Terms of Use)

Description Fabio Valentini 2024-09-08 14:52:49 UTC
Spec URL: https://decathorpe.fedorapeople.org/rust-compose_spec.spec
SRPM URL: https://decathorpe.fedorapeople.org/rust-compose_spec-0.2.0-1.fc40.src.rpm

Description:
Types for (de)serializing from/to the compose-spec.

Fedora Account System Username: decathorpe

Comment 1 Fedora Review Service 2024-09-08 15:08:18 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7997584
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2310717-rust-compose_spec/fedora-rawhide-x86_64/07997584-rust-compose_spec/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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 wojnilowicz 2024-09-19 15:06:31 UTC
The package has two features, serde and derive. Your spec file produces only rust-compose_spec-devel though. Shouldn't it produce at least rust-compose_spec+derive-devel as well? Dependencies for that one are there.

Comment 3 Fabio Valentini 2024-09-20 19:46:55 UTC
> The package has two features, serde and derive.

Are you sure you looked at the correct thing?

The Cargo.toml in this crates has *no* [features] table at all, and the package *does* have a subpackage for the implicitly always defined "default" feature.

Comment 4 wojnilowicz 2024-09-21 09:12:52 UTC
(In reply to Fabio Valentini from comment #3)
> > The package has two features, serde and derive.
> 
> Are you sure you looked at the correct thing?

You're right. I forgot how to interpret those things. Sorry for that. It's not that this package offers features, but request only some features from its dependencies.

Speaking of that, it requires the serde feature from indexmap 2.2.3, but in Fedora there is the incompatible 2.5.0 version. Do you plan on creating rust-indexmap2.2?

Comment 5 Fabio Valentini 2024-09-21 11:34:05 UTC
It depends on indexmap ^2.2.3, which translates to >=2.2.3,<3 - which is compatible with 2.5.

Comment 6 wojnilowicz 2024-09-28 16:43:34 UTC
[fedora-review-service-build]

Comment 7 wojnilowicz 2024-09-30 07:22:17 UTC
[fedora-review-service-build]

Comment 8 Fabio Valentini 2024-10-03 12:13:46 UTC
Please don't wait for the review service to build. It looks like it doesn't like this ticket. Just run the checks locally.

Comment 9 wojnilowicz 2024-10-03 16:11:09 UTC
I did so, and found no issues.

===

Package was generated with rust2rpm (+ probably rust2rpm.toml not presented here), 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 (disabled with justification)
✅ 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)

===

BTW, if you have time and are willing to approve based only on the f39 and f40 possitive results, then please review https://bugzilla.redhat.com/show_bug.cgi?id=2315472

Comment 10 Fabio Valentini 2024-10-13 20:37:51 UTC
Thank you for the review!

Comment 11 Fedora Admin user for bugzilla script actions 2024-10-13 20:38:36 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-compose_spec

Comment 12 Fabio Valentini 2024-10-13 21:08:12 UTC
Imported and built:
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b9e3c1384b


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