DFSG NEW Queue

DFSG, Licensing & New Packages Team

case-app 2.2.0-1

Package Information

Descriptioncommand-line argument parsing for Scala (annotations)

case-app parses command-line arguments into Scala case classes. Options, help and usage messages are derived from the fields of the case class and their annotations.

This package provides the annotations, such as @Name, @HelpMessage and @ValueDescription: com.github.alexarchambault:case-app-annotations_3, built for Scala 3.

MaintainerDebian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/java-team/case-app.git (browse)
Closes#1154216
Trackerhttps://tracker.debian.org/pkg/case-app
Uploaded2 hours ago

New Package Report

.changes◂
Architecturesource all
Distributionunstable
DateTue, 17 Nov 2026 18:41:04 +0100
Sourcecase-app
Version2.2.0-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Changelog◂
case-app (2.2.0-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1154216)
.dsc◂
Sectionjava
Priorityoptional
Componentmain
Package-Listlibcase-app-annotations-scala3-java deb java optional arch=all
libcase-app-scala3-java deb java optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: case-app
Upstream-Contact: Alexandre Archambault <alexandre.archambault@gmail.com>
Source: https://github.com/alexarchambault/case-app

Files: *
Copyright: 2014 Alexandre Archambault
 2020 Filipe Regadas
 2026 Jakub Kozlowski
License: Apache-2.0

Files: util/src/main/scala-2/caseapp/util/Default.scala
 util/src/main/scala-2/caseapp/util/AnnotationListMacros.scala
Copyright: 2015 Alexandre Archambault
 2012-2015 Lars Hupel, Miles Sabin
License: Apache-2.0
Comment: Copied from shapeless (Apache-2.0), as the comments say:
 default.scala and annotation.scala, both by Alexandre Archambault, and
 construct() from generic.scala (Lars Hupel, Miles Sabin). Scala 2 only,
 not built.

Files: core/shared/src/main/scala/caseapp/core/app/CommandsEntryPoint.scala
 core/shared/src/main/scala/caseapp/core/app/ProfileFileUpdater.scala
 core/shared/src/main/scala/caseapp/core/complete/CompletionsInstallOptions.scala
 core/shared/src/main/scala/caseapp/core/complete/CompletionsUninstallOptions.scala
Copyright: 2014 Alexandre Archambault
 the Scala CLI contributors
License: Apache-2.0
Comment: Parts are adapted from Scala CLI (Apache-2.0, VirtusLab; its
 LICENSE has no holder line) and from coursier (Alexandre Archambault),
 as the comments say.

Files: core/shared/src/main/scala/caseapp/core/help/WordUtils.scala
Copyright: 2014 Alexandre Archambault
 The Apache Software Foundation
License: Apache-2.0
Comment: wrap is adapted from Apache Commons Lang's WordUtils.

