dh-bazel 0.10.1
Package Information
| Description | debhelper buildsystem for packages using Bazel dh-bazel provides a debhelper buildsystem to build packages using Bazel. It is designed to help Debian packaging using Bazel and provides common tasks integrated with debhelper. |
|---|---|
| Maintainer | Debian Bazel Team <team+bazel@tracker.debian.org> |
| Changed By | Kentaro Hayashi <kenhys@xdump.org> |
| Sponsor | kenhys@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/bazel-team/dh-bazel.git (browse) |
| Closes | #1154961 |
| Tracker | https://tracker.debian.org/pkg/dh-bazel |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Source | dh-bazel |
|---|---|
| Version | 0.10.1 |
| Changed-By | Kentaro Hayashi <kenhys@xdump.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Mon, 23 Nov 2026 16:42:19 +0900 |
Changelog
dh-bazel (0.10.1) unstable; urgency=medium . * Initial upload to Debian. (Closes: #1154961)
.dsc
| Section | devel |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | dh-bazel deb devel optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: dh-bazel Upstream-Contact: Kentaro HAYASHI <kenhys@xdump.org> Source: https://salsa.debian.org/bazel-team/dh-bazel Files: * Copyright: 2026 Kentaro HAYASHI <kenhys@xdump.org> License: GPL-2+ License: GPL-2+ The full text of the GPL version 2 is distributed in /usr/share/common-licenses/GPL-2 on Debian systems.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 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 dh-bazel version 0.10.1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 1 minor
- debian/watch: absent (native package)
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5 with a single Files: * stanza naming Kentaro HAYASHI and GPL-2+, plus a stand-alone GPL-2+ paragraph pointing at /usr/share/common-licenses/GPL-2. COPYING is the GPL version 2 text, and README.md ("License: GPL2+") and Changes 0.2.0 ("Apply GPL2+ license") state the or-later grant, so the short name is correct. Nothing else in the tree carries a notice or different terms: greps for Copyright, ©, SPDX-License-Identifier, Permission is hereby granted, Licensed under, Apache, public domain and similar across all 256 files hit only COPYING, README.md, Changes and debian/copyright, and the prescan found every holder named.
Packaging
Small, conventional packaging: debhelper compat 14 with Rules-Requires-Root: no, current Standards-Version: 4.7.4, omitted Priority (correct since 4.7.3), sane Vcs-*/Homepage, and all six named dependencies exist in the archive (bazel-bootstrap 7.7.1, bazel-buildtools 10.2.0, pkgconf 2.5.1, libyaml-tiny-perl 1.76). The install file matches a plain dh_install directory copy into /usr/share/dh-bazel/override_module/, and the test suite is hermetic and runs during the build. The one gap is that there is no autopkgtest although the hermetic suite would need no bazel.
Issues
minor packaging 1. No autopkgtest, and salsa-ci explicitly disables autopkgtest for a suite that needs no bazel ◂
- Files:
debian/salsa-ci.yml:30,debian/control - Basis: checked, in the package or with a reference tool
- Evidence:
SALSA_CI_DISABLE_AUTOPKGTEST: 1with the stated reason "dh-bazel Depends on bazel-bootstrap ... so installing the binary package in the test chroot is expensive", while the same file notes the suite "use[s] fake dpkg-query/pkgconf/buildozer and Perl stubs from t/lib, so only perl (and sh) are needed; no bazel or the built package is required" and there is nodebian/tests/directory orTestsuite:field. - Problem: Policy does not require an autopkgtest, but established practice for a new package is to have one, and the stated obstacle does not apply to this package's own suite: the salsa-ci
test-unitjob runsprove -v t/with onlyperl libyaml-tiny-perl, andt/lib/TestDhBazel.pminstalls fakedpkg-query,pkgconfandbuildozeronPATH, so no bazel and no heavy dependency is installed. As it stands, regressions in the buildsystem are checked only by the package build and CI, never by the archive's test infrastructure. - Fix: Add
debian/tests/controlwith a test that installs@andlibyaml-tiny-perland runsprove -v t/in the unpacked source tree (the in-tree loadert/lib/Debian/Debhelper/Buildsystem/bazel.pmrequires../dhbazel/bazel.pm, which is present there), then dropSALSA_CI_DISABLE_AUTOPKGTEST. No bazel-bootstrap is needed for this test.
Verified ◂
- Prescan (
dfsg-author-check) listed no individual files and no missing holders: it found one declared holder and matched every holder in the tree to it, so there is nothing fordebian/copyrightto have omitted; it also listed no built files, minified code or non-free wording. - Inventory: 256 files, all plain text; read all 10 files of
debian/,COPYING,README.md,Changes,docs/, alldhbazel/**/MODULE.bazel/BUILD.bazel/*.bzl/pkgconf.yml, thet/tests and helpers, and the examples' sources and packaging. - Licence consistency:
COPYINGl.1-4 is the GPL version 2 text;README.md"## License" saysGPL2+;Changes0.2.0 says "Apply GPL2+ license";debian/copyrightLicense: GPL-2+matches, and its pointer/usr/share/common-licenses/GPL-2is the right file. - No third-party code copied in: the adapter modules named after other projects (
dhbazel/abseil-cpp,protobuf,openssl,zlib,zstd,libpng,rule*) contain only dh-bazel's own stubs and linkopts (e.g.dhbazel/zlib/BUILD.bazelis a 6-linecc_library;dhbazel/rules_apple/apple/macos.bzlis threepassstubs), not upstream sources, so no Google/Apache-2.0 holder is due. t/lib/Debian/Debhelper/{Buildsystem,Dh_Lib}.pm,t/lib/Dpkg/{Control,Deps}.pmandt/lib/TestDhBazel.pmare independent minimal test doubles (own implementations, comments say so), not copies of debhelper or dpkg code, soFiles: *with the dh-bazel holder is accurate for them.- The
examples/*/debian/directories ship nodebian/copyrightand each has alintian-overrideslineno-copyright-file; they are example packaging, are not installed (debian/dh-bazel.installonly installsdhbazel/), anddebian/dh-bazel.docsinstalls onlyREADME.mdanddocs/, so this is not a licensing issue for the binary package. debian/dh-bazel.installinstallsdhbazel/bazel.pmto/usr/share/perl5/Debian/Debhelper/Buildsystem/plus the 15dhbazel/*module directories into/usr/share/dh-bazel/override_module/;dh_install(1)FILES/EXAMPLES confirms a directory source installs asusr/share/dh-bazel/override_module/<name>/, matching whatdhbazel/bazel.pmlooks up.- Dependencies:
apt-cache showfoundbazel-bootstrap7.7.1+ds-8+b1 (satisfies>= 7.0~),bazel-buildtools10.2.0-1 (providesbuildozer),pkgconf2.5.1-4,libyaml-tiny-perl1.76-1;libdpkg-perlsuppliesDpkg::Control/Dpkg::Deps, and the module's only other external calls aredpkg-query(essential dpkg),pkgconf,buildozer,bazelandrm. - Compat 14:
Priorityomission is correct (Policy 2.5, A10.3 for 4.7.3); relationship substvars are added bydh_gencontrolat compat 14, so naming${misc:Depends}/${perl:Depends}is harmless;override_dh_auto_testchecksnocheckitself althoughdhalready skips that target at compat 13+. - Test suite is hermetic:
t/lib/TestDhBazel.pmwrites fakedpkg-query,pkgconfandbuildozerscripts into a temporary bin dir and pointsPATH/FAKE_*_DATAat them; the tests need no network, no bazel and no installed dh-bazel. debian/source/formatis3.0 (native)and the.dscbeside the tree carries a singledh-bazel_0.10.1.tar.xzwith no.orig, consistent with this Debian-only project.dhbazel/Makefileis an upstream developer convenience file (itsinstalltarget writes/usr/share/dh-python/modules, a leftover path);debian/rulesnever runs it and it is not listed indebian/dh-bazel.install, so it reaches no binary package.- There is no
debian/watch, and the package is native, so none is needed. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-2).
Not confirmed ◂
- Whether
dh-bazelbeingArchitecture: allwith a hardDepends: bazel-bootstrap(the package lists consulted show bazel-bootstrap built for amd64 only) causes installability or testing-migration problems on the other architectures; the README documents the restriction as intentional, and I could not check per-architecture availability or archive policy from here. - Did not build the package, run
prove -v t/, or build any of the example packages: the review is read-only, and a build or test failure is outside what it judges.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.