DFSG NEW Queue

DFSG, Licensing & New Packages Team

tdigest 1.4.7-2

Package Information

Descriptiont-digest algorithm for on-line accumulation of rank-based statistics

This PostgreSQL extension implements t-digest, a data structure for on-line accumulation of rank-based statistics such as quantiles and trimmed means. The algorithm is also very friendly to parallel programs.

The accuracy of estimates produced by t-digests can be orders of magnitude more accurate than those produced by previous digest algorithms in spite of the fact that t-digests are much more compact when stored on disk.

MaintainerDebian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed ByChristoph Berg <myon@debian.org>
Sponsormyon@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/postgresql/tdigest.git (browse)
Popcon Installs34
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/tdigest
Uploaded3 hours ago

New Package Report

.changes◂
Architecturesource amd64
Distributionunstable
DateWed, 25 Nov 2026 19:28:06 +0100
Sourcetdigest
Version1.4.7-2
Changed-ByChristoph Berg <myon@debian.org>
Changelog◂
tdigest (1.4.7-2) unstable; urgency=medium
 .
   * Upload for PostgreSQL 19.
   * Copyright overhaul.
.dsc◂
Package-Listpostgresql-19-tdigest deb database optional arch=any
Sectiondatabase
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: t-digest
Source: https://github.com/tvondra/tdigest

Files: *
Copyright: 2019, Tomas Vondra <tomas.vondra@postgresql.org>
License: PostgreSQL
 This module is free software; you can redistribute it and/or modify it under
 the terms of the PostgreSQL License:
 http://www.opensource.org/licenses/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 Tomas Vondra 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 Tomas Vondra
 has been advised of the possibility of such damage.
 .
 Tomas Vondra 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
 Tomas Vondra has no obligations to provide maintenance, support, updates,
 enhancements, or modifications.

