DFSG NEW Queue

DFSG, Licensing & New Packages Team

golang-github-extism-go-sdk 1.7.1+ds-1

Package Information

DescriptionGo SDK for the Extism WebAssembly plugin runtime (library)

This repo houses the Go SDK for integrating with the Extism runtime. Install this library into your host Go applications to run Extism plugins.

MaintainerDebian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/go-team/packages/golang-github-extism-go-sdk.git (browse)
Closes#1152903
Trackerhttps://tracker.debian.org/pkg/golang-github-extism-go-sdk
Uploaded2 hours ago

New Package Report

.changes◂
Version1.7.1+ds-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource all
Distributionunstable
DateMon, 02 Nov 2026 23:55:00 +0100
Sourcegolang-github-extism-go-sdk
Changelog◂
golang-github-extism-go-sdk (1.7.1+ds-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1152903)
.dsc◂
Package-Listgolang-github-extism-go-sdk-dev deb golang optional arch=all
Sectiongolang
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/extism/go-sdk
Upstream-Name: go-sdk
Upstream-Contact: https://github.com/extism/go-sdk/issues
Files-Excluded:
 extism-runtime.wasm
 plugins/noop/throw.wasm
 wasm
Files-Excluded-extism:
 .github
 .gitignore
 Cargo.toml
 DEVELOPING.md
 Makefile
 README.md
 convert
 convert-macros
 extism-maturin
 libextism
 manifest
 nuget
 runtime
 wasm
Comment: extism-runtime.wasm is the prebuilt Extism kernel, rebuilt from the
 extism component (kernel/ and LICENSE of the extism repository).
 plugins/noop/throw.wasm and wasm/ hold prebuilt test plugins.

Files: *
Copyright: 2023 Extism
License: BSD-3-clause

