Bug 2294188 - Review Request: dt-schema - Tooling for devicetree validation using YAML and jsonschema
Summary: Review Request: dt-schema - Tooling for devicetree validation using YAML and ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Javier Martinez Canillas
QA Contact: Fedora Extras Quality Assurance
URL: http://devicetree.org/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-25 08:21 UTC by Peter Robinson
Modified: 2024-07-04 14:48 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-04 14:48:48 UTC
Type: ---
Embargoed:
fmartine: fedora-review+


Attachments (Terms of Use)

Description Peter Robinson 2024-06-25 08:21:32 UTC
SPEC: https://pbrobinson.fedorapeople.org/dt-schema.spec
SRPM: https://pbrobinson.fedorapeople.org/dt-schema-2024.05-1.fc40.src.rpm

Description:
This tool contains test code for devicetree schema validation using the
json-schema vocabulary. Schema files are written in YAML (a superset of
JSON), and operate on the YAML encoding of Devicetree data. Devicetree
data must be transcoded from DTS to YAML before being used by this tool.

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=119522672

FAS: pbrobinson

Reproducible: Always

Comment 1 Fedora Review Service 2024-06-25 08:27:18 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7665415
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2294188-dt-schema/fedora-rawhide-x86_64/07665415-dt-schema/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 Javier Martinez Canillas 2024-07-04 13:15:53 UTC
For some reasons fedora-review isn't working with fedora-review-0.10.0-5.fc40.noarch and mock-5.6-1.fc40.noarch:

$ fedora-review -b 2294188
INFO: Processing bugzilla bug: 2294188
INFO: Getting .spec and .srpm Urls from : 2294188
INFO:   --> SRPM url: https://pbrobinson.fedorapeople.org/dt-schema-2024.05-1.fc40.src.rpm
INFO:   --> Spec url: https://pbrobinson.fedorapeople.org/dt-schema.spec
INFO: Using review directory: /tmp/2294188-dt-schema
INFO: Downloading .spec and .srpm files
INFO: Downloading (Source0): https://github.com/devicetree-org/dt-schema/archive/v2024.05.tar.gz#/dt-schema-2024.05.tar.gz
INFO: Running checks and generating report
INFO: Results and/or logs in: /tmp/2294188-dt-schema/results
INFO: Reading configuration from /etc/mock/site-defaults.cfg
INFO: Reading configuration from /etc/mock/chroot-aliases.cfg
INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg
INFO: Build completed
INFO: Installing built package(s)
INFO: Active plugins: Generic, Python, Shell-api
Error: Cache-only enabled but no cache for 'fedora'
ERROR: Exception down the road... (logs in /home/javier/.cache/fedora-review.log

But checking the output of the fedora-review-service and the SPEC file referenced
in the first comment, I can confirm that the dt-schema package looks correct to me.

Comment 3 Fedora Admin user for bugzilla script actions 2024-07-04 14:04:53 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/dt-schema

Comment 4 Peter Robinson 2024-07-04 14:48:48 UTC
Thanks for the review Javier!


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