Files: debian/*
Copyright:
 2013 Cyril Bouthors <cyril@bouthors.org>
 2020 Dominik George <natureshadow@debian.org>
 2021-2026 Christoph Berg <myon@debian.org>
License: GPL-2+
 This package is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This package is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 .
 On Debian systems, the complete text of the GNU General
 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

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 1 hour ago.

Report◂

DFSG NEW review for tdigest version 1.4.7-2

Summary

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

Licensing

debian/copyright is DEP-5 and complete. Upstream is under the PostgreSQL licence, reproduced in full in the Files: * stanza; the only upstream notices are the 2019 Tomas Vondra copyright in LICENSE and tdigest.c:5, both named there. debian/ is GPL-2+ with the three holders from the changelog history. A grep of the whole tree found no other holder, no vendored third-party code, no non-free wording and no built file without its source. All licence texts are free and the stanzas match the files.

Packaging

A well-maintained team package: debhelper compat 13 with the pgxs_loop addon, ${postgresql:Depends}/${postgresql:Breaks} substvars, postgresql-all <!nocheck> only for the tests, 64-bit restriction through architecture-is-64-bit, a working autopkgtest and Vcs fields. Standards-Version 4.7.4 is current against Policy 4.7.4.1, the .dsc matches debian/control (postgresql-19-tdigest, Testsuite: autopkgtest), and all named build dependencies exist in the archive. One minor defect: Test and Restrictions values in debian/tests/control carry a trailing comma.

Issues

minor packaging 1. debian/tests/control appends a comma to the Tests and Restrictions values, which are whitespace-separated lists ◂
  • Files: debian/tests/control:1-7

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

  • Evidence:

    Depends:
     postgresql-common-dev,
     @,
    Tests:
     installcheck,
    Restrictions:
     allow-stderr,
    

    DEP-8 (Policy autopkgtest): Tests: name-of-test [name-of-another-test ...] and Restrictions: restriction-name [another-restriction-name ...]; and Dpkg::Control::FieldsCore declares both fields with separator => FIELD_SEP_SPACE.

  • Problem: Tests and Restrictions are whitespace-separated lists of names, unlike Depends; so as written the stanza declares a test called installcheck, (not the existing debian/tests/installcheck) and a restriction called allow-stderr,, which is not one of the defined restrictions. Autopkgtest skips tests that declare unknown restrictions, and a test name with a comma does not match any file, so the stanza cannot run the intended test as long as autopkgtest follows the documented whitespace separation (it is not installed here, so its leniency could not be exercised). The trailing comma in Depends is harmless: dpkg's parser accepted it and derived Testsuite-Triggers: postgresql-common-dev in the .dsc.

  • Fix: Drop the commas: Depends: postgresql-common-dev, @, Tests: installcheck, Restrictions: allow-stderr; the line breaks with continuation lines may stay.

Verified ◂
  • Read every file of debian/: changelog, control, control.in, copyright, rules, pgversions, source/format, tests/control, tests/installcheck, gitlab-ci.yml; there are no patches, maintainer scripts, install/docs/links files or gbp.conf.
  • debian/copyright has the required Format: line; Files: * carries the full PostgreSQL licence text (not in /usr/share/common-licenses), Files: debian/* is GPL-2+ with the standard pointer to /usr/share/common-licenses/GPL-2.
  • Grep of all 141 files for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, permission, warranty and licence wording found notices only in LICENSE (2019 Tomas Vondra) and tdigest.c:5 (Tomas Vondra, 2019), both named in Files: *.
  • META.json lists Tomas Vondra and Nils Dijk as maintainers, but Nils Dijk makes no copyright claim anywhere in the tree, so Files: * is not demonstrably incomplete.
  • Upstream LICENSE leaves the PostgreSQL template's $ORGANISATION placeholders unresolved; debian/copyright resolves them to Tomas Vondra, the holder in the copyright notice, and reproduces the permission grant verbatim. No licensing effect.
  • All other upstream files are plain source or data under Files: : .github/workflows (CI), scripts/.sql (examples), test/sql and test/expected (upstream regression suite), .gitignore, META.json, README.md, Changes, tdigest.control and the tdigest--*.sql upgrade scripts; none carries a separate notice or third-party code.
  • latest-changes.md is a tracked file generated from Changes by the Makefile rule (its source is present); test/expected/*.out are upstream regression baselines, not build artefacts. No binaries, images or fonts in the tree; .pc/ ignored as instructed.
  • Build-Depends checked against the archive lists: postgresql-19 19.0-2, postgresql-all 297, postgresql-server-dev-all 297 (pulls postgresql-server-dev-19 and postgresql-common-dev 297), architecture-is-64-bit provided by architecture-properties 0.2.6+b2.
  • postgresql-18-tdigest 1.4.7-1 is in the archive; the ${postgresql:Depends} expansion to postgresql-NN was confirmed against postgresql-18-pgvector (Depends: postgresql-18).
  • debian/control is in sync with control.in plus pgversions (11+); only postgresql-19 is in the archive, so only postgresql-19-tdigest is generated, matching the .dsc Package-List.
  • The .dsc carries Testsuite: autopkgtest and Testsuite-Triggers: postgresql-common-dev derived by dpkg-source from debian/tests/control, so the XS-Testsuite field does no harm.
  • Standards-Version 4.7.4 against Policy 4.7.4.1 (current); compat 13 with dh $@ --with pgxs_loop; ${misc:Depends}, ${shlibs:Depends}, ${postgresql:Depends} and ${postgresql:Breaks} are present and correct at this compat level.
  • Test/example coverage was by full-tree grep plus reading the packaging, Makefile, README licence section, Changes and the test schedule; the ~140 SQL/expected test files were not read line by line.
  • uscan found the packaged version as the newest upstream release (upstream 1.4.7, packaged 1.4.7).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-2).
Not confirmed ◂
  • Autopkgtest is not installed on the reviewing system, so whether its parser tolerates the comma-terminated Tests/Restrictions values (and thus whether the stanza runs or is skipped) could not be exercised.
  • No build was possible: the pgxs_loop addon and pg_buildext are not installed here, so the build and installcheck flow was judged from debian/rules, the team conventions and the changelog, not run.
  • 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: "help://read/sources" is not a file of the package or of the reviewing system.
Proposed changes ◂

None.

Uploader's response to the LLM review

Utter AI hallucination bullshit.

/usr/share/doc/autopkgtest/README.package-tests.rst.gz which is the autoritative documentation starts with this example:

Tests: fred, bill, bongo
Depends: pkg1, pkg2 [amd64] | pkg3 (>= 3)
Restrictions: needs-root, breaks-testbed

— Christoph Berg (myon), 0 hours ago

Back to Dashboard | View all reviews for this package