DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: tree-sitter-bash 0.25.1-1

New Package Report

.dsc
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-tree-sitter-bash-dev deb rust optional arch=any
tree-sitter-bash-src deb libs optional arch=all
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: tree-sitter-bash
Source: https://github.com/tree-sitter/tree-sitter-bash

Files: *
Copyright:
 2017-current Max Brunsfeld <maxbrunsfeld@gmail.com>
 2023-current Amaan Qureshi <amaanq12@gmail.com>
License: MIT

Files:
 src/tree_sitter/alloc.h
 src/tree_sitter/array.h
 src/tree_sitter/parser.h
Copyright:
 2018-2022, Max Brunsfeld
License: MIT
Comment:
 These files are copied from libtree-sitter-dev as part of generating the upstream
 project (via "tree-sitter generate") so it's possible to build standalone.

Files: debian/*
Copyright:
 2025 Matthias Geiger <werdahias@debian.org>
 2025 Antonin Delpeuch <antonin@delpeuch.eu>
License: MIT

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.


Review Information

accepted — allocated to awm 1 month, 7 days ago, started 1 month, 7 days ago, completed 1 month, 7 days ago.

Final Comment

Looks good. cme complains that you should use 'Expat' to identify the particular version of 'MIT'
that is used here - it makes it easier for people to know at a glance which license it applies.

Public Notes

1 month, 7 days ago ● public

License Detector

Command: license-detector .
Exit code: 0

.
	99%	MIT
	93%	JSON
	84%	MIT-feh
	84%	MIT-0
	81%	MIT-advertising
	45%	X11-distribute-modifications-variant
1 month, 7 days ago ● public

Licenserecon

Command: lrc -s
Exit code: 0

en: Versions: licenserecon '11.0'  licensecheck '3.3.9-1'

Parsing Source Tree  ....
Reading d/copyright  ....
Running licensecheck ....

No significant differences found
1 month, 7 days ago ● public

CME fix

Command: cme fix --verbose dpkg
Exit code: 0


Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 2%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... Done

Reading state information... 0% 

Reading state information... 0%

Reading state information... Done
cme: running fix on dpkg configuration...
Connecting to api.ftp-master.debian.org to check 8 package versions. Please wait...
Got info from api.ftp-master.debian.org for 5 packages.
Warning in 'control source Standards-Version': Current standards version is '4.7.3'. Please read https://www.debian.org/doc/debian-policy/upgrading-checklist.html for the changes that may be needed on your package
to upgrade it from standard version '4.7.2' to '4.7.3'.

Offending value: '4.7.2'
Warning in 'control source Build-Depends:3': package librust-cc-1+default-dev is unknown. Check for typos if not a virtual package.
Offending value: 'librust-cc-1+default-dev (>= 1.1.22-~~)'
Warning in 'control source Build-Depends:4': package librust-tree-sitter-language-0.1+default-dev is unknown. Check for typos if not a virtual package.
Offending value: 'librust-tree-sitter-language-0.1+default-dev'
Warning in 'control source Build-Depends:5': package librust-tree-sitter-0.25+default-dev is unknown. Check for typos if not a virtual package.
Offending value: 'librust-tree-sitter-0.25+default-dev (>= 0.25.0-~~)'
Warning in 'control binary:"librust-tree-sitter-bash-dev" Depends:1': package librust-cc-1+default-dev is unknown. Check for typos if not a virtual package.
Offending value: 'librust-cc-1+default-dev (>= 1.1.22-~~)'
Warning in 'control binary:"librust-tree-sitter-bash-dev" Depends:2': package librust-tree-sitter-language-0.1+default-dev is unknown. Check for typos if not a virtual package.
Offending value: 'librust-tree-sitter-language-0.1+default-dev'
Warning in 'copyright Files:"*" License short_name': There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
Offending value: 'MIT'
Warning in 'copyright Files:"[...]" License short_name': There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
Offending value: 'MIT'
Warning in 'copyright Files:"debian/*" License short_name': There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
Offending value: 'MIT'
License Expat is not used in Files: section
License Expat is not used in Files: section
License Expat is not used in Files: section

Changes applied to dpkg configuration:
- control source Standards-Version: '4.7.2' -> '4.7.3' # applied fix for :Current standards version is '4.7.3'. Please read https://www.debian.org/doc/debian-policy/upgrading-checklist.html for the changes that may be needed on your package
to upgrade it from standard version '4.7.2' to '4.7.3'.

- copyright License:Expat text: 'The MIT License  Permission is hereby granted, free of charg[...]' -> 'Permission is hereby granted, free of charge, to any person [...]'
- copyright License: rename key from 'MIT' to 'Expat'
- copyright Files:"*" License short_name: 'MIT' -> 'Expat' # applied fix for :There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
- copyright Files:"
src/tree_sitter/alloc.h
src/tree_sitter/array.h
src/tree_sitter/parser.h" License short_name: 'MIT' -> 'Expat' # applied fix for :There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
- copyright Files:"debian/*" License short_name: 'MIT' -> 'Expat' # applied fix for :There are many versions of the MIT license. Please use Expat instead, when it matches. See L<Debian copyright format|https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification> and L<wikipedia|https://en.wikipedia.org/wiki/MIT_License#Various_versions>for details.
Connecting to api.ftp-master.debian.org to check librust-cc-1+default-dev versions. Please wait...
got no info for librust-cc-1+default-dev
Connecting to api.ftp-master.debian.org to check librust-tree-sitter-language-0.1+default-dev versions. Please wait...
got no info for librust-tree-sitter-language-0.1+default-dev
Connecting to api.ftp-master.debian.org to check librust-tree-sitter-0.25+default-dev versions. Please wait...
got no info for librust-tree-sitter-0.25+default-dev

Back to Dashboard | View all reviews for this package