golang-github-hashicorp-go-getter 1.8.9-1
Package Information
| Description | download files and directories from a URL (library) go-getter is a Go library for downloading files and directories from a wide range of sources using a single URL string as input. It supports local files, HTTP, Git, Mercurial, Amazon S3 and Google Cloud Storage, and can transparently decompress tar, gzip, bzip2, xz, zstd and zip archives. A detector layer rewrites shorthand inputs such as "github.com/user/repo" or "./foo" into proper URLs, and downloads can be checksum-verified via a URL query parameter. |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Sponsor | tsimonq2@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/go-team/packages/golang-github-hashicorp-go-getter.git (browse) |
| Closes | #1148633 |
| Popcon Installs | 1 |
| Tracker | https://tracker.debian.org/pkg/golang-github-hashicorp-go-getter |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Source | golang-github-hashicorp-go-getter |
|---|---|
| Version | 1.8.9-1 |
| Changed-By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Architecture | source all |
| Distribution | unstable |
| Date | Tue, 22 Sep 2026 02:39:48 +0200 |
Changelog
golang-github-hashicorp-go-getter (1.8.9-1) unstable; urgency=medium
.
* Reintroduce the package (Closes: #1148633). 1.4.1-1 was removed from
unstable on 2026-01-20 (RoQA, rc-buggy, #1122179) over unfixed CVEs.
* New upstream version 1.8.9. Fixes every CVE the security tracker lists
for the package except CVE-2026-19585.
* Backport the upstream fix for CVE-2026-19585 from 1.8.10.
* Run the git, hg and archive permissions tests.
* Switch to dh-go for module-aware builds; debhelper-compat 14.
* Refresh d/copyright and d/watch; add d/salsa-ci.yml..dsc
| Section | golang |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | golang-github-hashicorp-go-getter-dev deb golang optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/hashicorp/go-getter
Upstream-Name: go-getter
Upstream-Contact: https://github.com/hashicorp/go-getter/issues
Files: *
Copyright: IBM Corp. 2015, 2026
License: MPL-2.0
Comment: LICENSE and the file headers name IBM Corp. (2015, 2025 or 2015, 2026);
no "HashiCorp, Inc." line remains.
Files: debian/*
Copyright: 2016-2020 Dmitry Smirnov <onlyjob@debian.org>
2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: GPL-3+ or MPL-2.0
License: GPL-3+
This program 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 3 of the License, or
(at your option) any later version.
.
This program 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.
Comment:
On Debian systems, the complete text of the GNU General Public License
version 3 can be found in "/usr/share/common-licenses/GPL-3".
License: MPL-2.0
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Comment:
On Debian systems, the complete text of the MPL-2.0 license can be found
in "/usr/share/common-licenses/MPL-2.0".
DFSG Assistant LLM REVIEW 0 blocker, 0 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 3 hours ago.
Report
DFSG NEW review for golang-github-hashicorp-go-getter version 1.8.9-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: No
- Issues: 0 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 53 found (2 not listed by the scan, so not checked)
Licensing
debian/copyright is DEP-5 1.0. Files: * gives IBM Corp. and MPL-2.0, which matches LICENSE and every file header; debian/* gives the packagers and GPL-3+ or MPL-2.0. Both short names have their text or a pointer to an existing /usr/share/common-licenses file, and MPL-2.0 is DFSG-free. No other holder, no non-free clause, no vendored third-party code and no built files: the archives and Mercurial files the scan listed are test fixtures.
Packaging
Modern packaging: compat 14, dpkg-build-api 1, dh-go with the golang build system and addon, a DEP-3 patch for CVE-2026-19585, autopkgtest-pkg-go and salsa-ci, with correct <!nocheck> build-dependencies. Two dependency defects remain: a Build-Depends/Depends on golang-github-hashicorp-aws-sdk-go-base-v2-dev that no archive or NEW upload provides, although get_s3.go imports it, and an oauth2 dependency that names the -google package while only golang.org/x/oauth2 is imported.
Issues
1. [minor] [packaging] Build-Depends and Depends name golang-github-hashicorp-aws-sdk-go-base-v2-dev, which no archive or NEW upload provides
- Files:
debian/control:12,debian/control:34,get_s3.go:21 - Basis: checked, in the package or with a reference tool
- Evidence:
golang-github-hashicorp-aws-sdk-go-base-v2-devin both fields;get_s3.goimportsgithub.com/hashicorp/aws-sdk-go-base/v2/endpoints. apt-cache:There is no binary package named golang-github-hashicorp-aws-sdk-go-base-v2-dev in these lists, and nothing provides it. Nor is it a binary of this package or of any upload waiting in the NEW queues (the list on ftp-master.debian.org as of 2026-10-30T00:07:58Z). - Problem: The dependency cannot be satisfied, so the source package cannot be built and the -dev package cannot be installed from the archive. The package lists can lag a few days, so a recheck against a fresh apt update is warranted, but on today's unstable, experimental and NEW lists the name does not exist.
- Fix: Ensure the aws-sdk-go-base v2 package is accepted first (or correct the name if it is a typo) and verify that
apt-cache show golang-github-hashicorp-aws-sdk-go-base-v2-devresolves, in Build-Depends and in the -dev Depends.
2. [minor] [packaging] Depends and Build-Depends name golang-golang-x-oauth2-google-dev, but only golang.org/x/oauth2 is imported
- Files:
debian/control:18,debian/control:41,get_gcs.go:16 - Basis: checked, in the package or with a reference tool
- Evidence:
get_gcs.go:16importsgolang.org/x/oauth2; no file importsgolang.org/x/oauth2/google. apt-cache:golang-golang-x-oauth2-google-devDepends: golang-golang-x-oauth2-dev (= 0.37.0-1). - Problem: The direct dependency is not the package that provides the imported module; it works only because the -google package pulls in golang-golang-x-oauth2-dev, and it forces an unneeded package (and its google-cloud-compute-metadata-dev dependency) on every consumer of the library.
- Fix: Replace
golang-golang-x-oauth2-google-devwithgolang-golang-x-oauth2-devin both the Build-Depends and the Depends field.
Verified
- All of debian/ was read in full apart from debian/watch (out of scope): control, rules, changelog, copyright, gbp.conf, salsa-ci.yml, source/format, source/lintian-overrides, upstream/metadata, patches/series and the patch, and the two binary lintian override files. There are no maintainer scripts, no .install/.dirs/.links/.maintscript files and no debian/tests directory.
- debian/copyright is DEP-5 1.0 with
Files: *(Copyright: IBM Corp. 2015, 2026,License: MPL-2.0) andFiles: debian/*(2016-2020 Dmitry Smirnov,2026 Juan Manuel Méndez Rey,GPL-3+ or MPL-2.0); the stand-alone GPL-3+ and MPL-2.0 paragraphs point to /usr/share/common-licenses/GPL-3 and /usr/share/common-licenses/MPL-2.0, both present. - Grepped the whole tree with gitignore: false for copyright/(C)/©/SPDX-License-Identifier/Licensed under/All rights reserved/public domain/non-commercial/Permission is hereby granted. Every header is
Copyright IBM Corp. 2015, 2025(newer files2015, 2026) plusSPDX-License-Identifier: MPL-2.0; the only other copyright wording is inside the MPL-2.0 text itself. The holder the scan flagged,IBM Corp. 2015, 2025in .github/dependabot.yaml, .goreleaser.yml, client.go and 84 more files, is the same holder already named inFiles: *; the 2025/2026 difference is year drift, not a missing holder. - The only licence file is the top-level LICENSE (MPL-2.0,
Copyright IBM Corp. 2015, 2026); there is no second LICENSE/COPYING/NOTICE/AUTHORS anywhere and no vendor/ directory, so nothing is an embedded copy of a library Debian also ships. - The 42 archives are test fixtures, read by decompress_*_test.go via
filepath.Join("./testdata", ...)and by decompress_tar_test.go/decompress_zip_test.go from./test-fixtures/; they hold trivial fixture files and are not built artefacts:test-fixtures/decompress-tar/bad.tar,test-fixtures/decompress-tar/permissions.tar,test-fixtures/decompress-zip/permissions.zip,testdata/archive.tar.gz,testdata/archive-rooted/archive.tar.gz,testdata/archive-rooted-multi/archive.tar.gz,testdata/basic-file-archive/archive.tar.gz,testdata/decompress-bz2/single.bz2,testdata/decompress-gz/single.gz,testdata/decompress-tar/extended_header.tar,testdata/decompress-tar/implied_dir.tar,testdata/decompress-tar/unix_time_0.tar,testdata/decompress-tbz2/empty.tar.bz2,testdata/decompress-tbz2/multiple.tar.bz2,testdata/decompress-tbz2/ordering.tar.bz2,testdata/decompress-tbz2/single.tar.bz2,testdata/decompress-tgz/empty.tar.gz,testdata/decompress-tgz/multiple.tar.gz,testdata/decompress-tgz/multiple_dir.tar.gz,testdata/decompress-tgz/ordering.tar.gz,testdata/decompress-tgz/outside_parent.tar.gz,testdata/decompress-tgz/single.tar.gz,testdata/decompress-txz/empty.tar.xz,testdata/decompress-txz/multiple.tar.xz,testdata/decompress-txz/multiple_dir.tar.xz,testdata/decompress-txz/ordering.tar.xz,testdata/decompress-txz/single.tar.xz,testdata/decompress-tzst/empty.tar.zst,testdata/decompress-tzst/multiple.tar.zst,testdata/decompress-tzst/multiple_dir.tar.zst,testdata/decompress-tzst/ordering.tar.zst,testdata/decompress-tzst/outside_parent.tar.zst,testdata/decompress-tzst/single.tar.zst,testdata/decompress-xz/single.xz,testdata/decompress-zip/empty.zip,testdata/decompress-zip/multiple.zip,testdata/decompress-zip/outside_parent.zip,testdata/decompress-zip/single.zip,testdata/decompress-zip/subdir.zip,testdata/decompress-zip/subdir_empty.zip,testdata/decompress-zip/subdir_missing_dir.zip,testdata/decompress-zst/single.zst(the last two are the ones the scan left unlisted). - The 11 unrecognised binaries are the Mercurial repository fixture read by get_hg_test.go (test data, not a program), shipped in the -dev package and covered by the package-contains-vcs-control-dir lintian override:
testdata/basic-hg/.hg/00changelog.i,testdata/basic-hg/.hg/cache/rbc-revs-v1,testdata/basic-hg/.hg/dirstate,testdata/basic-hg/.hg/store/00changelog.i,testdata/basic-hg/.hg/store/00manifest.i,testdata/basic-hg/.hg/store/data/foo.txt.i,testdata/basic-hg/.hg/store/data/main.tf.i,testdata/basic-hg/.hg/store/data/main__branch.tf.i,testdata/basic-hg/.hg/store/undo,testdata/basic-hg/.hg/store/undo.backupfiles,testdata/basic-hg/.hg/undo.dirstate. - The only patch has full DEP-3 headers (Description, Origin commit URL, Applied-Upstream: 1.8.10, Author, Last-Update), is the sole series entry, and is applied: get_gcs.go and get_s3.go call
containsDotDot, which is defined at decompress.go:72, and both files already import fmt. - At compat 14 dh skips every override of dh_auto_test when DEB_BUILD_OPTIONS contains nocheck (debhelper tool, dh_auto_test/nocheck), so override_dh_auto_test without its own nocheck check is not a fault;
git <!nocheck>andmercurial <!nocheck>are right, as the git and hg tests need them. dpkg-build-api (= 1)is the documented way to declare the level (dpkg-build-api(7)) and is provided by dpkg-dev 1.23.11 (= 1); Standards-Version 4.7.4 is current against policy 4.7.4.1; omitting Priority is allowed (policy 2.5); the ${misc:Depends} substvar is present although compat 14 would add it.- apt-cache: dh-go 1.69 exists (Conflicts: dh-golang, Commands: dh_golang, dh_golang_autopkgtest), as do golang-github-aws-aws-sdk-go-v2-dev, golang-golang-x-oauth2-google-dev, golang-google-api-dev, golang-google-cloud-dev, golang-gopkg-cheggaaa-pb.v1-dev and golang-github-ulikunitz-xz-dev; the package under review is not yet in the archive, as expected.
- uscan found upstream releases with
debian/watch; a newer upstream version is available (upstream1.8.10, packaged1.8.9), which is not a fault of the package. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-3,MPL-2.0).
Not confirmed
- dh-go is not installed on the reviewing system (dh-golang is, and they conflict), so dh-go 1.69's buildsystem module and dh_golang_autopkgtest could not be read. The installed dh-golang helper computes the build directory as the buildsystem default (
_buildat compat 14) and its generated override_dh_auto_configure fills that directory, while debian/rules builds indebian/_build. If dh-go's helper still behaves that way,debian/rules buildunder the autopkgtest would run go in an emptydebian/_build; an autopkgtest run would show whether that is the case. - DH_GOLANG_MODULE_MAPPINGS (debian/rules:6) has no counterpart in the installed dh-golang buildsystem (no MODULE_MAPPINGS anywhere under /usr/share/perl5/Debian); whether dh-go 1.69 implements it could not be checked. If it does not, cmd/go-getter's
github.com/cheggaaa/pbimport would not resolve in GOPATH mode, since Debian ships that code as gopkg.in/cheggaaa/pb.v1.
Proposed changes
None.
Uploader's response to the LLM review
Neither finding needs a new upload, so I am leaving this one in the queue.
-
The aws-sdk-go-base one has gone stale. golang-github-hashicorp-aws-sdk-go-base-v2-dev 2.0.0~beta74-1 is in sid, in the Packages index dated 29 October 20:22 UTC. It cleared NEW the day before, and the mirror took about twelve hours to publish it.
-
The oauth2 one is right, thanks. get_gcs.go imports golang.org/x/oauth2 and nothing under golang.org/x/oauth2/google. The root package lives in golang-golang-x-oauth2-dev, while the google split carries only golang.org/x/oauth2/google, so the package named the wrong half.
It built anyway because golang-golang-x-oauth2-google-dev depends on golang-golang-x-oauth2-dev. Fixed in git, in both Build-Depends and Depends,
and it goes out with the next revision, so please, keep the upload.
— Juan Manuel Méndez Rey (mendezr), 3 hours ago