Review: golang-github-charlievieth-strcase 0.0.5-2
Package Information
| Description | Case-insensitive implementation of Go's strings package (library) 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). |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Stephen Gelman <ssgelm@debian.org> |
| Sponsor | ssgelm@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/go-team/packages/golang-github-charlievieth-strcase.git (browse) |
| Tracker | https://tracker.debian.org/pkg/golang-github-charlievieth-strcase |
| Uploaded | 5 months, 11 days ago |
New Package Report
.changes
| Distribution | sid |
|---|---|
| Date | Tue, 24 Feb 2026 19:19:08 -0600 |
| Source | golang-github-charlievieth-strcase |
| Version | 0.0.5-2 |
| Changed-By | Stephen Gelman |
| Architecture | all |
Changelog
golang-github-charlievieth-strcase (0.0.5-2) unstable; urgency=medium . * Add missing copyright for internal/bytealg
.dsc
| Section | golang |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | golang-github-charlievieth-strcase-dev deb golang optional arch=all |
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
Files: internal/bytealg/*
Copyright: 2009 The Go Authors
License: BSD-3-clause
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.
License: BSD-3-clause
Copyright (c) 2009 The Go Authors. All rights reserved.
.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Review Information
accepted — allocated to awm 5 months, 11 days ago, started 5 months, 11 days ago, completed 5 months, 11 days ago.
Final Comment
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 0.0.5-1 | 371c9c39… | 2026-02-21 22:21 | 2026-02-21 22:31 | awm | rejected | VIEW |
Public Notes
Lintian
Command: lintian -Iiv --show-overrides --color=always
Exit code: 0
N:
I: golang-github-charlievieth-strcase source: older-debian-watch-file-standard 4 [debian/watch]
N:
N: The version= line in the debian/watch file in this package declares an
N: older version. Please upgrade when you have a chance.
N:
N: Please refer to the uscan(1) manual page for details.
N:
N: Visibility: info
N: Show-Always: no
N: Check: debian/watch/standard
N: