Bug 2237106 (rust-yaml-rust-terzi)

Summary: Review Request: rust-yaml-rust-terzi - Missing YAML 1.2 parser for rust
Product: [Fedora] Fedora Reporter: Robert-André Mauchin 🐧 <eclipseo>
Component: Package ReviewAssignee: Fabio Valentini <decathorpe>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, package-review
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-05 13:15:52 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:

Description Robert-André Mauchin 🐧 2023-09-03 15:41:37 UTC
Spec URL: https://eclipseo.fedorapeople.org/for-review/rust-yaml-rust-terzi.spec
SRPM URL: https://eclipseo.fedorapeople.org/for-review/rust-yaml-rust-terzi-0.4.6-1.fc38.src.rpm

Description:
The missing YAML 1.2 parser for rust.

Fedora Account System Username: eclipseo

To build it against the dependencies, use the following COPR in your rawhide mock.cfg:

[copr:copr.fedorainfracloud.org:eclipseo:espanso]
name=Copr repo for espanso owned by eclipseo
baseurl=https://download.copr.fedorainfracloud.org/results/eclipseo/espanso/fedora-rawhide-/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/eclipseo/espanso/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

Comment 1 Fabio Valentini 2023-09-04 10:34:12 UTC
Is this also published on crates.io? Otherwise you can't package it separately as a Rust crate, since we only allow libraries from crates.io.

Comment 2 Fabio Valentini 2023-09-05 13:15:52 UTC
Looks like this is an unpublished fork of the old yaml-rust crate, which is not published on crates.io, so you can't package this as a separate library under the "rust-*" namespace: https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_package_sources

If something depends on this fork (likely via cargo's support for git references?), then you need to bundle it there.