pgtap 1.3.4-2
Package Information
| Description | Unit testing framework for PostgreSQL - metapackage pgTAP is a suite of database functions that make it easy to write TAP-emitting unit tests in psql scripts suitable for harvesting, analysis, and reporting by a TAP harness, such as those used in Perl and PHP applications. TAP is the Test Anything Protocol (http://testanything.org/). This metapackage depends on the PostgreSQL extension and the package providing pg_prove. |
|---|---|
| Maintainer | Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> |
| Changed By | Christoph Berg <myon@debian.org> |
| Sponsor | myon@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/postgresql/pgtap.git (browse) |
| Popcon Installs | 99 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/pgtap |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Architecture | source all |
|---|---|
| Distribution | unstable |
| Date | Tue, 24 Nov 2026 19:40:09 +0100 |
| Source | pgtap |
| Version | 1.3.4-2 |
| Changed-By | Christoph Berg <myon@debian.org> |
Changelog
pgtap (1.3.4-2) unstable; urgency=medium . * Upload for PostgreSQL 19. * Copyright overhaul.
.dsc
| Section | database |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | pgtap deb database optional arch=all pgtap-doc deb doc optional arch=all postgresql-19-pgtap deb database optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pgTAP Upstream-Contact: David E. Wheeler <david@justatheory.com> Source: https://github.com/theory/pgtap/ Files: * Copyright: 2008-2025, David E. Wheeler <david@justatheory.com>. Some rights reserved. License: PostgreSQL Files: debian/* Copyright: 2008, Pierre Chifflier <pollux@debian.org> 2015-2026, Christoph Berg <myon@debian.org> 2015-2016, Markus Wanner <markus@bluegap.ch> License: PostgreSQL License: PostgreSQL Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. . IN NO EVENT SHALL DAVID E. WHEELER BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF DAVID E. WHEELER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . DAVID E. WHEELER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND DAVID E. WHEELER HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. Comment: This is the PostgreSQL license (https://www.postgresql.org/about/licence/) as shipped in README.md and doc/pgtap.mmd, with the copyright holder's name substituted in the disclaimers.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 2 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 pgtap version 1.3.4-2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 1 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
Every licence term found in the tree is free and permissive (the PostgreSQL-style grant in README.md and doc/pgtap.mmd, reproduced in full in debian/copyright; no non-commercial, no-modification or field-of-use clauses), so the source itself is DFSG-compliant. debian/copyright is nevertheless not accurate or complete: its single Files: * stanza attributes the whole tree to David E. Wheeler under the PostgreSQL licence, while upstream's own comments mark tools/getos.sh as borrowed from Perl's Configure and tools/util.sh as adapted from decibel/db_tools, and sql/pgtap.sql.in as containing SQL borrowed from newsysviews (the latter installed into the extension). In addition, sql/pgtap.sql.in and compat/gencore declare the code to be distributed under the 'revised FreeBSD license', a statement debian/copyright does not address.
Packaging
Packaging is in good shape: debhelper 13 with dh and the pgxs_loop addon, a correct three-way split (metapackage, docs, postgresql-19 extension), current Standards-Version 4.7.4 against Policy 4.7.4.1, Vcs fields, 3.0 (quilt) source, a changelog consistent with the .dsc, and an autopkgtest that creates the extension and runs the upstream test suite. Build-dependencies resolve in the archive, and the doc-base index matches debhelper's automatic doc-main-package placement of pgtap-doc's files. Only a minor patch-hygiene nit remains.
Issues
important licensing 1. debian/copyright names only David E. Wheeler although upstream marks code as borrowed from Perl's Configure, decibel/db_tools and newsysviews ◂
- Files:
debian/copyright:6-8,Makefile:191,tools/getos.sh:1,tools/util.sh:1,sql/pgtap.sql.in:1923,sql/pgtap.sql.in:1935,sql/pgtap.sql.in:1950 - Basis: inferred from what was read, not seen directly
- Evidence: debian/copyright has one stanza:
Files: */Copyright: 2008-2025, David E. Wheeler <david@justatheory.com>. Some rights reserved./License: PostgreSQL. Upstream says:# Determine the OS. Borrowed from Perl's Configure.(Makefile:191),# Adapted from https://github.com/decibel/db_tools/blob/0.1.10/lib/util.sh(tools/util.sh:1),-- Borrowed from newsysviews: https://www.postgresql.org/ftp/projects/pgFoundry/newsysviews/(sql/pgtap.sql.in:1923, 1935, 1950). - Problem: debian/copyright attributes the entire upstream tree to one holder under one licence, but the package itself identifies three parts as taken from other projects, and none carries a holder or licence notice. tools/getos.sh and tools/util.sh are build/test helpers that are not installed, so Policy 2.3 does not require their holders to be named (its requirement covers notices that must be kept in copies or binary distributions); the newsysviews SQL, however, is built into sql/pgtap--1.3.4.sql and installed by postgresql-19-pgtap, so if it is not Wheeler's own work its holder and licence must be stated. The blanket statement cannot be shown to be accurate as it stands.
- Fix: Establish who wrote the borrowed Perl Configure OS-detection code, decibel/db_tools code and newsysviews SQL, and their licence terms; add Files stanzas and the corresponding licence texts (the Configure-derived code is under Perl's licence, Artistic-1.0-Perl or GPL-1+), or replace/rewrite the borrowed parts. If the newsysviews SQL is Wheeler's own, say so in the copyright file.
minor licensing 2. sql/pgtap.sql.in and compat/gencore declare the 'revised FreeBSD license', which debian/copyright does not mention ◂
- Files:
sql/pgtap.sql.in:1-3,compat/gencore:12-14,debian/copyright:6-8,debian/copyright:16-38 - Basis: checked, in the package or with a reference tool
- Evidence:
-- testing. It is distributed under the revised FreeBSD license.(sql/pgtap.sql.in:2) and-- distributed under the revised FreeBSD license.(compat/gencore:13); debian/copyright saysLicense: PostgreSQLand includes only the PostgreSQL text. - Problem: The header is copied into every SQL file generated from sql/pgtap.sql.in and by compat/gencore, including the extension SQL installed in postgresql-19-pgtap, so a binary package ships a licence statement that debian/copyright does not cover. README.md and doc/pgtap.mmd give the PostgreSQL licence, so this is most likely stale text, but if the revised BSD (2-clause) licence is actually meant, its text and the corresponding Copyright stanza are missing from debian/copyright.
- Fix: Confirm with upstream which licence applies. If the PostgreSQL licence is intended, have the stale header corrected upstream; if the code really is BSD-2-Clause, add a Files stanza for it and reproduce the BSD-2-Clause text in a stand-alone License paragraph.
minor packaging 3. debian/patches/no-destdir-for-installcheck lacks DEP-3 header fields ◂
- Files:
debian/patches/no-destdir-for-installcheck:1 - Basis: checked, in the package or with a reference tool
- Evidence: The file starts directly with
--- a/Makefile; unlike debian/patches/Makefile-doc it has noDescription:,Author:,Last-Update:orForwarded:fields. - Problem: The patch's purpose, author and forwarding status are not recorded in the patch itself, so its provenance is less clear than the other patch's (DEP-3 best practice; not a Policy requirement).
- Fix: Add a DEP-3 header, e.g. Description: Do not use DESTDIR when checking for installed extensions; Author: Christoph Berg myon@debian.org; Forwarded: not-needed.
Verified ◂
- Prescan author check: 144 files scanned; the only copyright notices in the tree are README.md:137 and doc/pgtap.mmd:8830, both
Copyright (c) 2008-2025 David E. Wheeler, who is named in debian/copyright's Files: * stanza. - debian/copyright is DEP-5 with the canonical Format URL, Files: * and debian/* stanzas, and a stand-alone PostgreSQL License paragraph with the full text (PostgreSQL is not in /usr/share/common-licenses); the text matches README.md and doc/pgtap.mmd.
- Tree is entirely text: no programs, libraries, bytecode, minified code, PDFs, fonts, images or archives. The only generated artefact is doc/pgtap.html, produced at build time by
make htmlfrom doc/pgtap.mmd, which is present; test/expected/.out are upstream regression-test expected outputs (test data); compat/.patch are pgTAP's own SQL compatibility patches. - No non-free wording found: no non-commercial, no-modification, field-of-use or 'Good, not Evil' terms; no SPDX-License-Identifier tags.
- Packaging fields checked: Standards-Version 4.7.4 (Policy 4.7.4.1, current); debhelper-compat 13 used with
dh $@ --with pgxs_loop; Architecture all for all three binaries; Vcs-Git/Vcs-Browser/Homepage present; source format 3.0 (quilt); changelog version 1.3.4-2 and unstable distribution agree with the .dsc. - Build-Depends resolve in the archive (apt-cache): debhelper-compat, libtap-parser-sourcehandler-pgtap-perl, libtext-multimarkdown-perl (ships multimarkdown used by
make html), postgresql-server-dev-all 297, postgresql-all <!nocheck>; postgresql-all is only needed for the installcheck tests, which dh skips at compat 13 under nocheck. - Autopkgtest: debian/tests/control requires libtap-parser-sourcehandler-pgtap-perl, patch, postgresql-common-dev (pg_buildext) and postgresql-contrib-19, which is a virtual package provided by postgresql-19; installcheck creates the extension and runs
make test. - debian/pgtap-doc.doc-base Index/Files path /usr/share/doc/pgtap/pgtap.html matches dh_installdocs' doc-main-package handling: compute_doc_main_package maps pgtap-doc to pgtap, and doc/*.html is copied to /usr/share/doc/pgtap/ inside pgtap-doc.
- Both patches apply to Makefile targets that the pgxs_loop/debhelper build uses; Makefile-doc drops toc.html/pg_prove.html generation, and no-destdir-for-installcheck keeps the build-time extension check out of DESTDIR.
- uscan found the packaged version as the newest upstream release (upstream
1.3.4, packaged1.3.4).
Not confirmed ◂
- Could not check the authorship and licence terms of Perl's Configure, decibel/db_tools 0.1.10 or newsysviews (network access is not available), so whether the borrowed code needs a separate holder/licence stanza is reasoned from the package's own comments.
- Could not build the package or run the autopkgtest; the build/test behaviour described is taken from debian/rules, the Makefile and the autopkgtest control file.
Proposed changes ◂
None.
Uploader's response to the LLM review
The package has been accepted in NEW every year with this exact shape, and there is no indication that anything is violated (newsysviews might even be David's own code), so please just review anyway.
— Christoph Berg (myon), 1 hour ago