Bug 2558259
| Summary: | Review Request: tree-sitter-regex - Tree-sitter parser for regular expressions | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Maxime Ripard <maxime.ripard> |
| Component: | Package Review | Assignee: | Peter Oliver <mavit> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | mavit, package-review |
| Target Milestone: | --- | Flags: | mavit:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-11-12 17:29:51 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
Maxime Ripard
2026-10-21 12:36:06 UTC
Cannot find any valid SRPM URL for this ticket. Common causes are: - You didn't specify `SRPM URL: ...` in the ticket description or any of your comments - The URL schema isn't HTTP or HTTPS - The SRPM package linked in your URL doesn't match the package name specified in the ticket summary --- 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. [fedora-review-service-build] The last I heard from the Fedora Rust folks was that they didn't want packages built in this way: https://lists.fedoraproject.org/archives/list/rust@lists.fedoraproject.org/thread/5IEKDODG2VFJLFW2ZPOVAIIR6LLYJGE4/#5IEKDODG2VFJLFW2ZPOVAIIR6LLYJGE4 I'd be tempted to give the human-readable name as "Regular Expressions" (i.e., %{tree_sitter ... -l %{quote:Regular Expressions}}). Thanks, I updated it according to your reviews: Spec URL: https://download.copr.fedorainfracloud.org/results/mripard/tree-sitter-regex/fedora-rawhide-x86_64/11304073-tree-sitter-regex/tree-sitter-regex.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/mripard/tree-sitter-regex/srpm-builds/11304073/tree-sitter-regex-0.25.0-1.fc46.src.rpm Approved.
Package Review
==============
Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed
Issues:
=======
===== MUST items =====
C/C++:
[x]: Package does not contain kernel modules.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
Note: Unversioned so-files in private %_libdir subdirectory (see
attachment). Verify they are not in ld path.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[x]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.
Generic:
[x]: Package is licensed with an open-source compatible license and meets
other legal requirements as defined in the legal section of Packaging
Guidelines.
[x]: License field in the package spec file matches the actual license.
Note: Checking patched sources after %prep for licenses. Licenses
found: "Unknown or generated", "MIT License", "*No copyright* MIT
License". 47 files have unknown license. Detailed output of
licensecheck in /home/mavit/src/fedora/review/2558259-tree-sitter-
regex/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package must own all directories that it creates.
Note: Directories without known owners: /usr/lib64/python3.15,
/usr/lib64/python3.15/site-packages
[x]: Package does not own files or directories owned by other packages.
Note: Dirs in package are owned also by:
/usr/include/tree_sitter(libtree-sitter-cpp-devel, libtree-sitter-
heex-devel, libtree-sitter-ruby-devel, libtree-sitter-php-devel,
libtree-sitter-html-devel, libtree-sitter-go-devel, libtree-sitter-c-
devel, libtree-sitter-c-sharp-devel, libtree-sitter-yaml-devel,
libtree-sitter-lua-devel, libtree-sitter-jsdoc-devel, libtree-sitter-
toml-devel, libtree-sitter-phpdoc-devel, libtree-sitter-rust-devel,
libtree-sitter-css-devel, libtree-sitter-devel, libtree-sitter-elixir-
devel, libtree-sitter-markdown-devel, libtree-sitter-java-devel,
libtree-sitter-bash-devel, libtree-sitter-python-devel, libtree-
sitter-cmake-devel, libtree-sitter-json-devel, libtree-sitter-
javascript-devel, libtree-sitter-typescript-devel)
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries or specifies bundled libraries
with Provides: bundled(<libname>) if unbundling is not possible.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
license(s) in its own file, then that file, containing the text of the
license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
%{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
(~1MB) or number of files.
Note: Documentation size is 1353 bytes in 1 files.
[x]: Packages must not store files under /srv, /opt or /usr/local
Python:
[-]: Python eggs must not download any dependencies during the build
process.
[-]: A package which is used by another package via an egg interface should
provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Packages MUST NOT have dependencies (either build-time or runtime) on
packages named with the unversioned python- prefix unless no properly
versioned package exists. Dependencies on Python packages instead MUST
use names beginning with python2- or python3- as appropriate.
[x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files
[x]: Binary eggs must be removed in %prep
===== SHOULD items =====
Generic:
[-]: If the source package does not include license text(s) as a separate
file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Fully versioned dependency in subpackages if applicable.
Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in libtree-
sitter-regex , python3-tree-sitter-regex
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
publishes signatures.
Note: gpgverify is not used.
[?]: Package should compile and build into binary rpms on all supported
architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
files.
[x]: Spec use %global instead of %define unless justified.
Note: %define requiring justification: %define autorelease(e:s:pb:n)
%{?-p:0.}%{lua:
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
$RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
===== EXTRA items =====
Generic:
[x]: Rpmlint is run on debuginfo package(s).
Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
is arched.
[x]: Spec file according to URL is the same as in SRPM.
Rpmlint
-------
Checking: libtree-sitter-regex-0.25.0-1.fc46.x86_64.rpm
libtree-sitter-regex-devel-0.25.0-1.fc46.x86_64.rpm
python3-tree-sitter-regex-0.25.0-1.fc46.x86_64.rpm
tree-sitter-regex-0.25.0-1.fc46.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
/usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-legacy-licenses.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpmnc7cub3')]
checks: 32, packages: 4
python3-tree-sitter-regex.x86_64: E: spelling-error ('subpackage', '%description -l en_US subpackage -> sub package, sub-package, package')
python3-tree-sitter-regex.x86_64: W: no-documentation
python3-tree-sitter-regex.x86_64: W: devel-file-in-non-devel-package /usr/lib64/python3.15/site-packages/tree_sitter_regex/binding.c
libtree-sitter-regex.x86_64: E: description-line-too-long Add support for Regular Expressions to Tree-sitter, an incremental parsing system
python3-tree-sitter-regex.x86_64: E: description-line-too-long Add support for Regular Expressions to Tree-sitter, an incremental parsing system
tree-sitter-regex.src: E: description-line-too-long Add support for Regular Expressions to Tree-sitter, an incremental parsing system
4 packages and 0 specfiles checked; 4 errors, 2 warnings, 26 filtered, 4 badness; has taken 1.1 s
Rpmlint (debuginfo)
-------------------
Checking: tree-sitter-regex-debuginfo-0.25.0-1.fc46.x86_64.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
/usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-legacy-licenses.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpbp8p9ldm')]
checks: 32, packages: 1
1 packages and 0 specfiles checked; 0 errors, 0 warnings, 8 filtered, 0 badness; has taken 0.2 s
Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.10.0
configuration:
/usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
checks: 33, packages: 4
python3-tree-sitter-regex.x86_64: W: undefined-non-weak-symbol /usr/lib64/python3.15/site-packages/tree_sitter_regex/_binding.abi3-x86_64-linux-gnu.so PyModuleDef_Init (/usr/lib64/python3.15/site-packages/tree_sitter_regex/_binding.abi3-x86_64-linux-gnu.so)
python3-tree-sitter-regex.x86_64: W: undefined-non-weak-symbol /usr/lib64/python3.15/site-packages/tree_sitter_regex/_binding.abi3-x86_64-linux-gnu.so PyCapsule_New (/usr/lib64/python3.15/site-packages/tree_sitter_regex/_binding.abi3-x86_64-linux-gnu.so)
python3-tree-sitter-regex.x86_64: W: spelling-error ('subpackage', "%description -l en_US subpackage -> sub package, sub-package, package's")
python3-tree-sitter-regex.x86_64: W: no-documentation
python3-tree-sitter-regex.x86_64: W: devel-file-in-non-devel-package /usr/lib64/python3.15/site-packages/tree_sitter_regex/binding.c
python3-tree-sitter-regex.x86_64: E: description-line-too-long Add support for Regular Expressions to Tree-sitter, an incremental parsing system
libtree-sitter-regex.x86_64: E: description-line-too-long Add support for Regular Expressions to Tree-sitter, an incremental parsing system
4 packages and 0 specfiles checked; 2 errors, 5 warnings, 30 filtered, 2 badness; has taken 0.5 s
Unversioned so-files
--------------------
python3-tree-sitter-regex: /usr/lib64/python3.15/site-packages/tree_sitter_regex/_binding.abi3-x86_64-linux-gnu.so
Source checksums
----------------
https://github.com/tree-sitter/tree-sitter-regex/archive/v0.25.0/tree-sitter-regex-0.25.0.tar.gz :
CHECKSUM(SHA256) this package : 853200795c4cf856eba9de3f4f9abb370d22aef4fb32e8911e210bb7e4253087
CHECKSUM(SHA256) upstream package : 853200795c4cf856eba9de3f4f9abb370d22aef4fb32e8911e210bb7e4253087
Requires
--------
libtree-sitter-regex (rpmlib, GLIBC filtered):
rtld(GNU_HASH)
tree-sitter(:LANGUAGE_VERSION)
libtree-sitter-regex-devel (rpmlib, GLIBC filtered):
/usr/bin/pkg-config
libtree-sitter-regex(x86-64)
libtree-sitter-regex.so.15.0()(64bit)
python3-tree-sitter-regex (rpmlib, GLIBC filtered):
python(abi)
rtld(GNU_HASH)
Provides
--------
libtree-sitter-regex:
libtree-sitter-regex
libtree-sitter-regex(x86-64)
libtree-sitter-regex.so.15.0()(64bit)
tree-sitter(regex)
libtree-sitter-regex-devel:
libtree-sitter-regex-devel
libtree-sitter-regex-devel(x86-64)
pkgconfig(tree-sitter-regex)
python3-tree-sitter-regex:
python-tree-sitter-regex
python3-tree-sitter-regex
python3-tree-sitter-regex(x86-64)
python3.15-tree-sitter-regex
python3.15dist(tree-sitter-regex)
python3dist(tree-sitter-regex)
Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -b 2558259
Buildroot used: fedora-rawhide-x86_64
Active plugins: Python, Generic, Shell-api, C/C++
Disabled plugins: fonts, Haskell, R, Ocaml, SugarActivity, Perl, PHP, Java
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT
The Pagure repository was created at https://src.fedoraproject.org/rpms/tree-sitter-regex Monitoring: Anitya project is accessible by this link `https://release-monitoring.org/project/242292` you can modify it manually. Package wasn't created in Anitya, reason: `Bad Request, some necessary arguments were not provided.`. FEDORA-2026-b65d8390f3 (tree-sitter-regex-0.25.0-1.fc46) has been submitted as an update to Fedora 46. https://bodhi.fedoraproject.org/updates/FEDORA-2026-b65d8390f3 FEDORA-2026-b65d8390f3 (tree-sitter-regex-0.25.0-1.fc46) has been pushed to the Fedora 46 stable repository. If problem still persists, please make note of it in this bug report. |