DFSG NEW Queue

DFSG, Licensing & New Packages Team

golang-github-jdkato-adocgo 0.0~git20261119.d67faa5-1

Package Information

DescriptionAsciiDoc to HTML5, XHTML5 and DocBook 5 converter (library)

adocgo is a Go port of Asciidoctor, which converts AsciiDoc to HTML5, XHTML5, and DocBook 5, and its output matches Asciidoctor's byte for byte. It uses only the Go standard library.

MaintainerDebian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed ByMaytham Alsudany <maytham@debian.org>
Sponsormaytham@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/go-team/packages/golang-github-jdkato-adocgo.git (browse)
Closes#1154750
Trackerhttps://tracker.debian.org/pkg/golang-github-jdkato-adocgo
Uploaded2 hours ago

New Package Report

.changes◂
DateSun, 22 Nov 2026 08:40:19 +0800
Sourcegolang-github-jdkato-adocgo
Version0.0~git20261119.d67faa5-1
Changed-ByMaytham Alsudany <maytham@debian.org>
Architecturesource all
Distributionunstable
Changelog◂
golang-github-jdkato-adocgo (0.0~git20261119.d67faa5-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1154750)
.dsc◂
Sectiongolang
Priorityoptional
Componentmain
Package-Listgolang-github-jdkato-adocgo-dev deb golang optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/jdkato/adocgo
Upstream-Name: adocgo
Upstream-Contact: https://github.com/jdkato/adocgo/issues

Files: *
Copyright:
 2026 Joseph Kato
 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor
License: Expat and Apache-2.0

