Bug 2091637

Summary: Review request: rust-validator - common validation functions (email, url, length, ...)
Product: [Fedora] Fedora Reporter: JB Trystram <jtrystra>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, package-review, zbyszek
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: 2022-10-26 08:41:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description JB Trystram 2022-05-30 14:34:47 UTC
Review request for rust-validator : 

Rust validator is a library for common validation functions (email, url, length, ...) and trait - to be used with `validator_derive`.}

I am packaging this crate because i would like to package the openid crate and validator is a dependency.

Fedora username : jbtrystram

spec file : https://gitlab.com/jbtrystram/fedora-review-requests/-/raw/main/rust-validator/rust-validator.spec

src.rpm file : https://gitlab.com/jbtrystram/fedora-review-requests/-/raw/main/rust-validator/rust-validator-0.15.0-1.fc37.src.rpm?inline=false

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

Thanks

Comment 1 Zbigniew Jędrzejewski-Szmek 2022-07-03 20:04:26 UTC
This seems to be missing dependencies:
 Problem 1: conflicting requests
  - nothing provides (crate(validator_derive/card) >= 0.15.0 with crate(validator_derive/card) < 0.16.0~) needed by rust-validator+card-devel-0.15.0-1.fc37.noarch
 Problem 2: conflicting requests
  - nothing provides (crate(card-validate/default) >= 2.2.0 with crate(card-validate/default) < 3.0.0~) needed by rust-validator+card-validate-devel-0.15.0-1.fc37.noarch
 Problem 3: conflicting requests
  - nothing provides (crate(validator_derive/phone) >= 0.15.0 with crate(validator_derive/phone) < 0.16.0~) needed by rust-validator+phone-devel-0.15.0-1.fc37.noarch
 Problem 4: conflicting requests
  - nothing provides (crate(phonenumber/default) >= 0.3.0 with crate(phonenumber/default) < 0.4.0~) needed by rust-validator+phonenumber-devel-0.15.0-1.fc37.noarch
 Problem 5: conflicting requests
  - nothing provides (crate(validator_derive/unic) >= 0.15.0 with crate(validator_derive/unic) < 0.16.0~) needed by rust-validator+unic-devel-0.15.0-1.fc37.noarch
 Problem 6: conflicting requests
  - nothing provides (crate(validator_derive/default) >= 0.15.0 with crate(validator_derive/default) < 0.16.0~) needed by rust-validator+validator_derive-devel-0.15.0-1.fc37.noarch
 Problem 7: package rust-validator+derive-devel-0.15.0-1.fc37.noarch requires crate(validator/validator_derive) = 0.15.0, but none of the providers can be installed
  - conflicting requests
  - nothing provides (crate(validator_derive/default) >= 0.15.0 with crate(validator_derive/default) < 0.16.0~) needed by rust-validator+validator_derive-devel-0.15.0-1.fc37.noarch

It sounds like phonenumber and validator_derive need to be packaged (or those features disabled).

Comment 2 JB Trystram 2022-10-26 08:41:03 UTC
I don't really have the time to follow up on that, packaging have shown to be too much effort for too low benefit for me. 
I'm closing this.