DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: golang-github-workiva-go-datastructures 1.1.8-1

Package Information

Descriptioncollection of useful, performant, and thread-safe Go data structures

Go-datastructures is a collection of useful, performant, and thread-safe data structures written in Go.

Provided packages include: * augmentedtree: interval tree for collision in n-dimensional ranges * bitarray: regular and sparse bitarrays and bitmaps * btree (immutable, palm, plus): B-tree variants * fibheap: Fibonacci heap * futures: broadcast messages to multiple listeners * queue: normal, priority, and lock-free ring buffer queues * rangetree: n-dimensional range tree and skiplist * rtree: Hilbert R-tree * set, slice, sort, tree/avl, trie (ctrie, dtrie, xfast, yfast), cache, graph

MaintainerRicardo Ribalda Delgado <ribalda@debian.org>
Changed ByRicardo Ribalda Delgado <ribalda@debian.org>
Sponsorribalda@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/debian/golang-github-workiva-go-datastructures.git (browse)
Closes#1001983
Trackerhttps://tracker.debian.org/pkg/golang-github-workiva-go-datastructures
Uploaded5 hours ago

New Package Report

.changes◂
DateTue, 01 Dec 2026 12:52:01 +0000
Sourcegolang-github-workiva-go-datastructures
Version1.1.8-1
Changed-ByRicardo Ribalda Delgado <ribalda@debian.org>
Architecturesource all
Distributionunstable
Changelog◂
golang-github-workiva-go-datastructures (1.1.8-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1001983)
     Sean has been contacted (thanks Sean).
.dsc◂
Componentmain
Package-Listgolang-github-workiva-go-datastructures-dev deb golang optional arch=all
Sectiongolang
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: go-datastructures
Source: https://github.com/Workiva/go-datastructures.git

Files: *
Copyright: 2014-2016 Workiva, LLC
License: Apache-2.0