Files:
 data/asciidoctor-default.css
 testdata/docbook/standalone/rw-*
 testdata/upstream/*
 testdata/docs/*
 testdata/realworld/*
Copyright:
 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor
License: Expat

Files: testdata/realworld/asciidoctor-pdf/*
Copyright:
 2014-present OpenDevise Inc. and the Asciidoctor Project
License: Expat

Files: debian/*
Copyright:
 2026 Maytham Alsudany <maytham@debian.org>
License: Expat
Comment: Debian packaging is licensed under the same terms as upstream

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.

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
 .
 https://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.
Comment:
 On Debian systems, the full text of the Apache license, version 2.0 can be
 found at /usr/share/common-licenses/Apache-2.0

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-jdkato-adocgo version 0.0~git20261119.d67faa5-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 tree is DFSG-free — Apache-2.0 for Joseph Kato's Go code, Expat for the Asciidoctor-derived fixtures and stylesheet — and the holders and licence texts are right for nearly every file. One shipped fixture is declared under the wrong licence: testdata/realworld/fixtures/asciidoc_index.txt is a verbatim copy of the AsciiDoc project's home page, which credits Stuart Rackham and states GPLv2, yet the testdata/realworld/* stanza assigns it Expat and the Asciidoctor holders. No other file carries a conflicting licence statement, and no non-free or unlicensed material was found.

Packaging

Standard, sound pkg-go packaging: debhelper compat 13 with dh-sequence-golang, Standards-Version 4.7.4 (Policy 4.7.4.1, so current), one Architecture: all, Multi-Arch: foreign -dev package, correct XS-Go-Import-Path, Vcs-* and Homepage fields, NOTICE installed as documentation, justified lintian overrides for the testdata fixtures, autopkgtest-pkg-go, upstream metadata, gbp and salsa-ci configuration. No maintainer scripts and no patches; cmd and benchmarks are deliberately excluded, and the benchmarks module's goldmark dependency is unnecessary because it is a nested module that the build never enters.

Issues

blocker licensing 1. testdata/realworld/fixtures/asciidoc_index.txt is AsciiDoc's GPL-2 home page, but debian/copyright declares it Expat ◂
  • Files: testdata/realworld/fixtures/asciidoc_index.txt:1,20,31-32, debian/copyright

  • Basis: inferred from what was read, not seen directly

  • Evidence:

    AsciiDoc Home Page
    ==================
    ...
    'Stuart Rackham'
    ...
    AsciiDoc is free software and is licenced under the terms of the 'GNU
    General Public License version 2' (GPLv2).
    

    The Files: stanza covering it is:

    Files:
     data/asciidoctor-default.css
     testdata/docbook/standalone/rw-*
     testdata/upstream/*
     testdata/docs/*
     testdata/realworld/*
    Copyright:
     2012-present Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor
    License: Expat
    
  • Problem: The file is a 521-line verbatim copy of the AsciiDoc project's home page (examples/website/index.txt in asciidoc-py), not an Asciidoctor-authored snippet: it carries its own licence statement (GPLv2) and credits Stuart Rackham, and Asciidoctor's MIT grant cannot relicense that text. The testdata/realworld/* stanza therefore states the wrong licence and the wrong holder for it, and debian/copyright provides no GPL-2 stanza or pointer. The file is not used by any test (nothing in the tree references asciidoc_index) but is installed with the rest of testdata into /usr/share/gocode/src/github.com/jdkato/adocgo/ by dh-golang, so the wrong statement reaches both the source and binary packages. GPL-2 is DFSG-free, so this is an accuracy problem rather than a freedom one; Policy 12.5 still requires the copyright file to state the distribution licence correctly.

  • Fix: Either drop the unused fixture, or add a dedicated stanza before the Expat one, e.g. Files: testdata/realworld/fixtures/asciidoc_index.txt with Copyright: Stuart Rackham and the AsciiDoc contributors and License: GPL-2 (referring to /usr/share/common-licenses/GPL-2, or GPL-2+ if the AsciiDoc project's "any later version" grant is confirmed), and note it in the NOTICE.

Verified ◂
  • Read all of debian/ in full: control, rules, changelog, copyright, docs, gbp.conf, salsa-ci.yml, lintian-overrides, source/format, upstream/metadata; there is no debian/patches, no debian/tests, no maintainer scripts.
  • Licence evidence collected with grep over the whole tree (excluding .pc/) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU General Public/Lesser, Apache License, Mozilla Public, public domain, All rights reserved, and non-commercial/no-derivative wording.
  • LICENSE is Apache-2.0 and NOTICE records the Asciidoctor MIT notice; debian/copyright reproduces the full Expat text and points to /usr/share/common-licenses/Apache-2.0 for Apache-2.0, which Policy 12.5 allows.
  • debian/copyright is DEP-5 (Format: is the current 1.0 URL) and the Files: patterns match as they should: testdata/realworld/* (whose * matches across /) covers the fixtures, and the later testdata/realworld/asciidoctor-pdf/* and debian/* stanzas correctly override it.
  • data/asciidoctor-default.css is Asciidoctor's MIT default stylesheet (its header says so), embedded with //go:embed in html5.go:14 and installed through DH_GOLANG_INSTALL_EXTRA; its holder and Expat licence are in debian/copyright.
  • Pre-scan holder “ACME” in testdata/realworld/asciidoctor-pdf/docs__modules__theme__pages__page-numbers.adoc:52 and .html:62 is placeholder text inside a YAML theme example ((C) Copyright 2020 ACME. All rights reserved.), not a notice on the fixture.
  • Pre-scan holder “Arty Artisan” in testdata/realworld/syntax-reference.adoc:54 and testdata/docbook/standalone/rw-syntax-reference.adoc:54 is the sample text-replacement example (C) 1976 Arty Artisan, not a notice.
  • The French and German README translations (testdata/realworld/README-fr.adoc:418, README-de.adoc:452) name the Asciidoctor holder in translated form; the English form is in debian/copyright.
  • Other Stuart Rackham occurrences (testdata/upstream/document_0027.adoc:2,6, document_0032.adoc:2, document_0069.adoc:2, and the README/CHANGELOG/man-page mentions) are document author or :copyright: attribute values and prose about AsciiDoc.py, not notices on those MIT fixtures.
  • testdata/realworld/asciidoctor-pdf/NOTICE.adoc mentions the M+ and Noto fonts and the PrawnEncoder under their own terms (Prawn: Ruby/GPLv2/GPLv3; images CC-BY-SA-3.0/CC0); they are NOTICE text only — no font, image or Ruby file of that provenance is shipped (no .ttf/.woff/.pdf anywhere in the tree).
  • The expected .html/.xml files under testdata/ are generated by Asciidoctor 2.0.26 from the .adoc fixtures that are present (per testdata/README.md and NOTICE), and testdata/rx-compat.json from scripts/regen_rx.rb, which is present; they are test data, not builds without sources.
  • No archives, executables, bytecode, PDFs, fonts or minified JavaScript exist in the tree; the .svg files are small test fixtures under testdata/*/include/ and testdata/realworld/fixtures/.
  • debian/rules sets --builddirectory=debian/build because at compat 13 the golang buildsystem's inherited default is obj-<triplet>; DH_GOLANG_EXCLUDES := cmd benchmarks keeps the CLI and the separate benchmarks module out of the build and the -dev package, and benchmarks' goldmark requirement is therefore not a missing build dependency.
  • golang-any (2:1.27~1) and the dh-sequence-golang provider (dh-golang 1.67) exist in the reviewing system's package lists; go.mod needs 1.24, which that toolchain satisfies.
  • .pc/ was ignored throughout except to confirm applied-patches is empty.
  • uscan found the packaged version as the newest upstream release (upstream 0.0~git20261119.d67faa5, packaged 0.0~git20261119.d67faa5).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • Whether Asciidoctor ever obtained permission to redistribute the AsciiDoc home page under MIT is not evidenced anywhere in the tree; on the file's own text it is GPL-2 and the copyright file's Expat stanza is wrong for it.
  • 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

Waiting for the uploader's response until , because the review found serious issues.

Back to Dashboard | View all reviews for this package