Review: golang-github-charlievieth-strcase 0.0.5-1
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Thu, 05 Feb 2026 19:22:25 -0600 |
| Source | golang-github-charlievieth-strcase |
| Version | 0.0.5-1 |
| Changed-By | Stephen Gelman |
| Architecture | source all |
Changelog
golang-github-charlievieth-strcase (0.0.5-1) unstable; urgency=medium . * Initial release (Closes: #1127089)
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | golang-github-charlievieth-strcase-dev deb golang optional arch=all |
| Section | golang |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/charlievieth/strcase Upstream-Name: strcase Upstream-Contact: Charlie Vieth <charlie.vieth@gmail.com> Files: * Copyright: 2022 Charlie Vieth <charlie.vieth@gmail.com> License: Expat Files: debian/* Copyright: 2026 Stephen Gelman <ssgelm@debian.org> License: Expat Comment: Debian packaging is licensed under the same terms as upstream License: Expat 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
rejected — allocated to awm 25 days ago, started 25 days ago, completed 25 days ago.
Final Comment
In the internal/bytealg folder there is a go.LICENSE file suggesting that
something in this folder might have a source other than Charlie Vieth.
Please clarify the upstream licensing here.
There are also some unindented long description lines in debian/control.
Thanks!
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 0.0.5-2 | 4ecae5d5… | 2026-02-25 07:13 | 2026-02-25 08:12 | awm | accepted | VIEW |
Public Notes
25 days ago
● public
Licenserecon
Command: lrc -s
Exit code: 3
en: Versions: licenserecon '11.0' licensecheck '3.3.9-1'
Parsing Source Tree ....
Reading d/copyright ....
Running licensecheck ....
d/copyright | licensecheck
Expat | BSD-3-clause internal/bytealg/go.LICENSE
Short option in use. Not all differences shown
25 days ago
● public
Search for authors
Command: ag -i 'copyright .* (by|rights|reserved)[. ]' | sed -e 's/^.*Copyright //i' -e 's/\(20\|19\)[0-9][0-9][, -]*//g' -e 's/[., ]*ALL RIGHTS RESERVED.*$//i' | sort -i | uniq -i
Exit code: 0
Charlie Vieth
(c) The Go Authors
The Go Authors
25 days ago
● public
CME fix
Command: cme fix --verbose dpkg
Exit code: 0
Reading package lists... 0%
Reading package lists... 100%
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 5 package versions. Please wait...
Got info from api.ftp-master.debian.org for 4 packages.
Warning in 'control source Build-Depends:2': package dpkg-build-api is unknown. Check for typos if not a virtual package.
Offending value: 'dpkg-build-api (= 1)'
Warning in 'control binary:"golang-github-charlievieth-strcase-dev" Description': lintian like possible-unindented-list-in-extended-description. i.e. "-" or "*" without leading white space
Offending value:
+++++
Package strcase (/) and bytcase (/bytcase/README.md) are case-
insensitive
and Unicode aware implementations of the Go standard library's strings
(https://pkg.go.dev/strings) and bytes (https://pkg.go.dev/bytes)
packages that are accurate, fast, and never allocate memory.
Simple Unicode case-folding is used for all comparisons. This matches
the
behavior of strings.EqualFold (https://pkg.go.dev/strings#EqualFold) and
regexp.Regexp (https://pkg.go.dev/regexp#Regexp) (when the pattern is
compiled with the case-insensitive flag (?i)) and is more accurate (and
significantly more efficient) than using strings.ToLower
(https://pkg.go.dev/strings#ToLower) or strings.ToUpper
(https://pkg.go.dev/strings#ToUpper) to normalize the needle / haystack
before searching.
**Note:** The bytcase package is analogous to the strcase package;
whatever applies to strcase also applies to bytcase. For simplicity, the
documentation primarily refers to strcase. Unless otherwise noted, all
comments apply to both packages.
Overview
* Drop-in replacement for the strings (https://pkg.go.dev/strings) and
bytes (https://pkg.go.dev/bytes) packages that provides Unicode
aware case-insensitive matching.
* Simple Unicode case-folding is used for all comparisons - making it
more
accurate than using strings.ToLower (https://pkg.go.
dev/strings#ToLower) or
strings.ToUpper (https://pkg.go.dev/strings#ToUpper) for case-
insensitivity.
* Any string matched by strcase or bytcase will also match with
strings.EqualFold (https://pkg.go.dev/strings#EqualFold) or
bytes.EqualFold (https://pkg.go.dev/bytes#EqualFold)
* Fast and optimized for amd64 and arm64. For non-pathological inputs
strcase
is only 25-50% slower than the strings package.
* On average strcase/bytcase are 25x faster than using than using a
case-insensitive
regexp.Regexp (https://pkg.go.dev/regexp#Regexp) (see the below
benchmarks section).
+++++
Changes applied to dpkg configuration:
- control binary:"golang-github-charlievieth-strcase-dev" Description: 'Package strcase (/) and bytcase (/bytcase/README.md) are cas[...]' -> 'Package strcase (/) and bytcase (/bytcase/README.md) are cas[...]' # applied fix for :lintian like possible-unindented-list-in-extended-description. i.e. "-" or "*" without leading white space
Connecting to api.ftp-master.debian.org to check dpkg-build-api versions. Please wait...
got no info for dpkg-build-api