Files: bitarray/bitmap.go
       bitarray/bitmap_test.go
       trie/dtrie/*
Copyright: 2016, Theodore Butler
License: BSD-2-clause

Files: futures/selectable.go
       futures/selectable_test.go
Copyright: 2016 Workiva, LLC
           2016 Sokolov Yura aka funny_falcon
License: Apache-2.0

Files: graph/simple.go
       graph/simple_test.go
Copyright: 2017 Julian Griggs
License: Apache-2.0

Files: debian/*
Copyright: 2026 Ricardo Ribalda Delgado <ribalda@debian.org>
License: Apache-2.0

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.
 .
 On Debian systems, the complete text of the Apache License version 2.0
 can be found in "/usr/share/common-licenses/Apache-2.0".

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

Report◂

DFSG NEW review for golang-github-workiva-go-datastructures version 1.1.8-1

Summary

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

Licensing

Apache-2.0 (upstream LICENSE) with a BSD-2-Clause portion, both DFSG-free and compatible. debian/copyright is DEP-5: Files: * (Workiva, 2014-2016, Apache-2.0) with later, more specific stanzas for the BSD-2 files bitarray/bitmap{,_test}.go and trie/dtrie/* (Theodore Butler), futures/selectable* (Workiva and Sokolov Yura), and graph/simple* (Julian Griggs), plus debian/*. A grep of all 178 upstream files for copyright/licence wording found no holder or licence that a stanza does not cover; short names match the file headers, the BSD text is reproduced in full and Apache-2.0 points to /usr/share/common-licenses/Apache-2.0. No non-free terms, no vendored third-party code, and the one binary file in the tree is test output, not built code.

Packaging

Standard dh-golang packaging at debhelper compat 14: rules uses --builddirectory=_build --buildsystem=golang, and the explicitly declared dh-sequence-single-binary is what makes dh_auto_install place the Go sources directly in the package build dir (the recommended compat-14 choice, so no empty package or dh_missing failure). Build-Depends and the -dev Depends match the real imports (testify for the shipped mock package, msgp for btree/immutable; all exist in the archive), the only patch is a well-formed DEP-3 patch forwarded to upstream PR #258, Standards-Version 4.7.4 matches current Policy, and Testsuite: autopkgtest-pkg-go is handled by autodep8. No maintainer scripts, no split problems, changelog is sane.

Issues

None.

Verified ◂
  • debian/copyright read in full: DEP-5 with Files: * (Apache-2.0, Workiva 2014-2016), a BSD-2-clause stanza for bitarray/bitmap.go, bitarray/bitmap_test.go and trie/dtrie/, stanzas for futures/selectable.go(+_test) naming Workiva and Sokolov Yura, for graph/simple.go(+_test) naming Julian Griggs, and for debian/; the BSD text is complete and Apache-2.0 refers to /usr/share/common-licenses/Apache-2.0.
  • Grepped every upstream file (178, all directories, gitignore off) for Copyright, (C), SPDX, 'Licensed under', 'Permission is hereby granted', GPL/LGPL/Apache/MPL/MIT/CC/public-domain wording: the only copyright lines are Workiva, LLC (2014-2016), Theodore Butler (2016, BSD-2 headers in bitarray/bitmap*.go and all trie/dtrie files), Sokolov Yura aka funny_falcon (2016, futures/selectable*.go) and Julian Griggs (2017, graph/simple*.go), each named in the stanza that matches its files; licence short names agree with the file headers.
  • rtree/hilbert/cpu.prof: a Go pprof CPU profile left in the tree by a test/benchmark run, i.e. test output, not a compiled program whose source could be missing. dh-golang's buildsystem copies only .go/.c/.h/.s/testdata plus go.mod/go.sum from the source into the build tree (Debian::Debhelper::Buildsystem::golang), so the file is not installed into the -dev package; it is covered by Files: * (Apache-2.0).
  • Checked the btree/immutable node_gen.go and rt_gen.go generated files: both are msgp output for node.go and rt.go, which are present and carry //go:generate msgp, and golang-github-tinylib-msgp-dev is in Build-Depends.
  • Read all debian/ files: control, rules, changelog, gbp.conf, salsa-ci.yml, source/format, upstream/metadata, patches/series and the single patch. The patch moves the atomically accessed uint64 fields to the first word of blink, ptree, tree and SkipList, which is what sync/atomic's 32-bit alignment rule requires; all other atomic.*Uint64/Int64 call sites are on fields or locals whose first word is the 64-bit value (queue.RingBuffer's padding array, queue.node.position, the forCache locals), so no unaligned site remains.
  • apt-cache: golang-github-stretchr-testify-dev 1.12.1-2, golang-github-tinylib-msgp-dev 1.6.5-1 and golang-any exist; dh-sequence-single-binary is a virtual package provided by debhelper 14.5, which debhelper-compat (= 14) guarantees.
  • debhelper 14.5's compat documentation confirms at compat 14 dh_auto_install defaults to debian/tmp and the single-binary add-on passes --destdir=debian//; autopkgtest's testdesc.py treats a Testsuite containing autopkgtest-pkg- via autodep8, so Testsuite: autopkgtest-pkg-go works without debian/tests/control.
  • Sort, numerics/optimization, hashmap/fastinteger, mock/rangetree.go and several _test.go files carry no per-file notice; they are covered by the top-level Apache-2.0 LICENSE and by the Files: * stanza, and no other holder or licence text appears in them.
  • Test Generator/*.py, README.md, documentation.md, benchmarks.txt, Dockerfile, aviary.yaml and .github/ are upstream files under the top-level Apache-2.0 LICENSE and are not installed by dh-golang; the Wikipedia (numerics/hilbert/hilbert.go) and 1024cores (queue/ring.go) references are algorithm citations, not copied licence terms.
  • uscan found the packaged version as the newest upstream release (upstream 1.1.8, packaged 1.1.8).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • The build and go test were not run (not possible here); the 32-bit alignment patch is taken as tested by the maintainer, the tests as passing in a clean chroot.
  • rtree/hilbert/cpu.prof was identified by name, location and context only; as a binary file it was not opened.
Proposed changes ◂

None.

Uploader's response to the LLM review

The review found no issues, so no response is needed.

Review Information

accepted — allocated to awm 1 hour ago, started 1 hour ago, completed 1 hour ago.

Final Comment

Back to Dashboard | View all reviews for this package