Bug 2329142 (rust-x509-cert) - Review Request: rust-x509-cert - Pure Rust implementation of the X.509 PKI Certificate format from RFC 5280
Summary: Review Request: rust-x509-cert - Pure Rust implementation of the X.509 PKI Ce...
Keywords:
Status: CLOSED ERRATA
Alias: rust-x509-cert
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/x509-cert
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-27 13:24 UTC by Marc-Andre Lureau
Modified: 2025-02-03 20:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-28 06:26:22 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 8576974 to 8577408 (691 bytes, patch)
2025-01-27 11:48 UTC, Fedora Review Service
no flags Details | Diff

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.


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