DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: sourcecode 0.4.4-1

Package Information

Descriptionsource location metadata for Scala programs (Scala 2.13)

sourcecode gives a Scala program metadata about its own source, such as the current file, line and enclosing name, similar to __FILE__ and __LINE__ in C. The values are filled in at compile time through implicits.

This package provides com.lihaoyi:sourcecode_2.13, built for Scala 2.13.

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/sourcecode.git (browse)
Closes#1152799
Trackerhttps://tracker.debian.org/pkg/sourcecode
Uploaded1 hour ago

New Package Report

.changes◂
DateMon, 02 Nov 2026 21:31:51 +0100
Sourcesourcecode
Version0.4.4-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource all
Distributionunstable
Changelog◂
sourcecode (0.4.4-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1152799)
.dsc◂
Componentmain
Package-Listlibsourcecode-scala2.13-java deb java optional arch=all
libsourcecode-scala3-java deb java optional arch=all
Sectionjava
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: sourcecode
Upstream-Contact: Li Haoyi <haoyi.sg@gmail.com>
Source: https://github.com/com-lihaoyi/sourcecode

Files: *
Copyright: 2014 Li Haoyi (haoyi.sg@gmail.com)
License: Expat

Files: bin/travis_setup.sh
Copyright: 2015-2017 EPFL
License: BSD-3-clause
Comment: Copied unchanged from Scala Native, whose LICENSE.md gives this
 licence. CI script, not used by the build.

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: BSD-3-clause
 All rights reserved.
 .
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
 .
   * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the following disclaimer.
   * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the following disclaimer in the documentation
     and/or other materials provided with the distribution.
   * Neither the name of the EPFL nor the names of its contributors
     may be used to endorse or promote products derived from this software
     without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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 sourcecode version 0.4.4-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 in DEP-5 format and matches the tree. The project's MIT/Expat LICENSE (2014 Li Haoyi) is given as Files: , with separate stanzas and full licence texts for the two third-party files - bin/travis_setup.sh (EPFL, BSD-3-clause, as its own comment says it came from Scala Native) and the Mill launcher mill (Apache-2.0, as its header states) - plus debian/ for the packaging. All three licences are DFSG-free, no holder found in the tree is unnamed, every non-common-licence notice (BSD-3-clause, Expat) is reproduced in full, and no non-free wording exists anywhere (greps for non-commercial, no-modification, field-of-use, Creative Commons and similar found nothing).

Packaging

The packaging is consistent and follows current practice: debhelper compat 14 with dh-sequence-scala, two Architecture: all packages with ${misc:Depends}/${scala:Depends} (relationship substvars are added by dh_gencontrol at compat 14), no patches or maintainer scripts, an autopkgtest smoke test plus a real upstream test that compiles and runs sourcecode.Main against the installed jars, and a build-time test step guarded both by dh's compat-13 nocheck skipping of execute_after_dh_auto_test and by an explicit ifeq. Standards-Version 4.7.4 matches the installed Policy 4.7.4.1, Vcs-* and Homepage are present, and the changelog closes the ITP. Only the internals of the new scala-debian-helper could not be inspected on this system.

Issues

None.