Files: core/shared/src/main/scala/caseapp/core/util/Fansi.scala
Copyright: 2016 Li Haoyi (haoyi.sg@gmail.com)
License: Expat
Comment: A copy of fansi (https://github.com/com-lihaoyi/fansi), vendored
 by upstream in 2021 under its MIT licence. Its ansiRegex is a single
 regular expression from a 2015 Stack Overflow answer
 (https://stackoverflow.com/a/33925425, CC-BY-SA 3.0).

Files: unroll/*
Copyright: 2026 Li Haoyi
 2026 Alexandre Archambault <alexandre.archambault@gmail.com>
License: Expat
Comment: The unroll compiler plugin (https://github.com/com-lihaoyi/unroll),
 vendored through Chisel and coursier, see unroll/README.md. Upstream
 unroll declares MIT in its build file; Chisel added unroll/LICENSE. The
 coursier and case-app changes keep that licence. Built only to compile
 core; not installed.

Files: unroll/src/unroll/UnrollPhaseScala3.scala
Copyright: 2026 Li Haoyi
 2026 Alexandre Archambault <alexandre.archambault@gmail.com>
 EPFL and Lightbend, Inc.
License: Expat and Apache-2.0
Comment: isValidUnrolledMethod is adapted from the Scala 3 compiler
 (Apache-2.0), as the comment says.

Files: mill mill.bat
Copyright: 2019-2025 Tobias Roeser <le.petit.fou@web.de>
 2025 Li Haoyi <haoyi.sg@gmail.com>
License: Apache-2.0
Comment: Mill launcher, from https://github.com/lefou/millw via Mill's
 dist/scripts/src/mill.sh. Not used by the build.

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
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
 .
 http://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 license can be found in
 "/usr/share/common-licenses/Apache-2.0".

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, 0 important, 0 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 case-app version 2.2.0-1

Summary

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

Licensing

debian/copyright is DEP-5, covers the whole tree with Files: * and later overrides for the vendored/adapted files, and every specific stanza names a real path with the right holder and licence. Apache-2.0 (root LICENSE) and Expat (unroll/LICENSE and SPDX headers) texts are included or correctly pointed to /usr/share/common-licenses. The scan found no holder missing from debian/copyright, and no non-free wording or built artifacts are present.

Packaging

The packaging is conventional and policy-clean: debhelper compat 14 with the scala buildsystem, correct dependency substvars, two arch:all library packages matching debian/scala-build, two autopkgtests (a smoke test and a compile-and-run test of the installed jars), 3.0 (quilt) format without patches, Vcs-*/Homepage set, changelog consistent with the .dsc, and Standards-Version 4.7.4, current against Policy 4.7.4.1. Build-dependencies named in debian/control all exist (dh-sequence-scala is provided by scala-debian-helper 0.1, libsourcecode-scala3-java 0.4.4-1, scala3 3.9.0).

Issues

None.

Verified ◂
  • Prescan: it lists no file at all — dfsg-author-check found every copyright holder it detected named in debian/copyright, and no built files, minified code, PDFs or non-free wording were reported. Independently, a glob of the tree found no .jar, .class, .zip, .pdf or minified files; the tree is 175 source/text files.
  • Read all of debian/ (control, rules, changelog, copyright, gbp.conf, salsa-ci.yml, scala-build, lrc.config, watch, source/format, both poms, both tests) and the .dsc; read the top-level and unroll LICENSE files in full.
  • Licence inventory: a case-insensitive grep of the whole tree for copyright/licence/SPDX/permission found notices only in LICENSE (Apache-2.0, 2014 Alexandre Archambault), unroll/LICENSE (MIT, 2026 Li Haoyi), unroll/src/unroll/*.scala (// SPDX-License-Identifier: MIT), mill and mill.bat (Licensed under the Apache License, Version 2.0), and the two poms; no file has an unstated or conflicting licence.
  • Each Files: stanza matches existing paths: util/src/main/scala-2/... (shapeless copy, Scala 2 only and not built), the four Scala CLI/coursier-derived core files, WordUtils.scala (Apache Commons Lang, ASF), Fansi.scala (fansi, Li Haoyi), unroll/* and the Scala 3 compiler-derived UnrollPhaseScala3.scala (EPFL/Lightbend), mill/mill.bat (Tobias Roeser/Li Haoyi), and debian/*.
  • The adapted files carry provenance comments matching the copyright Comments (shapeless generic.scala, commons-lang WordUtils/StringUtils, scala-cli InstallCompletions/ProfileUpdater, coursier ProfileUpdater, scala3 PR 21693/22926 in UnrollPhaseScala3.scala), including the exact upstream commit URLs.
  • core/shared/src/main/scala/caseapp/core/util/Fansi.scala is a verbatim vendored fansi copy; its ansiRegex is a single one-line regex from the cited Stack Overflow answer and ECMA-48, disclosed in the file's copyright Comment (CC-BY-SA-3.0 would be available as /usr/share/common-licenses/CC-BY-SA-3.0 if needed). A one-line functional regex is not a separately licensed work, so the Expat stanza and its included text are adequate.
  • Apache-2.0 text requirement: the standalone License: Apache-2.0 paragraph includes the notice and points to /usr/share/common-licenses/Apache-2.0; the MIT/Expat paragraph contains the full text, as Expat is not in common-licenses. Both are shipped to users through dh_installdocs.
  • Licence compatibility: Apache-2.0 code (case-app, Scala CLI, coursier, shapeless, Commons Lang, Scala 3 compiler, Mill) and MIT code (fansi, unroll) combined in one jar are compatible, and the MIT notice is retained in debian/copyright.
  • Build dependencies checked with apt-cache: dh-sequence-scala is a virtual package provided by scala-debian-helper 0.1; libsourcecode-scala3-java 0.4.4-1 and scala3 3.9.0+ds2-3 are in the archive; the .dsc also declares Testsuite-Triggers for scala-debian-helper and scala3.
  • Compat 14 and debhelper 14.5: Depends: ${misc:Depends}, ${scala:Depends} is harmless because dh_gencontrol adds relationship substvars itself at this level. No debian/compat file, no conflicting declaration.
  • Standards-Version 4.7.4 vs Policy 4.7.4.1 (policy tool): first two components match, so it is current.
  • 3.0 (quilt) in debian/source/format with no debian/patches; the .pc/ directory was ignored as instructed. gbp.conf has no dist line, so the DEP-14 question does not arise.
  • debian/tests/control: two stanzas, Test-Command: /usr/share/scala-debian-helper/smoke-test (superficial) and Tests: compile-and-run; the latter runs scalac-3 on debian/tests/CaseAppTest.scala, and autopkgtest's documented example (python debian/tests/mytest.py) confirms test scripts run with the source root as cwd, so that path is correct.
  • debian/scala-build: all listed Sources/Resources directories exist; the three artifacts match the two binary package names and the two jars the autopkgtest expects (case-app-3.jar, case-app-annotations-3.jar); the unroll plugin is declared Install: no, consistent with it being built only into debian/.dh-scala to compile core.
  • debian/changelog: 2.2.0-1 matches the .dsc version and upstream 2.2.0, distribution unstable, initial release closing an ITP.
  • No maintainer scripts, no .maintscript, no .install/.links/.dirs, no debian/clean, and nothing in debian/rules beyond the dh sequencer call to judge.
  • uscan found the packaged version as the newest upstream release (upstream 2.2.0, packaged 2.2.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • scala-debian-helper/dh_scala is not installed on the reviewing system (no /usr/bin/dh_scala, no /usr/share/perl5/.../Buildsystem/scala.pm, no scala-build(5)), so the scala-build(5) syntax, the exact jar names it produces and the ${scala:Depends} it generates could not be exercised; the file's shape and the helper's own package description agree with it.
  • debian/poms/*.pom.xml list a Maven dependency on org.scala-lang:scala3-library_3 3.3.9, while the reviewing system's scala3 package is 3.9.0+ds2-3; whether dh_scala substitutes the Debian version when installing the POMs, or whether downstream Maven resolution is affected, could not be checked.
  • The autopkgtest script /usr/share/scala-debian-helper/smoke-test and the jar names /usr/share/java/{scala-library-3,sourcecode-3}.jar used by debian/tests/compile-and-run could not be checked against installed packages, since scala-debian-helper, scala3 and sourcecode are not installed on the reviewing system.
Proposed changes ◂

None.

Uploader's response to the LLM review

The review found no issues, so no response is needed.

Back to Dashboard | View all reviews for this package