golang-github-ldez-grignotin 0.10.1-1
Package Information
| Description | helpers around Go proxy, Go meta information, etc (Go library) Grignotin A collection of small helpers around Go proxy, Go meta information, etc. This package contains the Go development library. |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Simon Josefsson <simon@josefsson.org> |
| Sponsor | simon@josefsson.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/go-team/packages/golang-github-ldez-grignotin.git (browse) |
| Closes | #1155654 |
| Tracker | https://tracker.debian.org/pkg/golang-github-ldez-grignotin |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Architecture | source all |
|---|---|
| Distribution | unstable |
| Date | Sat, 28 Nov 2026 14:24:35 +0100 |
| Source | golang-github-ldez-grignotin |
| Version | 0.10.1-1 |
| Changed-By | Simon Josefsson <simon@josefsson.org> |
Changelog
golang-github-ldez-grignotin (0.10.1-1) unstable; urgency=medium . * Initial release (Closes: #1155654)
.dsc
| Section | golang |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | golang-github-ldez-grignotin-dev deb golang optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/ldez/grignotin Upstream-Name: grignotin Files: * Copyright: 2020-2024 Ludovic Fernandez License: Apache-2.0 Files: debian/* Copyright: 2026 Simon Josefsson <simon@josefsson.org> License: Apache-2.0 Comment: Debian packaging is licensed under the same terms as upstream 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 complete text of the Apache version 2.0 license can be found in "/usr/share/common-licenses/Apache-2.0".
DFSG Assistant LLM REVIEW
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-ldez-grignotin version 0.10.1-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 1 minor; 1 more from the model's own knowledge, under Not confirmed
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The tree is a small Go library under the project's Apache-2.0 LICENSE, which debian/copyright reproduces (short form plus the reference to /usr/share/common-licenses/Apache-2.0) with the holder Ludovic Fernandez; the prescan's "Fernandez Ludovic" at LICENSE:189 is the same person (name order reversed) and within the stated 2020-2024 years, so no holder is missing. The JSON files under version/fixtures are snapshots of the build.golang.org and go.dev/dl APIs, are covered by the upstream licence, are not installed and are not read by any test. The one open point is that goenv/names.go quotes the go help environment text from golang/go, whose BSD-3-Clause notice is not recorded in debian/copyright; that is listed as an unverified issue because the Go source/licence could not be read on this system.
Packaging
Packaging is clean and follows the Debian Go team's practice: compat 14, dh-go with the golang buildsystem, dpkg-build-api 1, correct -dev package with the two library dependencies, DEP-5 copyright, autopkgtest-pkg-go, current Standards-Version and plausible Vcs-*/Homepage/metadata. The one defect is the test override, which reduces the build-time test run to two trivial tests and runs the network-dependent tests with their failures ignored.
Issues
minor packaging 1. override_dh_auto_test skips 20 of the 22 tests and runs the network tests with failures ignored ◂
-
Files:
debian/rules:6-9,goproxy/client_test.go,goproxy/auth_test.go,version/build_test.go,goenv/goenv_test.go -
Basis: checked, in the package or with a reference tool
-
Evidence:
SKIP="TestGet|TestGetModuleInfo|...|TestClient_GetLatest"
override_dh_auto_test:
-dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP)
dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP) -
Problem: The -skip patterns are unanchored and match by substring (so TestGet also matches TestGetOne, TestGetBuild, TestGetReleases; TestClient_GetSources also matches TestClient_GetSources_integration). Of the 22 test functions in the tree only TestNewBasicAuthTransport_success and TestNewBasicAuthTransport_missing_credentials are left, so the compiled library's real behaviour (the httptest-based goproxy tests, gomod, goenv, metago) is never exercised during the build. The first invocation, prefixed with '-', runs exactly the excluded set - including the six *_integration tests that contact proxy.golang.org - and discards its result, so the build performs network requests that are allowed to fail. DH_BUILD_OPTS is not a debhelper variable and expands to nothing; heless, dh passes its options to commands in overrides through DH_INTERNAL_OPTIONS, so the build directory is still found.
-
Fix: Drop the ignored first dh_auto_test call and the broad -skip list. Anchor it to the integration tests only, e.g.
dh_auto_test -- -skip='^(TestClient_.*_integration|TestGet|TestGetBuild|TestGetReleases|TestGetModuleInfo|TestGetModulePath|TestTokenTransport_RoundTrip)$', or better make the network tests skip themselves when the proxy is unreachable, so the hermetic tests run. Do not run tests over the network from debian/rules.
Verified ◂
- Read all of debian/ (control, rules, changelog, copyright, gbp.conf, salsa-ci.yml, watch, source/format, upstream/metadata) and every upstream file of the 30-file tree except .pc/; the .pc/ directory and debian/cargo-checksum.json were passed over as instructed.
- Prescan item LICENSE:189
Copyright 2024 Fernandez Ludovicis the same holder as debian/copyright's2020-2024 Ludovic Fernandez, only the name order is reversed, and the year lies within the stated range: not a missing holder. - LICENSE is the complete Apache License 2.0 with its boilerplate; debian/copyright gives the same licence short name, with the departure text and the /usr/share/common-licenses/Apache-2.0 reference. No SPDX tags,
(C),©or other copyright/licence notices exist anywhere else in the tree (LICENSE holds the only ones). - version/fixtures/build.json (8276 lines) and version/fixtures/dl.json are JSON snapshots of build.golang.org and go.dev/dl, holding builder names, commit hashes/dates/authors/descriptions and release file lists; they carry no notice of their own, are covered by the upstream
Files: *stanza, are not referenced by any test, and are not installed into the binary package (dh_golang copies only .go/.c/.cc/.cpp/.h/.hh/.hpp/.proto/.s, testdata/, go.mod and go.sum), so Policy 2.3's notice requirement is not triggered for them. - All remaining upstream sources (goenv/goenv.go, gomod/, goproxy/, metago/, version/*.go), readme.md, metago/notes.md, version/notes.md, Makefile, .golangci.yml, .gitignore, .github/FUNDING.yml and both workflows are original Apache-2.0 code/config with no third-party notices; metago/notes.md and version/notes.md cite Go project URLs only as references for the protocols implemented.
- Packaging checks: debhelper-compat 14;
dh-go1.71 in the archive provides the golang buildsystem used bydh $@ --buildsystem=golang, anddpkg-build-api (= 1)is provided by dpkg-dev 1.23.12; golang-golang-x-mod-dev 0.43.0 and golang-github-stretchr-testify-dev 1.12.1 satisfy go.mod's x/mod v0.28.0 and testify v1.11.1; Standards-Version 4.7.4 matches the reviewing Policy 4.7.4.1; source format is 3.0 (quilt) with no patches; Multi-Arch: foreign matches the Go team's -dev packages; Testsuite: autopkgtest-pkg-go is backed by dh_golang_autopkgtest, which rebuilds viadebian/rules build. - uscan found the packaged version as the newest upstream release (upstream
0.10.1, packaged0.10.1). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- The build and test run were not executed and no Go toolchain is installed on the reviewing system, so the two-call dh_auto_test behaviour and the autopkgtest run were judged from debian/rules, the test sources and dh-go's buildsystem code only.
- Whether the six *_integration tests fail fast or wait on DNS/TCP timeouts in a network-less build environment was not observed; their failures are ignored by the leading '-' in debian/rules, so either way the build is only slowed, not failed.
- Go's licence text (BSD-3-Clause, Copyright 2009 The Go Authors) could not be read on this system (no Go source or documentation packages installed), so the goenv/names.go attribution issue rests on that recalled fact.
- Whether this is a fault: goenv/names.go reproduces golang/go's
go help environmenttext without naming The Go Authors. The model reported it as a blocker licensing issue from its own knowledge of something outside the package, which it did not check with a tool, so it is not counted among the issues. Files:goenv/names.go:3-276,debian/copyright:5-7.
Evidence: // General-purpose environment variables.
// Reference: https://github.com/golang/go/blob/0afd7e85.../src/cmd/go/internal/help/helpdoc.go#L490
...
// GOCACHE The directory where the go command will store cached
// information for reuse in future builds.
Problem: Every constant's doc comment is the help text of Go's owngo help environmentdocumentation, reproduced verbatim block by block fromsrc/cmd/go/internal/help/helpdoc.go(the file cites that source and its line numbers four times). That code is part of the Go distribution, distributed under the BSD-3-Clause licence of The Go Authors, which requires its copyright notice to be retained; the file carries none, and debian/copyright'sFiles: *attributes the whole file to Ludovic Fernandez under Apache-2.0 only. The goenv package is shipped in the -dev package and compiled, so Policy 2.3 requires the missing copyright information to be recorded.
Fix: Add a stanza (or extendFiles: *) forgoenv/names.gonaming The Go Authors, e.g.Copyright: 2009 The Go Authorswith the BSD-3-Clause licence text and reference to /usr/share/common-licenses/BSD, and keep the Apache-2.0 stanza for the rest of the file.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 1 hour ago.