Verified ◂
  • Read all of debian/ (control, rules, changelog, copyright, gbp.conf, salsa-ci.yml, scala-build, source/format, poms/*.xml, tests/control, tests/upstream-tests) and all 33 upstream files; debian/watch left to its separate check.
  • Licence evidence in the tree is only: LICENSE (The MIT License, Copyright (c) 2014 Li Haoyi), mill:31 (# Licensed under the Apache License, Version 2.0), build.mill:39 and the two POMs declaring License.MIT, and bin/travis_setup.sh's provenance comment. No per-file copyright headers exist, so the project LICENSE governs the sources, tests and README.
  • debian/copyright stanzas match: Files: * Expat 2014 Li Haoyi covers sourcecode/, sourcecode/test/, build.mill, README.md, .gitignore and .github/; Files: bin/travis_setup.sh BSD-3-clause 2015-2017 EPFL; Files: mill Apache-2.0 2019-2025 Tobias Roeser and 2025 Li Haoyi; Files: debian/* Expat 2026 Juan Manuel Mendez Rey. Later stanzas correctly override Files: *.
  • Full licence texts: Expat and BSD-3-clause are reproduced in debian/copyright (BSD-3 includes the 'Neither the name of the EPFL' clause and the disclaimer); Apache-2.0 carries its notice and points at /usr/share/common-licenses/Apache-2.0. No licence text is missing.
  • docs/After.png and docs/Before.png are the two screenshots embedded in README.md (![Before](docs/Before.png), ![After](docs/After.png)); they are upstream illustrations under the project's MIT licence, no debian/*.docs file exists, so they are neither installed nor compiled into either binary package.
  • mill and bin/travis_setup.sh are upstream build tooling not used by the Debian build (debian/rules calls dh with --buildsystem=scala and executes scalac-produced classes, never mill), and their holders and licences are stated anyway.
  • .github/workflows/actions.yml and .github/dependabot.yml are upstream CI configuration (GitHub Actions only), covered by Files: */Expat and not part of any binary package.
  • No non-free terms: a case-insensitive grep over the whole tree for non-commercial/noncommercial/no modification/field of use/Good, not Evil/Creative Commons/CC-BY/WTFPL/unrestricted-by-licence wording found nothing.
  • debian/rules:14 execute_after_dh_auto_test is skipped by dh under DEB_BUILD_OPTIONS=nocheck at compat 13 and later, and debian/rules:15 guards it again with ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))); no build dependency is marked <!nocheck>, so a nocheck build is not affected.
  • debhelper compat is 14, so dh_gencontrol adds the ${misc:Depends} and ${scala:Depends} relationship substvars itself; their presence in debian/control is correct and no substvar is missing.
  • Standards-Version 4.7.4 has the same first two components as the installed Policy 4.7.4.1, so it is current; changelog distribution is unstable, version 0.4.4-1 matches the .dsc, and the ITP is closed.
  • autopkgtest: per the autopkgtest specification the cwd of a test is the unpacked source root, so debian/tests/upstream-tests' relative sourcecode/test/src* paths are valid; the script writes only under ${AUTOPKGTEST_TMP} and installs nothing; its Depends name scalac-2.13 and scalac-3, which apt-cache confirms are the Commands of scala-2.13 and scala3.
  • Reference checks with apt-cache: dh-sequence-scala is provided by scala-debian-helper 0.1 (Depends includes default-jdk-headless, so java is present for the rules test), scala-2.13 2.13.18+ds2-3 and scala3 3.9.0+ds2-3 exist, and dh-make-scala 0.1 (the generator debian/scala-build names) exists.
  • No debian/patches and empty quilt series, so no DEP-3 header or forwarding question arises; no maintainer scripts or *.maintscript files.
  • uscan found the packaged version as the newest upstream release (upstream 0.4.4, packaged 0.4.4).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • scala-debian-helper 0.1 is not installed on the reviewing system, so dh_scala and scala-build(5) could not be read: the build-directory layout debian/rules assumes (debian/.dh-scala/<artifact>_<version>/classes), the meaning of the Sources/Classpath/Scalac-Options/Install: no/Jar-Name fields, the internal paths of the jars, and the content of ${scala:Depends} were not verified - in particular whether libsourcecode-scala3-java ends up depending on scala3-library, since its scala-build stanza has no Classpath entry.
  • The POMs installed by debian/poms/*.pom.xml declare upstream dependency versions (scala-library, scala-reflect and scala-compiler 2.13.8; scala3-library_3 3.3.3) while the archive has 2.13.18 and 3.9.0; whether dh_scala rewrites those versions before installing them into /usr/share/maven-repo could not be checked.
  • The jar names /usr/share/java/scala-library-3.jar (debian/rules) and $J/sourcecode-3.jar (debian/tests/upstream-tests) could not be compared with the file lists of scala3-library and the package's own jars, which are not available here.
  • 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: "xd://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 uploader was emailed about the review 0 hours ago.

Review Information

accepted — allocated to awm 0 hours ago, started 0 hours ago, completed 0 hours ago.

Final Comment

Back to Dashboard | View all reviews for this package