Bug 2028896

Summary: Review Request: rust-tree-sitter-highlight - Library for performing syntax highlighting with Tree-sitter
Product: [Fedora] Fedora Reporter: Aleksei Bavshin <alebastr89>
Component: Package ReviewAssignee: Fabio Valentini <decathorpe>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: decathorpe, package-review
Target Milestone: ---Flags: decathorpe: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rust-tree-sitter-highlight-0.20.1-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 05:42:11 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:
Bug Depends On: 2028895    
Bug Blocks: 2028899, 2028900    

Description Aleksei Bavshin 2021-12-03 17:10:59 UTC
Spec URL: https://alebastr.fedorapeople.org/review/tree-sitter-cli/rust-tree-sitter-highlight.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/alebastr/rust-tree-sitter-cli/fedora-rawhide-x86_64/03540336-rust-tree-sitter-highlight/rust-tree-sitter-highlight-0.20.1-1.fc37.src.rpm
Copr build: https://copr.fedorainfracloud.org/coprs/alebastr/rust-tree-sitter-cli/build/3540336/
Description:
Library for performing syntax highlighting with Tree-sitter

Fedora Account System Username: alebastr
Note: generated with `rust2rpm -a`; added upstream license file as required by the MIT license

Comment 1 Fabio Valentini 2022-03-09 14:16:16 UTC
Looks like you updated the .spec file or SRPM file but not both, please check before importing the package:

Diff spec file in url and in SRPM
---------------------------------
--- /home/deca/Downloads/2028896-rust-tree-sitter-highlight/srpm/rust-tree-sitter-highlight.spec	2022-03-09 15:10:07.534951230 +0100
+++ /home/deca/Downloads/2028896-rust-tree-sitter-highlight/srpm-unpacked/rust-tree-sitter-highlight.spec	2022-02-23 07:33:13.000000000 +0100
@@ -14,5 +14,5 @@
 URL:            https://crates.io/crates/tree-sitter-highlight
 Source:         %{crates_source}
-# Upstream license file - tree-sitter/tree-sitter#1520
+# Upstream license file
 Source1:        https://github.com/tree-sitter/tree-sitter/raw/v%{version}/LICENSE#/LICENSE.upstream


Other than that, looks good to me.

======

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 (there are no tests)
- latest compatible version of the crate is packaged
- 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 2 Gwyn Ciesla 2022-03-09 15:56:36 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-tree-sitter-highlight