Bug 2124329 - Review Request: rust-cssparser - Rust implementation of CSS Syntax Level 3
Summary: Review Request: rust-cssparser - Rust implementation of CSS Syntax Level 3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
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:
Whiteboard:
Depends On: 2124317 2124326
Blocks: 2124365
TreeView+ depends on / blocked
 
Reported: 2022-09-05 17:39 UTC by Kalev Lember
Modified: 2022-10-04 10:40 UTC (History)
2 users (show)

Fixed In Version: rust-cssparser-0.28.1-4.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-04 10:40:05 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Kalev Lember 2022-09-05 17:39:20 UTC
Spec URL: https://kalev.fedorapeople.org/rust-cssparser.spec
SRPM URL: https://kalev.fedorapeople.org/rust-cssparser-0.28.1-4.fc38.src.rpm
Description: Rust implementation of CSS Syntax Level 3.
Fedora Account System Username: kalev

This is a re-review of a retired package, one that is needed for building librsvg2. My goal here is to switch librsvg2 to build against Fedora packaged crates instead of the vendored rust crates it's using now.

Note that this depends on two other re-reviews, rust-cssparser-macros and rust-dtoa-short. The package builds fine locally in mock against locally-built rust-cssparser-macros and rust-dtoa-short.

Also note that I'm only unretiring the package and I've deliberately left it at version 0.28.1 that the package was before retirement and haven't updated it to 0.29.6. The reason for this is that librsvg currently needs 0.28.x and it seems a bit weird to unretire this package because of librsvg, but include an incompatible version update to 0.29.6 and then immediately have to create a compat rust-cssparser0.28 package, which would mean that nothing in Fedora uses rust-cssparser again.

Comment 1 Fabio Valentini 2022-09-05 20:42:55 UTC
> The reason for this is that librsvg currently needs 0.28.x

Yeah this is completely fine.
We usually only update library-only crates to incompatible versions when something actually starts to depend on the new version, exactly because it would make no sense to create a compat package and then have the non-compat package be unused.

I'll review this package once the other dependencies are built in rawhide, if that's okay with you.
But if you're in a hurry, I can also do the review with locally built dependencies.

Comment 2 Kalev Lember 2022-09-06 07:39:20 UTC
I'm in no hurry at all. Thanks!

Comment 3 Kalev Lember 2022-09-09 09:30:53 UTC
OK, dependencies are all built in rawhide now.

Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=91827537

Comment 4 Fabio Valentini 2022-09-28 16:57:43 UTC
Sorry for the delay. The notification that this is ready got lost in my inbox.

===

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 (only doctests, as test fixtures for unit tests are not included in published crates)
- latest (possible) version of the crate is packaged (librsvg2 still requires v0.28.x)
- 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:

- add @rust-sig with "commit" access as package co-maintainer

- set bugzilla assignee overrides to @rust-sig (optional)

- 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

- track package in koschei for all built branches

Comment 5 Fabio Valentini 2022-09-28 16:58:38 UTC
Meh, I pressed "Submit" too fast.
Just skip the post-import tasks that aren't applicable because this is an un-retirement and not a new package :)

Comment 6 Kalev Lember 2022-09-28 17:03:29 UTC
Awesome, thank you!

Releng unretirement request: https://pagure.io/releng/issue/11056

Comment 7 Kalev Lember 2022-10-04 10:40:05 UTC
Package unretired and built.


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