Files: extism/*
Copyright: 2022 Dylibso, Inc.
License: BSD-3-clause

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: BSD-3-clause
Comment: Debian packaging is licensed under the same terms as upstream

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
 .
 1. Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.
 .
 2. 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.
 .
 3. Neither the name of the copyright holder 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 HOLDER 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.

DFSG Assistant LLM REVIEW 1 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 1 hour ago.

Report◂

DFSG NEW review for golang-github-extism-go-sdk version 1.7.1+ds-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 1 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

The whole tree is BSD-3-Clause and DFSG-free: the top-level LICENSE is 'Copyright (c) 2023, Extism', and the Extism kernel copied into extism/ carries its own LICENSE, 'Copyright 2022 Dylibso, Inc.'; both match their debian/copyright stanzas, and no other copyright or licence notice exists in the tree. The generated extism-runtime.wasm and testdata/kernel.wasm are built at build time from sources present (extism/kernel/src, testdata/kernel.wat), so nothing lacks its preferred form. debian/copyright is however inaccurate for the two files the Debian patch adds at the top of the tree: Files: * attributes debian_kernel_test.go and testdata/kernel.wat to 'Extism', although the patch header and the files' own comments show the Debian maintainer wrote them.

Packaging

Careful packaging: debhelper compat 14 with dh-go's golang buildsystem, the prebuilt kernel removed from the orig (+ds) and rebuilt by debian/rules from the extism component with rustc alone, a Static-Built-Using substvar for rustc, a DEP-3 patch adding a Debian test plugin, plugins/ excluded from build and install, dependencies that all exist (one, dylibso observe-sdk, still in NEW), and a documented reason for not running upstream's wasm-plugin tests. Standards-Version 4.7.4 equals the reviewing system's Policy 4.7.4.1, and the gbp.conf 'dist = DEP14' is a documented gbp special value, not an error. No packaging issue found.

Issues

blocker licensing 1. Files: * names Extism as copyright holder of the Debian-written debian_kernel_test.go and testdata/kernel.wat ◂
  • Files: debian/copyright:28-30, debian/patches/0001-Add-tests-for-the-kernel-built-from-source.patch:5, debian_kernel_test.go:1-3, testdata/kernel.wat:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright: Files: * / Copyright: 2023 Extism; the patch has Author: Juan Manuel Méndez Rey <juan.mendezr@proton.me> and creates both files with new file mode, and they say // Tests for the Extism kernel built from source by the Debian package. and ;; Test plugin for the Extism kernel, written for the Debian package.
  • Problem: Both files are created by debian/patches and written by the Debian maintainer, and neither is matched by the Files: extism/* or Files: debian/* stanza (they are at the top level, not under debian/), so the last matching stanza is Files: *, which credits Extism for code Extism never wrote. DEP-5 (copyright-format 5.2, 6.8) requires the Copyright field of the matching stanza to name the actual holders, so the file does not accurately describe the copyright of every file in the source.
  • Fix: Add a stanza after Files: * covering the two added files with the maintainer as holder, e.g. Files: debian_kernel_test.go testdata/kernel.wat / Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me> / License: BSD-3-clause.
Verified ◂
  • Read both licence files in full: top-level LICENSE is BSD-3-Clause, 'Copyright (c) 2023, Extism'; extism/LICENSE is BSD-3-Clause, 'Copyright 2022 Dylibso, Inc.' Both match their debian/copyright stanzas, including the short name BSD-3-clause and the full text reproduced in the file.
  • Grepped the whole tree (gitignore: false) for Copyright, (C), ©, SPDX-License-Identifier, 'Licensed under', 'Permission is hereby granted', GNU GPL/LGPL, Apache License, Mozilla Public, 'public domain' and 'All rights reserved': the only hits are those two LICENSE files, the packaging, and the Debian patch's own text. No file carries a notice that debian/copyright omits or contradicts.
  • The scan's copyright-holder check listed no files (it found every scanned holder named); that is consistent with my own grep, so there is nothing from the scan to account for file by file.
  • debian/copyright begins with exactly Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/, so it is DEP-5 and no replacement was proposed.
  • Files-Excluded entries (extism-runtime.wasm, plugins/noop/throw.wasm, wasm) are absent from the unpacked tree, and neither orig tarball contains a prebuilt .wasm. The .pc/ tree and debian/cargo-checksum.json were ignored throughout.
  • The shipped generated artefacts have their sources: extism-runtime.wasm is built by debian/rules from extism/kernel/src/lib.rs, src/bin/extism-runtime.rs and extism-context.wat (present from the orig-extism component, v1.7.0, with its LICENSE), and testdata/kernel.wasm is built from testdata/kernel.wat.
  • Files-Excluded-extism is not a draft field: uscan(1) documents Files-Excluded-component for per-component exclusions (Files-Excluded-bar: example), and the extism component tarball indeed holds only kernel/ and LICENSE.
  • Tree inventory covered every file (77 files, including .github/, .vscode/, .gitignore, plugins/*/go.mod|go.sum and extism/kernel/.cargo/config.toml); there is no vendored third-party code apart from the Extism kernel in extism/, and the dependency modules (wazero, observe-sdk, glob, testify) are imported, not copied.
  • Packaging references: XS-Go-Import-Path matches go.mod's module github.com/extism/go-sdk; the patch has DEP-3 headers (Description, Author, Forwarded: not-needed, Last-Update); no maintainer scripts or debian/tests are needed, the pkg-go autopkgtest rebuilds the package and so runs the kernel tests through dh_auto_test.
  • Build-Depends exist in unstable: golang-github-tetratelabs-wazero-dev 1.12.0, golang-github-gobwas-glob-dev 1.0.0, golang-github-stretchr-testify-dev, wasm-tools 1.239.0, binaryen 131, wabt 1.0.42, lld, rustc and libstd-rust-dev-wasm32 (1.97.1), dh-go 1.69, and dpkg-dev provides dpkg-build-api (= 1). golang-github-dylibso-observe-sdk-dev is not in the archive but is built by golang-github-dylibso-observe-sdk 0.0~git20240819.2d926c5+ds-1, waiting in NEW, so it is not a fault.
  • Not running upstream's tests is justified: their plugins need github.com/extism/go-pdk, which no package in the archive provides, and TinyGo has no binary package, so the wasm/ plugins are excluded from the orig; debian/rules instead builds a small WAT plugin and runs only TestDebianKernel*.
  • Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1. debian/gbp.conf's dist = DEP14 is the special value gbp documents for deriving the pbuilder distribution from a DEP-14 branch (gbp/scripts/buildpackage.py, get_pbuilder_dist), not a wrong distribution name.
  • uscan found the packaged version as the newest upstream release (upstream 1.7.1, packaged 1.7.1+ds).
Not confirmed ◂
  • No build or test was run (read-only review): that wasm-strip is shipped by wabt and wasm-merge by binaryen, and that go-sdk 1.7.1 compiles against wazero 1.12.0 rather than the v1.9.0 its go.mod names, were not exercised; only the packages' existence in the archive was checked.
Proposed changes ◂

None.

Uploader's response to the LLM review

Right about the holder: both files are added by debian/patches/0001 and are mine, under the same BSD-3-clause. Fixed in the next revision: https://salsa.debian.org/go-team/packages/golang-github-extism-go-sdk/-/commit/d4284d1 . Since the licence is the same and nothing is undistributable, please accept

— Juan Manuel Méndez Rey (mendezr), 0 hours ago

Back to Dashboard | View all reviews for this package