semver-parser-scala 0.0.6-1
Package Information
| Description | semantic version and npm-style range parser for Scala semver-parser-scala parses semantic versions (1.2.3-beta+build) and version ranges in the syntax of npm (^1.2, ~1.2.3, >=1.0 <2.0, 1.x), and tells whether a version falls in a range. This package provides com.github.sh4869:semver-parser-scala_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/semver-parser-scala.git (browse) |
| Closes | #1154940 |
| Tracker | https://tracker.debian.org/pkg/semver-parser-scala |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Changed-By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
|---|---|
| Architecture | source all |
| Distribution | unstable |
| Date | Thu, 19 Nov 2026 13:25:33 +0100 |
| Source | semver-parser-scala |
| Version | 0.0.6-1 |
Changelog
semver-parser-scala (0.0.6-1) unstable; urgency=medium . * Initial release. (Closes: #1154940)
.dsc
| Package-List | libsemver-parser-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: semver-parser-scala Upstream-Contact: https://github.com/sh4869/semver-parser-scala/issues Source: https://github.com/sh4869/semver-parser-scala Files: * Copyright: 2020-2021 Nobuhiro Kasai <nobuk4869@gmail.com> License: Expat Comment: Upstream has no LICENSE file. build.sbt and the published semver-parser-scala_3-0.0.6.pom declare MIT, the OSI text, which is Expat. That licence is assumed until upstream clarifies it: https://github.com/sh4869/semver-parser-scala/issues/3 Nobuhiro Kasai (sh4869) is the only author in git blame of 0.0.6. The range grammar follows node-semver's documentation but is a new implementation: no line of node-semver's code or tests is copied. Files: debian/* Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me> 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, 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 semver-parser-scala version 0.0.6-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
The tree has no LICENSE/COPYING file and no per-file copyright or licence notice, but the sole copyright holder states the project's licence in the distributed source itself: ThisBuild / licenses += ("MIT", url("http://opensource.org/licenses/MIT")) in build.sbt, and the POM published for 0.0.6 (shipped in debian/poms) declares MIT with the same OSI URL. Debian's short name for that text is Expat, and debian/copyright is a valid DEP-5 file that carries the complete Expat text, names Nobuhiro Kasai, and records in the Files: * Comment both the evidence and the upstream request for clarification. Files: * covers the whole upstream tree (dotfiles included) and the later Files: debian/* stanza covers the packaging; nothing third-party is embedded (scala-parser-combinators is used as a Debian package, not copied) and the README's node-semver reference is a specification link, not copied code.
Packaging
Compat 14 with dh-sequence-scala is the recommended level, and the build is the standard one for a Scala 3 library: dh_scala compiles via debian/scala-build and installs the jar and POM into libsemver-parser-scala3-java, while ${scala:Depends} provides the Scala runtime and the package shipping the declared Classpath jar. Upstream's tests run during the build through execute_after_dh_auto_test (skipped under nocheck by dh at compat 13+, plus an explicit make-level filter) and again in autopkgtest against the installed jar. Section, package name, Architecture, Vcs-*, Homepage, Standards-Version 4.7.4, the initial changelog entry for unstable, and the absence of patches or maintainer scripts are all conventional; debian/README.source documents the licence assumption and the test shim.
Issues
None.
Verified ◂
- Read every upstream file (README.md, build.sbt, .gitignore, .scalafmt.conf, project/build.properties, project/plugins.sbt, the three src/main/scala sources and the two src/test/scala sources) and every file under debian/; .pc/ and debian/cargo-checksum.json are absent or ignored as instructed.
- The prescan's author check reported every holder it found named in debian/copyright; it listed no file for further examination, and a grep for copyright/licence/SPDX/public-domain wording confirms the tree contains no copyright notice or licence header other than build.sbt:19 and the POM's block.
- No LICENSE, COPYING, AUTHORS or NOTICE file exists anywhere in the tree; the licence relied on is the MIT declaration in build.sbt and in debian/poms/semver-parser-scala_3.pom.xml, which debian/copyright documents in its Comment rather than silently asserting.
- debian/copyright is DEP-5 with the exact copyright-format 1.0 Format URL; the Expat short name is correct for the quoted text (MIT), the text is complete and verbatim, and
Files: *(which matches dotfiles and subdirectories) is overridden byFiles: debian/*for the packaging files. - The only file under debian/ with upstream provenance is debian/poms/semver-parser-scala_3.pom.xml, a POM generated from build.sbt ('From Maven Central ... without the test dependencies'); it carries no copyright claim of its own and its developer metadata names Nobuhiro Kasai, so the
Files: debian/*stanza is not a misattribution of creative work. - No embedded third-party code: the sources import scala.util.parsing.combinator from libscala-parser-combinators-scala3-java; the npm/node-semver reference is a URL comment and README link, and README's 'copy test from node-semver' is an upstream TODO, with no node-semver code or test text present.
- debhelper on the reviewing system is 14.5, which calls compat 14 the recommended level; the debhelper tool confirms dh skips override and execute_after_ targets for dh_auto_test under nocheck from compat 13, and debian/rules also filters nocheck itself.
- dh_missing at compat 14 defaults to --fail-missing, but reading /usr/bin/dh_missing shows it uses debian/tmp by default and exits 0 when that directory does not exist and no --sourcedir was given, so the files dh_scala does not install cause no failure.
- apt-cache: dh-sequence-scala is provided by scala-debian-helper 0.1, scala3 exists (3.9.0+ds2-3) and ships scalac-3, and libscala-parser-combinators-scala3-java exists (2.4.0-1); all three Build-Depends resolve.
- dh_scala(1) states that ${scala:Depends} adds the Scala standard library package and 'the package that ships each Classpath jar', so the binary Depends covers scala3-library and libscala-parser-combinators-scala3-java, and the autopkgtest inherits them; the build hook and the autopkgtest script both put scala-parser-combinators-3.jar and scala-library-3.jar on the compiler/runtime classpath.
- Standards-Version 4.7.4 has its first two components equal to the reviewing system's Policy 4.7.4.1, so it is current.
- The autopkgtest (debian/tests/control, 'upstream') runs debian/tests/upstream from the unpacked source tree, compiles src/test/scala with the ScalatestShim.scala shim into $AUTOPKGTEST_TMP and runs the two named test classes against the installed jar, which needs only scala3 and the package itself.
- Packaging files: debian/control (single binary package, Arch: all, M-A: foreign for an arch:all jar, ${misc:Depends}/${scala:Depends}), debian/rules, debian/scala-build, debian/changelog (0.0.6-1, unstable, 'Initial release. (Closes: #1154940)'), debian/source/format 3.0 (quilt), debian/clean, debian/gbp.conf, debian/salsa-ci.yml, debian/README.source, debian/tests/* and debian/poms/* were read in full; there are no patches, install/link/docs files or maintainer scripts.
- uscan found the packaged version as the newest upstream release (upstream
0.0.6, packaged0.0.6).
Not confirmed ◂
- scala-build(5) and the scala-debian-helper build system module are not installed on the reviewing system, so I could not read the exact field semantics of debian/scala-build or how Jar-Name maps to the installed /usr/share/java name; the build is assumed to pass, and its own test hook would fail if the classpath jar names it uses were wrong.
- The POM shipped from debian/poms declares upstream's dependency versions (scala-parser-combinators_3 2.1.0, scala3-library_3 3.0.2) while the archive has 2.4.0 and 3.9.0; I could not check whether dh_scala/maven-repo-helper rewrites those versions, so Maven/sbt resolution from /usr/share/maven-repo is unverified.
- I could not check the executable bit on debian/tests/upstream and debian/tests/run-upstream-tests, nor verify debian/copyright's git-blame claim that Nobuhiro Kasai is the sole author of 0.0.6.
Proposed changes ◂
None.