golang-github-protocolbuffers-protoscope 0.0~git20221109.8e7a6aa-1
Package Information
| Description | simple, human-editable language for the Protobuf wire format Protobuf + Rotoscope Protoscope is a simple, human-editable language for representing and emitting the [Protobuf wire format](https://developers.google.com/protocol-buffers/docs/encoding). It is inspired by, and is significantly based on, [DER ASCII](https://github.com/google/der-ascii), a similar tool for working with DER and BER, wire formats of ASN.1. Unlike most Protobuf tools, it is normally ignorant of schemata specified in `.proto` files; it has just enough knowledge of the wire format to provide primitives for constructing messages (such as field tags, varints, and length prefixes). A disassembler is included that uses heuristics to try convert encoded Protobuf into Protoscope, although the heuristics are necessarily imperfect. |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Félix Sipma <felix@debian.org> |
| Sponsor | felix@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/go-team/packages/golang-github-protocolbuffers-protoscope.git (browse) |
| Closes | #1156027 |
| Tracker | https://tracker.debian.org/pkg/golang-github-protocolbuffers-protoscope |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Date | Sun, 29 Nov 2026 15:41:51 +0100 |
|---|---|
| Source | golang-github-protocolbuffers-protoscope |
| Version | 0.0~git20221109.8e7a6aa-1 |
| Changed-By | Félix Sipma <felix@debian.org> |
| Architecture | all source |
| Distribution | unstable |
Changelog
golang-github-protocolbuffers-protoscope (0.0~git20221109.8e7a6aa-1) unstable; urgency=medium . * Initial release (Closes: #1156027)
.dsc
| Section | golang |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | golang-github-protocolbuffers-protoscope-dev deb golang optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/protocolbuffers/protoscope Upstream-Name: protoscope Files: * Copyright: 2022 Protocol Buffers License: Apache-2.0 Files: debian/* Copyright: 2026 Félix Sipma <felix@debian.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 0 blocker, 1 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 0 hours ago.
Report
DFSG NEW review for golang-github-protocolbuffers-protoscope version 0.0~git20221109.8e7a6aa-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 1 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 7 found
Licensing
Upstream is Apache-2.0 throughout and the DFSG-compliant licence text is present and referenced correctly; there is no non-free term, no vendored third-party code and no file without a licence. But debian/copyright names the wrong copyright holder: Files: * says 2022 Protocol Buffers, while every source file and the copied protobuf test schema carry Copyright 2022 Google LLC. Because those files are installed verbatim with their notices (and Apache-2.0 is one of the licences Policy 2.3's footnote 5 exempts from copying all notices), this is a completeness/accuracy defect rather than a Policy requirement, and only affects a complete copyright file.
Packaging
Packaging is a clean dh-make-golang-style package: debhelper 13 with dpkg-build-api 1, dh-go providing the golang buildsystem, Architecture: all -dev package with correct XS-Go-Import-Path and Vcs fields, Standards-Version 4.7.4 (current), changelog for an initial release closing #1156027, Testsuite: autopkgtest-pkg-go, no patches, and rules that build only the library and install language.txt as package data. Build-Depends and Depends resolve in the archive; no packaging faults found.
Issues
important packaging 1. uscan reports a warning for debian/watch ◂
-
Files:
debian/watch -
Basis: found by the review tooling's own checks
-
Evidence:
In debian/watch no matching files for watch source https://api.github.com/repos/protocolbuffers/protoscope/git/matching-refs/tags/ -
Problem: uscan must run without errors or warnings and find the upstream releases.
-
Fix: Correct
debian/watchso thatuscan --reportruns cleanly.
minor licensing 2. Files: * names "Protocol Buffers" instead of the copyright holder Google LLC ◂
- Files:
debian/copyright:5-7,scanner.go:1,writer.go:1,scanner_test.go:1,writer_test.go:1,roundtrip_fuzz_test.go:1,internal/print/print.go:1,cmd/protoscope/main.go:1,.github/workflows/go.yml:1,testdata/unittest.proto:1 - Basis: checked, in the package or with a reference tool
- Evidence: Every file reads
// Copyright 2022 Google LLC(the YAML one# Copyright 2022 Google LLC), but debian/copyright hasFiles: */Copyright: 2022 Protocol Buffers. - Problem: The holder recorded is the project name, not the legal copyright holder, so the file is inaccurate and omits Google LLC. Policy 2.3 does not require the notice to be repeated here: the .go files, testdata/unittest.proto and the .golden files are installed unmodified under /usr/share/gocode/src/... with their notices intact (condition 3 of Policy 2.3 fails), and Policy 2.3 footnote 5 lists Apache-2.0 among the licences not thought to require copying all notices (also covering the binary testdata/*.pb files, which carry no notice). The DFSG team nevertheless expects a complete copyright file, hence minor rather than blocker.
- Fix: Change the
Files: *stanza toCopyright: 2022 Google LLC(optionally also naming Protocol Buffers as the project, but Google LLC is the holder to record).
Verified ◂
- debian/copyright is DEP-5 with the correct Format URL;
Files: *(Apache-2.0) anddebian/*(2026 Félix Sipma, Apache-2.0) are ordered correctly, the short name matches the licence, and Apache-2.0 is in /usr/share/common-licenses. Full tree of 40 upstream files plus debian/ listed; no LICENSE/COPYING/NOTICE/AUTHORS in any subdirectory. - LICENSE is the Apache License 2.0 text; a tree-wide grep for
Permission is hereby, MIT/BSD/public-domain/non-commercial/SPDX/GPL/LGPL/MPL/"All rights reserved" wording found nothing, so there is no permissive or non-free file needing its own stanza and no licence conflict. - No vendored third-party code: go.mod lists only github.com/google/go-cmp and google.golang.org/protobuf as external modules, and no Go sources of them are in the tree.
- testdata/groups.pb, testdata/maps.pb, testdata/message.pb, testdata/oneof.pb, testdata/packed.pb, testdata/proto3.pb and testdata/unittest.proto.pb are checked-in protobuf wire-format test fixtures: writer_test.go embeds
testdata/*(//go:embed), reads the .pb inputs to compare against the .golden files, and regenerates the goldens under REGEN_GOLDENS; README states Protoscope generates its test data and checks it in. unittest.proto.pb is the descriptor set of the accompanying testdata/unittest.proto. Not built programs with missing source. - testdata/fuzz/FuzzRoundTrip/* are Go fuzz seed-corpus inputs for roundtrip_fuzz_test.go (FuzzRoundTrip), i.e. test data, not built files.
- Every file under debian/ was read (control, rules, changelog, copyright, gbp.conf, gitlab-ci.yml, salsa-ci.yml, lintian-overrides, source/format, upstream/metadata, .gitignore); there is no debian/patches directory, no maintainer scripts, no install/docs/dirs files and no debian/tests.
- Dependencies exist in the reviewing system's package lists: dh-go 1.71 (the golang debhelper buildsystem, Conflicts: dh-golang), golang-github-google-go-cmp-dev 0.7.0-1, golang-google-protobuf-dev 1.36.10-2 (>= the go.mod requirement), and dpkg-dev 1.23.12 provides dpkg-build-api (= 1) per dpkg-build-api(7).
- rules at compat 13 passes
--buildsystem=golangexplicitly, excludes cmd/ from build and install, and installs language.txt via DH_GOLANG_INSTALL_EXTRA; the golang buildsystem's configure/install/clean handle the out-of-sourcedebian/_builddirectory and ignore debian/ when copying, anddh_auto_install -- --no-binariesis the documented pass-through. No patches, so nothing to forward. - Standards-Version 4.7.4 matches the first two components of Policy 4.7.4.1 (current); dist = DEP14 in gbp.conf is gbp's branch-derived distribution, not an error; Testsuite: autopkgtest-pkg-go is handled by autodep8; changelog date (Sun, 29 Nov 2026) is a real Sunday and the version scheme fits the upstream commit.
- Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- No build or autopkgtest was run (read-only review); the .pb and fuzz-corpus files were judged from their names and their use in writer_test.go rather than decoded.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.