Bug 2329142 (rust-x509-cert)

Summary: Review Request: rust-x509-cert - Pure Rust implementation of the X.509 PKI Certificate format from RFC 5280
Product: [Fedora] Fedora Reporter: Marc-Andre Lureau <marcandre.lureau>
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: All   
OS: Linux   
URL: https://crates.io/crates/x509-cert
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-28 06:26:22 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:
Attachments:
Description Flags
The .spec file difference from Copr build 8576974 to 8577408 none

Description Marc-Andre Lureau 2024-11-27 13:24:41 UTC
Spec URL: https://raw.githubusercontent.com/elmarco/ironrdp-fedora/refs/heads/master/rust-x509-cert/rust-x509-cert.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/elmarco/qemu-rdp/srpm-builds/08318714/rust-x509-cert-0.2.5-1.src.rpm
Description: Pure Rust implementation of the X.509 PKI Certificate format from RFC 5280
Fedora Account System Username: elmarco

Comment 1 Fedora Review Service 2024-11-27 13:39:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8318720
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2329142-rust-x509-cert/fedora-rawhide-x86_64/08318720-rust-x509-cert/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 2025-01-26 21:04:08 UTC
Looks like the links have expired? The SRPM link gives me an HTTP 404 error now.

Comment 3 Marc-Andre Lureau 2025-01-27 07:36:00 UTC
Spec URL: https://raw.githubusercontent.com/elmarco/ironrdp-fedora/refs/heads/master/rust-x509-cert/rust-x509-cert.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/elmarco/qemu-rdp/fedora-rawhide-x86_64/08576951-rust-x509-cert/rust-x509-cert-0.2.5-1.fc42.src.rpm
Description: Pure Rust implementation of the X.509 PKI Certificate format from RFC 5280
Fedora Account System Username: elmarco

Comment 4 Fedora Review Service 2025-01-27 07:50:39 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8576974
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2329142-rust-x509-cert/fedora-rawhide-x86_64/08576974-rust-x509-cert/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 5 Fabio Valentini 2025-01-27 11:18:56 UTC
Thanks, looks mostly good to me, with two small caveats:

- Can you add comments to the spec file for what you're patching?
  Something like this would be enough:

"""
# * drop unused sct feature / tls_codec dependency
# * bump rstest dev-dependency from 0.18 to 0.23
"""

- There's some amount of test data that aren't useful in the built package.
  You could exclude it by adding the following to the "%files devel" list:

"""
%exclude %{crate_instdir}/tests/examples/
"""

Both (and the Summary override) could be automated with a rust2rpm.toml config snippet:

"""
[package]
summary = "Pure Rust implementation of the X.509 PKI Certificate format from RFC 5280"
cargo-toml-patch-comments = [
    "drop unused sct feature / tls_codec dependency",
    "bump rstest dev-dependency from 0.18 to 0.23",
]
exclude-crate-files = [
    "tests/examples/",
]
"""

Comment 6 Marc-Andre Lureau 2025-01-27 11:32:30 UTC
Spec URL: https://raw.githubusercontent.com/elmarco/ironrdp-fedora/refs/heads/master/rust-x509-cert/rust-x509-cert.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/elmarco/qemu-rdp/srpm-builds/08577378/rust-x509-cert-0.2.5-1.src.rpm
Description: Pure Rust implementation of the X.509 PKI Certificate format from RFC 5280
Fedora Account System Username: elmarco

Comment 7 Fedora Review Service 2025-01-27 11:48:24 UTC
Created attachment 2073998 [details]
The .spec file difference from Copr build 8576974 to 8577408

Comment 8 Fedora Review Service 2025-01-27 11:48:26 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8577408
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2329142-rust-x509-cert/fedora-rawhide-x86_64/08577408-rust-x509-cert/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 9 Fabio Valentini 2025-01-27 21:41:33 UTC
Thanks, looks good to me!

===

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 files are 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 (*NOT* pre-release 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 10 Fedora Admin user for bugzilla script actions 2025-01-28 06:08:21 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-x509-cert

Comment 11 Fedora Update System 2025-01-28 06:23:34 UTC
FEDORA-2025-6b4029a319 (rust-x509-cert-0.2.5-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-6b4029a319

Comment 12 Fedora Update System 2025-01-28 06:26:22 UTC
FEDORA-2025-6b4029a319 (rust-x509-cert-0.2.5-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.