Review: mainargs 0.7.8-1
Package Information
| Description | command-line argument parser for Scala main methods mainargs turns the parameters of annotated Scala methods or case classes into command-line options, with help text, defaults, flags and varargs. This package provides com.lihaoyi:mainargs_3, built for Scala 3. |
|---|---|
| Maintainer | Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> |
| Changed By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Sponsor | tsimonq2@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/java-team/mainargs.git (browse) |
| Closes | #1154891 |
| Tracker | https://tracker.debian.org/pkg/mainargs |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Date | Thu, 19 Nov 2026 04:35:07 +0100 |
|---|---|
| Source | mainargs |
| Version | 0.7.8-1 |
| Changed-By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Architecture | source all |
| Distribution | unstable |
Changelog
mainargs (0.7.8-1) unstable; urgency=medium . * Initial release. (Closes: #1154891)
.dsc
| Package-List | libmainargs-scala3-java deb java optional arch=all |
|---|---|
| Section | java |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mainargs Upstream-Contact: https://github.com/com-lihaoyi/mainargs/issues Source: https://github.com/com-lihaoyi/mainargs Files: * Copyright: 2014-2025 Li Haoyi <haoyi.sg@gmail.com> 2022-2023 Tobias Roeser <le.petit.fou@web.de> 2021-2022 Lorenzo Gabriele <lorenzolespaul@gmail.com> 2024 Jamie Thompson <bishbashboshjt@gmail.com> 2022-2024 Chris Kipp <ckipp@pm.me> 2024 Aleksander Rainko <aleksander.rainko99@gmail.com> 2024 Kristian Lentino 2020-2021 Jakob Odersky <jakob@odersky.com> License: Expat Comment: LICENSE names Li Haoyi; the other holders are the authors in git blame of 0.7.8. The parser, renderer and Scala 2 macros come from Ammonite's Router.scala and Scripts.scala and from cask's router, by Li Haoyi under MIT. call and getDefaultParams in mainargs/src-3/Macros.scala are copied from cask, by Jakob Odersky under MIT. Files: mill 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: Expat 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 0 hours ago.
Report
DFSG NEW review for mainargs version 0.7.8-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis 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
Upstream is MIT/Expat (LICENSE, Li Haoyi); the bundled mill launcher is Apache-2.0. debian/copyright is DEP-5 with correct stanzas, full Expat text, Apache-2.0 pointing at /usr/share/common-licenses/Apache-2.0, and it names every holder (Li Haoyi, Tobias Roeser, Lorenzo Gabriele, Jamie Thompson, Chris Kipp, Aleksander Rainko, Kristian Lentino, Jakob Odersky, Juan Manuel Méndez Rey). No non-free terms or unlicensed files found.
Packaging
Clean Scala package: debhelper compat 14 with dh-sequence-scala and dh-sequence-single-binary, correct source/binary names, ${scala:Depends} in place, a DEP-3 test patch for utest 0.9, an autopkgtest compiling and running upstream's Scala 3 suites, and a sane initial changelog. Build dependencies and autopkgtest dependencies all exist in the archive; the <!nocheck> test-only dependencies are not needed outside the dh_auto_test hook.
Issues
None.
Verified ◂
- Read every file under debian/ except debian/watch (reviewed separately) and .pc: control, rules, changelog, copyright, scala-build, clean, gbp.conf, salsa-ci.yml, source/format, patches/series and the patch, poms/mainargs_3.pom.xml, tests/control, tests/upstream, tests/run-upstream-tests and tests/runner/RunTests.scala.
- Grepped all 67 upstream files for copyright, (C), ©, SPDX, MIT/Expat, Apache, GPL/LGPL/MPL, non-commercial and no-modification wording; the only notices are LICENSE (MIT, Li Haoyi) and mill (Apache-2.0 header), both covered by their stanzas. The prescan's author check found no holder missing from debian/copyright.
- debian/copyright is machine-readable, its Format line is the current 1.0 URL, Files: * is overridden correctly by Files: mill and Files: debian/*, the Expat text is complete, and the Apache-2.0 paragraph points to the correct common-licenses file.
- Verified the Build-Depends names against the archive: dh-sequence-scala is provided by scala-debian-helper 0.1, dh-sequence-single-binary by debhelper 14.5, and libutest-scala3-java 0.9.5-1, libsbt-test-interface-java 1.0+repack-1, libsourcecode-scala3-java 0.4.4-1, libscala-collection-compat-scala3-java 2.14.0-1 and scala3 3.9.0+ds2-3 exist.
- Confirmed that debian/tests/control's Depends transitively supply every jar run-upstream-tests uses: libutest-scala3-java Depends on libsbt-test-interface-java, libscala-collection-compat-scala3-java, libsourcecode-scala3-java and scala3-library.
- Confirmed the patch has complete DEP-3 headers and that no compileError/intercept uses remain in test/src or test/src-3; it only adapts to utest 0.9 API names.
- Checked that at compat 14 the execute_after_dh_auto_test hook (and its own nocheck guard) is skipped under nocheck, so the <!nocheck> test dependencies are not needed in a nocheck build.
- uscan found the packaged version as the newest upstream release (upstream
0.7.8, packaged0.7.8). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- scala-debian-helper is not installed on the reviewing system, so the helper's generated build directory (debian/.dh-scala/mainargs_3/classes), the jar paths used by debian/tests/run-upstream-tests (such as /usr/share/java/scala-library-3.jar), and how debian/poms/mainargs_3.pom.xml is installed could not be checked; no build was run.
Proposed changes ◂
None.
Uploader's response to the LLM review
The review found no issues, so no response is needed.
Review Information
accepted — allocated to awm 0 hours ago, started 0 hours ago, completed 0 hours ago.