DFSG NEW Queue

DFSG, Licensing & New Packages Team

fnlfmt 0.4.0-1

Package Information

DescriptionCode formatter for Fennel

The goal of `fnlfmt` is *not* to be The One Formatter that all Fennel programmers use to format their code. It is assumed that most of the time, Fennel programmers will use a text editor that already knows how to indent code correctly, and that `fnlfmt` supplements existing editor support in cases where for whatever reason the editor functionality cannot be used. This means that `fnlfmt` should be treated as one implementation of the standard format rather than being canonical itself.

By design there is no way to configure it. When it comes to indentation, the choices it makes should be correct other than bugs or when new features are added to Fennel itself. When it comes to where the line breaks are inserted, it tries its best, but there are certainly cases where a human could do better. Sometimes when it comes to line breaks it will defer to the existing code where possible.

MaintainerMichel Lind <michel@michel-slm.name>
Changed ByMichel Lind <michel@michel-slm.name>
Sponsormichel@michel-slm.name
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/michel/fnlfmt.git (browse)
Closes#1150907
Trackerhttps://tracker.debian.org/pkg/fnlfmt
Uploaded3 hours ago

New Package Report

.changes◂
Sourcefnlfmt
Version0.4.0-1
Changed-ByMichel Lind <michel@michel-slm.name>
Architecturesource all
Distributionunstable
DateWed, 21 Oct 2026 19:34:58 +0100
Changelog◂
fnlfmt (0.4.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1150907)
.dsc◂
Package-Listfnlfmt deb devel optional arch=all
Sectiondevel
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fnlfmt
Upstream-Contact: Phil Hagelberg <phil@hagelb.org>
Source: https://git.sr.ht/~technomancy/fnlfmt

Files: *
Copyright: © 2019-2026 Phil Hagelberg and contributors
License: Expat

Files: fennel fennel.lua
Copyright: © 2016-2024 Calvin Rose and contributors
License: Expat

Files: debian/*
Copyright: © 2024 Phil Hagelberg
           © 2026 Michel Lind
License: Expat

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.

DFSG Assistant LLM REVIEW 0 blocker, 1 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 fnlfmt version 0.4.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 1 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

The source is MIT/Expat throughout: LICENSE reproduces the Expat permission text, the SPDX headers in fnlfmt.fnl (Phil Hagelberg) and in the bundled Fennel compiler fennel/fennel.lua (Calvin Rose) match the holders and licences of the corresponding stanzas, and no file carries non-free or additional terms. debian/copyright is DEP-5, names every holder the scan and my own grep found, gives the full Expat text (not in /usr/share/common-licenses), and its Files: patterns cover the whole tree, including tests/ and debian/.

Packaging

Packaging is clean and current: debhelper compat 14 with a bare dh sequence, correct arch:all Lua package depending on the interpreter and Fennel it runs against, DEP-3 patches with Forwarded headers, an autopkgtest that runs the installed binary, a current Standards-Version, sensible gbp and Salsa CI configuration, and a correct initial-release changelog. The only defect is dead weight in the source tarball: upstream's compiled copies of the Fennel compiler are shipped although the build uses the system fennel and nothing installs them.

Issues

important packaging 1. Signature checking is configured but no upstream signing key is shipped ◂
  • Files: debian/watch, debian/upstream/signing-key.asc
  • Basis: found by the review tooling's own checks
  • Problem: debian/watch tells uscan to verify upstream's signature, which needs the key in debian/upstream/signing-key.asc.
  • Fix: Add upstream's signing key as debian/upstream/signing-key.asc.
minor packaging 2. Source package ships unused compiled copies of the Fennel compiler (fennel, fennel.lua) ◂
  • Files: fennel, fennel.lua, Makefile:34-35, debian/rules:4-8, debian/source/lintian-overrides:1-4
  • Basis: checked, in the package or with a reference tool
  • Evidence: Makefile: fennel.lua: ../fennel/fennel.lua ; cp $< $@ and fennel: ../fennel/fennel ; cp $< $@; debian/rules: export FENNEL = /usr/bin/fennel, export FENNEL_OPTS =; debian/source/lintian-overrides: # they are bundled from the fennel project\n# and not used (we pass FENNEL=/usr/bin/fennel); the install target copies only fnlfmt, fnlfmt.lua, indentation.lua and fnlfmt.1.
  • Problem: The tarball carries two generated Lua files from the Fennel project (fennel, 7249 lines, and fennel.lua, 6720 lines) whose .fnl sources are not in the package, although the build compiles against /usr/bin/fennel and no installed file uses them. Debian already ships that code as fennel 1.6.0+dfsg-1, so the copies are redundant generated third-party code and dead weight in the source package; they do not reach the binary package, so no DFSG issue arises for the shipped program.
  • Fix: Repack the upstream tarball to drop fennel and fennel.lua (with a matching Files-Excluded and removal of the Files: fennel fennel.lua stanza), or state in debian/README.source why they are kept.
Verified ◂
  • Read every file under debian/ (control, rules, changelog, copyright, gbp.conf, salsa-ci.yml, source/format, source/lintian-overrides, tests/control, tests/smoke, upstream/metadata and the upstream key files) and all upstream text files; .pc/ ignored as instructed.
  • All 29 upstream files are covered by debian/copyright: Files: * for the fnlfmt sources, man page, docs and tests, the fennel/fennel.lua stanza for the bundled compiler, and debian/* for packaging.
  • LICENSE is the Expat text; the stand-alone License: Expat paragraph in debian/copyright matches it, and Expat is not in /usr/share/common-licenses, so the full text is required and present.
  • grep for Copyright/(C)/SPDX/licence/©/permission/All rights reserved found only the MIT/Expat wording and the holders already named (Phil Hagelberg and contributors, Calvin Rose and contributors); no non-free or extra terms anywhere.
  • fnlfmt.fnl:5-6 and fennel:2-3 / fennel.lua:1-2 carry SPDX MIT identifiers matching debian/copyright; the man page's licence line was normalised by patch 0001 and matches the Files: * stanza.
  • Both patches have DEP-3 headers with Forwarded fields (0001 forwarded upstream, 0002 not-needed because Debian passes FENNEL_OPTS=); 0002 adds the indentation.lua target that the install rule now compiles and installs.
  • Build-Depends packages exist in the reviewing system's lists: fennel 1.6.0+dfsg-1 and lua5.4 5.4.9-2; debian/rules builds with PREFIX=/usr, LUA=lua5.4 and the system /usr/bin/fennel, so no bundled file is used.
  • debhelper compat 14: no relationship substvars are needed in debian/control, and dh supplies man-page, docs and compression handling; the make-based upstream install is driven by dh_auto_install/dh_install.
  • Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 (first two components); source format is 3.0 (quilt); changelog is an initial unstable release closing #1150907 with a correct weekday in its date.
  • debian/tests/control names the smoke test, which runs /usr/bin/fnlfmt --help, an option the installed script handles and exits 0 on; Depends: @ and allow-stderr are consistent with it.
  • The prescan's author check found every holder named; I re-checked the only vendored third-party files (fennel, fennel.lua) against the Files stanza and they are attributed to Calvin Rose and contributors under Expat.
  • uscan found the packaged version as the newest upstream release (upstream 0.4.0, packaged 0.4.0).
Not confirmed ◂
  • The executable bit on debian/tests/smoke could not be inspected with the available read-only tools; autopkgtest requires it to be executable.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 1 hour ago.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package