keep-sorted 0.11.0-1
Package Information
| Description | language-agnostic formatter that sorts lines between markers keep-sorted is a language-agnostic formatter and linter that sorts lines between `keep-sorted start` and `keep-sorted end` comments in larger files. It supports line continuations, balanced code blocks, custom prefix ordering, regular expression matching, numeric sorting, case-insensitive sorting, deduplication, and can be used as a standalone tool or pre-commit hook. |
|---|---|
| Maintainer | Ricardo Ribalda Delgado <ribalda@debian.org> |
| Changed By | Ricardo Ribalda Delgado <ribalda@debian.org> |
| Sponsor | ribalda@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/debian/keep-sorted.git (browse) |
| Closes | #1156026 |
| Tracker | https://tracker.debian.org/pkg/keep-sorted |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Date | Tue, 01 Dec 2026 13:25:00 +0000 |
|---|---|
| Source | keep-sorted |
| Version | 0.11.0-1 |
| Changed-By | Ricardo Ribalda Delgado <ribalda@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
Changelog
keep-sorted (0.11.0-1) unstable; urgency=medium . * Initial release. (Closes: #1156026)
.dsc
| Component | main |
|---|---|
| Package-List | keep-sorted deb devel optional arch=any |
| Section | devel |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: keep-sorted Source: https://github.com/google/keep-sorted.git Files: * Copyright: 2023-2026 Google LLC License: Apache-2.0 Files: debian/* Copyright: 2026 Ricardo Ribalda Delgado <ribalda@debian.org> License: Apache-2.0 License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . https://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the complete text of the Apache License version 2.0 can be found in "/usr/share/common-licenses/Apache-2.0".
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for keep-sorted version 0.11.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5 with the exact Format URL, covers the whole tree with Files: * (Google LLC, Apache-2.0) and debian/*, and its Apache-2.0 text is present with a pointer to /usr/share/common-licenses/Apache-2.0. The tree's LICENSE is the full Apache-2.0 text; every source file that carries a notice names Google LLC 2023 or 2026, and the prescan found no holder that debian/copyright omits. No non-free terms, no embedded third-party code, and no built files without source. The Contributor Covenant-derived docs/code-of-conduct.md keeps its attribution and is not installed; CC-BY-4.0 permits the project to license its adaptation.
Packaging
Packaging is competent: 3.0 (quilt), debhelper compat 14 via debhelper-compat, dh-golang with dh-sequence-single-binary, clean install override using dh-golang's documented --no-source, DH_GOLANG_INSTALL_EXTRA to put goldens data in the build tree for the tests, DEP-3 patch, correct Vcs-*/Homepage/XS-Go-Import-Path, sane initial changelog. All Build-Depends resolve to archive packages. The only fault is a suppressed no-manual-page lintian tag for a new binary.
Issues
minor packaging 1. New /usr/bin/keep-sorted ships without a manual page; the lintian tag is overridden instead ◂
- Files:
debian/lintian-overrides:1,debian/docs:1 - Basis: checked, in the package or with a reference tool
- Evidence:
keep-sorted: no-manual-page [usr/bin/keep-sorted]; Policy 12.1:If no manual page is available, this is considered as a bug and should be reported to the Debian Bug Tracking System - Problem: Policy 12.1 says each program should have an associated manual page and that its absence is a bug. The override hides the lintian tag rather than addressing it, so users get no man page for a new binary; documentation installed by debian/docs is only README.md.
- Fix: Ship a keep-sorted(1) man page (written, or generated at build time with help2man from --help) in the package and drop debian/lintian-overrides.
Verified ◂
- debian/copyright read in full: DEP-5, exact Format URL,
Files: *(2023-2026 Google LLC, Apache-2.0),Files: debian/*(2026 Ricardo Ribalda Delgado, Apache-2.0), Apache-2.0 standalone text plus /usr/share/common-licenses/Apache-2.0 pointer. - LICENSE is the complete Apache License 2.0; LICENSE, main.go, cmd/cmd.go, cmd/cmd_test.go, every keepsorted/*.go with a header, goldens/golden_test.go and goldens/generate-goldens.sh all carry Apache-2.0 notices naming Google LLC (2023 or 2026).
- keepsorted/cmp.go, keepsorted/options_parser.go and keepsorted/options_parser_test.go carry no per-file notice but are covered by the top-level LICENSE and
Files: *; Apache-2.0 does not require copying every notice (Policy 2.3 footnote 5). - Prescan author check: every holder it found is named in debian/copyright; it listed no suspect files to account for.
- docs/code-of-conduct.md is adapted from Contributor Covenant 1.4 and keeps its attribution text; it is shipped only in the source package (debian/docs installs README.md only), and CC-BY-4.0 permits the adaptation to be distributed under Apache-2.0.
- docs/contributing.md, README.md, .gitignore, .pre-commit-config.yaml, .pre-commit-hooks.yaml, go.mod, go.sum and .github/workflows/*.yml have no separate licence or holder;
Files: *applies and they are not installed in the binary. - goldens/*.in, *.out and *.err are plain-text test fixtures generated from the .in files by goldens/generate-goldens.sh (whose source is in the package); they contain no third-party notices and are not installed as built artifacts.
- debian/patches/0001-goldens-fallback-when-git-dir-is-unavailable.patch has DEP-3 headers (Description, Author, Forwarded, Last-Update) and only edits goldens/golden_test.go; it creates no new file, and the resulting test file's imports are all still used.
- Build-Depends all exist in the archive: debhelper 14.5 provides dh-sequence-single-binary, dh-golang 1.67 provides dh-sequence-golang, golang-any 2:1.27~1, golang-github-workiva-go-datastructures-dev 1.1.8-1, go-cmp 0.7.0-1, go-isatty 0.0.24-1, zerolog 1.34.0-1, pflag 1.0.10-1, yaml.v3 3.0.5-1.
- debian/rules options checked against the golang buildsystem:
--no-sourceand DH_GOLANG_INSTALL_EXTRA are read by Debian::Debhelper::Buildsystem::golang; --no-source keeps the package a program-only binary while the goldens data is still copied into _build for the test suite. - debian/changelog 0.11.0-1/unstable, closes #1156026, initial release; debian/source/format is 3.0 (quilt); gbp.conf, upstream/metadata, salsa-ci.yml and lintian-overrides read.
- Standards-Version 4.7.4 is current with the reviewing system's Policy (first two components 4.7).
- uscan found the packaged version as the newest upstream release (upstream
0.11.0, packaged0.11.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- The build and the patched golden test were not run; the test's use of
go rununder GO111MODULE=off was assessed statically only.
Proposed changes ◂
None.
Uploader's response to the LLM review
If upstream does not have a manpage I'd rather not have one. If you disagree I can look into making one with automated with help2man or similar.
Thanks!
— Ricardo Ribalda Delgado (ribalda), 1 hour ago
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.