golang-buf-gen-go-bufbuild-protovalidate-protocolbuffers-go 1.3.0-1
Package Information
| Description | Protovalidate's validate.proto compiled to Go (library) Protovalidate (https://protovalidate.com/) is the semantic validation library for Protobuf. It provides standard annotations to validate common rules on messages and fields, as well as the ability to use CEL (https://cel.dev) to write custom rules. This package provides the Go code generated from buf/validate/validate.proto, the same code buf.build serves as the Go module buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go. |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Tiago Ilieve <tiago.myhro@gmail.com> |
| Sponsor | felix@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/go-team/packages/golang-buf-gen-go-bufbuild-protovalidate-protocolbuffers-go.git (browse) |
| Closes | #1156398 |
| Tracker | https://tracker.debian.org/pkg/golang-buf-gen-go-bufbuild-protovalidate-protocolbuffers-go |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Architecture | all source |
|---|---|
| Distribution | unstable |
| Date | Sat, 05 Dec 2026 03:58:44 +0000 |
| Source | golang-buf-gen-go-bufbuild-protovalidate-protocolbuffers-go |
| Version | 1.3.0-1 |
| Changed-By | Tiago Ilieve <tiago.myhro@gmail.com> |
Changelog
golang-buf-gen-go-bufbuild-protovalidate-protocolbuffers-go (1.3.0-1) unstable; urgency=medium . * Initial release (Closes: #1156398)
.dsc
| Section | golang |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | golang-buf-gen-go-bufbuild-protovalidate-protocolbuffers-go-dev deb golang optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/bufbuild/protovalidate Upstream-Name: protovalidate Files: * Copyright: 2023-2026 Buf Technologies, Inc. License: Apache-2.0 Files: debian/* Copyright: 2026 Tiago Ilieve <tiago.myhro@gmail.com> 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, 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 0 hours ago.
Report
DFSG NEW review for golang-buf-gen-go-bufbuild-protovalidate-protocolbuffers-go version 1.3.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 0 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
All 341 upstream files are Buf Technologies, Inc. work under Apache-2.0: the root LICENSE and proto/protovalidate/LICENSE carry the full Apache-2.0 text, per-file headers name Copyright 2023-2026 Buf Technologies, Inc. and Apache-2.0, and there are no other licences, non-free terms or SPDX tags. The DEP-5 debian/copyright names both holders (Buf, and Tiago Ilieve for debian/*) and points to /usr/share/common-licenses/Apache-2.0; the generated Go code is regenerated at build from the in-tree validate.proto, so its source form is present. The only reservation is a CI script that appears to be vendored MIT code, noted below.
Packaging
Modern, clean packaging: debhelper compat 14 with dh-go's golang buildsystem, dpkg-build-api 1, single-binary add-on, and an explicit execute_before_dh_auto_configure that regenerates only buf/validate/validate.pb.go from proto/protovalidate/validate.proto using protoc and protoc-gen-go; DH_GOLANG_EXCLUDES keeps tools/e2e/examples/proto out, and the only installed content is the generated Go package plus the patch-added go.mod. Dependencies are present in the archive, Tests are delegated to autopkgtest-pkg-go, Vcs-* and upstream metadata are filled in, the patch carries DEP-3 headers and is not forwarded (Debian-only go.mod), and Standards-Version 4.7.4 matches the current Policy 4.7.4.1. No packaging fault worth reporting.
Issues
None.
Verified ◂
- Read all packaging files: debian/control, rules, changelog, copyright, source/format, source/lintian-overrides, package lintian overrides, patches/series and the patch, upstream/metadata, gbp.conf, gitlab-ci.yml, salsa-ci.yml.
- Grepped every upstream file (341 files, .pc excluded) for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/Permission is hereby granted/GPL/LGPL/MPL/MIT/BSD/ISC/public domain/All rights reserved: only Buf Technologies' Apache-2.0 notices, the Apache-2.0 text in the two LICENSE files, and one example data string (
prefix: "// Copyright 2023") were found. - Root LICENSE and proto/protovalidate/LICENSE are the full Apache-2.0 text; debian/copyright is DEP-5 with
Files: *,Files: debian/*and a stand-alone Apache-2.0 paragraph referring to /usr/share/common-licenses/Apache-2.0. - The prescan's author check found every holder named (only Buf Technologies and Tiago Ilieve are declared, matching the 341 scanned files); the only file it named, go.mod, exists only because 0001-Add-go.mod-file.patch has
--- /dev/nullbefore it, and is covered by Files: debian/*. - No prebuilt binaries, bytecode, minified code or generated Go files are in the upstream tree: debian/rules regenerates buf/validate/validate.pb.go from proto/protovalidate/buf/validate/validate.proto (which imports only google/protobuf well-known types) and removes it after dh_auto_clean.
- The debian/rules build is dh-go's golang buildsystem at compat 14; DH_GOLANG_EXCLUDES
(^|/)(tools|e2e|examples|proto)(/|$)matches only the non-shipped trees, notbuf/validate. - Build-Depends all exist in the archive: debhelper (provides dh-sequence-single-binary), dh-go 1.71, dpkg-dev 1.23.12 (provides dpkg-build-api = 1), golang-any, golang-google-protobuf-dev 1.36.10-2 and protoc-gen-go 1.36.10-2 (matching the patched go.mod requirement).
- The patch has From/Date/Subject/Forwarded headers and its purpose (a Debian-only go.mod for dh-go) is clear;
Forwarded: not-neededis appropriate. - Standards-Version 4.7.4 matches Policy 4.7.4.1 (first two components); Vcs-Git/Vcs-Browser point at the go-team salsa repository; Tests are delegated with
Testsuite: autopkgtest-pkg-go; the binary is Architecture: all with Multi-Arch: foreign and depends on the protobuf Go module its generated code imports. - Trailing commas in Build-Depends/Depends are legal (deb-src-control: lists may end with a trailing comma since dpkg 1.10.14); the missing relationship substvars are correct at compat 14.
- uscan found the packaged version as the newest upstream release (upstream
1.3.0, packaged1.3.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- The only image, .github/buf-logo.svg, was recorded but not opened; it is covered by Files: * and Apache-2.0.
- The orig tarball's top directory is bufbuild-protovalidate-8e8e5b4 (a commit id rather than 1.3.0); whether its contents equal the upstream v1.3.0 tag could not be checked from the package.
- Whether this is a fault: debian/copyright treats .github/actions/github-tag-action/entrypoint.sh as Buf Apache-2.0 code although it appears to be a vendored MIT script. The model reported it as a minor 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:
.github/actions/github-tag-action/entrypoint.sh:1,debian/copyright:5-7.
Evidence: The script has no copyright or licence notice of its own, but repeats the MIT-licensedmathieudutour/github-tag-actionentrypoint verbatim in substance (default_semvar_bump,with_v,release_branches,custom_tag,tag_context,major_string_token,preTagFmt, and the comment# this needs to go in v2 is breaking change), whileFiles: *declaresCopyright: 2023-2026 Buf Technologies, Inc.andLicense: Apache-2.0.
Problem: If the file is the third-party action (I could not consult the upstream project from here), its MIT notice, including the original holder, must be reproduced and debian/copyright's Apache-2.0 attribution is wrong for it. Policy 2.3 does not require the notice in the binary package because the file is not shipped (dh-golang installs only .go/.proto/go.mod, and no workflow references this directory), but a complete debian/copyright is still expected.
Fix: Check the file's provenance with upstream. If it is vendored, add aFiles: .github/actions/github-tag-action/*stanza with the MIT text and the upstream copyright holder (or have upstream remove/restore the file); otherwise no change is needed.
Proposed changes ◂
None.
Uploader's response to the LLM review
The review found no issues, so no response is needed.