Review: java-class-name 0.2.0+ds-1
Package Information
| Description | extract class names from Java sources java-class-name reads a Java source file and returns the name of its public top-level class, without the package. It uses the outline Java parser of the Scala 3 compiler, so it does not need a JDK compiler. This package provides org.virtuslab.scala-cli.java-class-name:java-class-name_3, built for Scala 3. Scala CLI uses it to find the main class of Java inputs. |
|---|---|
| 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/java-class-name.git (browse) |
| Closes | #1154225 |
| Tracker | https://tracker.debian.org/pkg/java-class-name |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Date | Wed, 18 Nov 2026 13:00:00 +0100 |
|---|---|
| Source | java-class-name |
| Version | 0.2.0+ds-1 |
| Changed-By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Architecture | source all |
| Distribution | unstable |
Changelog
java-class-name (0.2.0+ds-1) unstable; urgency=medium . * Initial release. (Closes: #1154225)
.dsc
| Component | main |
|---|---|
| Package-List | libjava-class-name-scala3-java deb java optional arch=all |
| Section | java |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: java-class-name Upstream-Contact: https://github.com/VirtusLab/java-class-name Source: https://github.com/VirtusLab/java-class-name Files-Excluded: mill mill.bat musl-image Comment: The Mill launcher (no licence header) and the Docker files for the static native image are not used by the build. Files: * Copyright: 2022-2026 Piotr Chabelski <ged.subfan@gmail.com> 2022 Alexandre Archambault <alexandre.archambault@gmail.com> License: Apache-2.0 Comment: The repository has no LICENSE file and the sources have no headers. build.mill (pomSettings) and the POM published on Maven Central declare Apache-2.0. The code was first written in Scala CLI (Apache-2.0) by Piotr Chabelski and moved here by Alexandre Archambault, as README.md says; the holders are the authors in the git history. 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".
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 3 hours ago.
Report
DFSG NEW review for java-class-name version 0.2.0+ds-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
debian/copyright is DEP-5 and covers every file: Files: * gives Piotr Chabelski and Alexandre Archambault under Apache-2.0, and Files: debian/* gives Juan Manuel Méndez Rey under the same licence. The upstream tree has no LICENSE/COPYING and no source headers, but the Apache-2.0 declaration is supported by build.mill's pomSettings and the published Maven POM, as the copyright file explains; the full licence text is correctly referenced at /usr/share/common-licenses/Apache-2.0. No non-free terms, vendored differently-licensed code, or built/generated files without their inputs were found.
Packaging
The packaging is coherent: compat 14 with dh $@ --buildsystem=scala, all build and runtime dependencies exist (scala3; scala-debian-helper, which provides dh-sequence-scala; debhelper 14.5, which provides dh-sequence-single-binary), Standards-Version 4.7.4 is current enough, debian/scala-build, debian/poms and the autopkgtest classpath agree on jar names and coordinates, and the 3.0 (quilt) source has no patches. The two autopkgtest stanzas follow the autopkgtest field rules.
Issues
None.
Verified ◂
- Read /review-input/prescan.md: it lists no files; its author check found every holder it detected is named in debian/copyright.
- Read every file under debian/ and every upstream file in the small tree (build.mill, README.md, both Scala sources, the upstream test source, .github files and configs, Foo.java, reflect-config.json). No LICENSE, COPYING, NOTICE or AUTHORS file exists, and a case-insensitive grep found no non-free, GPL/LGPL/MPL/MIT/BSD or Creative Commons wording.
- All upstream files are covered by
Files: *and all debian files by the laterFiles: debian/*; no file is left unmatched. - Files-Excluded names mill, mill.bat and musl-image; none of those paths is present in the unpacked tree, so the repack matches the copyright file.
.github/scripts/gpg-setup.shis a five-line CI-only copy credited to coursier/apps; it carries no copyright notice of its own and Apache-2.0 is consistent with its source, so nothing is missing for Policy 2.3.- Checked that scala3, scala-debian-helper (Provides: dh-sequence-scala), debhelper 14.5 (Provides: dh-sequence-single-binary), scala-asm and libsbt-compiler-interface-java exist in the reviewing system's package lists; debhelper reports compat 14 is the recommended level.
- Checked Standards-Version 4.7.4 against Policy 4.7.4.1, copyright-format section 6.9 for the Files patterns, and the autopkgtest document for Test-Command/Tests/Features; no violation found.
- debian/tests/class-names, debian/scala-build and debian/poms consistently name java-class-name-3.jar, the Scala 3 compiler jars and the Maven artifact java-class-name_3; the binary package name and Description agree.
- uscan found the packaged version as the newest upstream release (upstream
0.2.0, packaged0.2.0+ds). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- The installed contents of scala-debian-helper 0.1 and scala3 could not be inspected, so the existence of /usr/share/scala-debian-helper/smoke-test and the exact /usr/share/java and /usr/share/maven-repo paths used by debian/tests/class-names were not independently verified; the package comments say they mirror scala3's scalac script.
- File modes are not exposed by the read-only tools, so the executable bit of debian/tests/class-names could not be confirmed; autopkgtest requires it to be executable.
- Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused:
read: "help://read/sources" is not a file of the package or of the reviewing system.
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 1 hour ago, started 1 hour ago, completed 1 hour ago.