golang-github-git-pkgs-gitignore 1.1.2-1
Package Information
| Description | matching paths against gitignore rules (Go library) A Go library for matching paths against gitignore rules. Pattern matching uses a direct wildmatch implementation (two-pointer backtracking, same algorithm as git's wildmatch.c) rather than compiling patterns to regexes or delegating to filepath.Match * Wildmatch engine modeled on git's own wildmatch.c, tested against git's wildmatch test suite * Bracket expressions with ranges, negation, backslash escapes, and all 12 POSIX character classes ([:alnum:], [:alpha:], etc.) * Proper ** handling (zero or more directories, only when standalone between separators) * core.excludesfile support with XDG fallback * Automatic nested .gitignore discovery via NewFromDirectory and Walk * Negation patterns with correct last-match-wins semantics * Directory-only patterns (trailing /) with descendant matching * Match provenance via MatchDetail (which pattern, file, and line number matched) * Invalid pattern surfacing via Errors() * Literal suffix fast-reject for common patterns like *.log This package contains the Go development library. |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Simon Josefsson <simon@josefsson.org> |
| Sponsor | simon@josefsson.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/go-team/packages/golang-github-git-pkgs-gitignore.git (browse) |
| Closes | #1134657 |
| Tracker | https://tracker.debian.org/pkg/golang-github-git-pkgs-gitignore |
| Uploaded | 5 hours ago |
New Package Report
.changes
| Source | golang-github-git-pkgs-gitignore |
|---|---|
| Version | 1.1.2-1 |
| Changed-By | Simon Josefsson |
| Architecture | source all |
| Distribution | unstable |
| Date | Wed, 22 Apr 2026 22:24:49 +0200 |
Changelog
golang-github-git-pkgs-gitignore (1.1.2-1) unstable; urgency=medium . * Initial release (Closes: #1134657)
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | golang-github-git-pkgs-gitignore-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/git-pkgs/gitignore Upstream-Name: gitignore Files: * Copyright: 2026 Andrew Nesbitt License: Expat Files: debian/* Copyright: 2026 Simon Josefsson <simon@josefsson.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.