From a9fc8bc3681866955d51386a9e873ee0401f9267 Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Tue, 25 Aug 2026 08:28:31 -0500 Subject: [PATCH] Release nanopb v0.4.91 The release now uses v0.4.9.1 as the name in pypi but creates v0.4.9.1, v0.4.91, and nanopb-v0.4.9.1 tags in git. We only support `..` for remote plugins so this required manual edits to update requirements.txt to use 0.4.9.1. --- plugins/community/nanopb/v0.4.91/.dockerignore | 3 +++ plugins/community/nanopb/v0.4.91/Dockerfile | 18 ++++++++++++++++++ .../community/nanopb/v0.4.91/buf.plugin.yaml | 9 +++++++++ .../community/nanopb/v0.4.91/requirements.txt | 1 + .../community/nanopb/v0.4.91/eliza/plugin.sum | 1 + .../nanopb/v0.4.91/petapis/plugin.sum | 1 + 6 files changed, 33 insertions(+) create mode 100644 plugins/community/nanopb/v0.4.91/.dockerignore create mode 100644 plugins/community/nanopb/v0.4.91/Dockerfile create mode 100644 plugins/community/nanopb/v0.4.91/buf.plugin.yaml create mode 100644 plugins/community/nanopb/v0.4.91/requirements.txt create mode 100644 tests/testdata/buf.build/community/nanopb/v0.4.91/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/community/nanopb/v0.4.91/petapis/plugin.sum diff --git a/plugins/community/nanopb/v0.4.91/.dockerignore b/plugins/community/nanopb/v0.4.91/.dockerignore new file mode 100644 index 000000000..c8a679bc6 --- /dev/null +++ b/plugins/community/nanopb/v0.4.91/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!requirements.txt diff --git a/plugins/community/nanopb/v0.4.91/Dockerfile b/plugins/community/nanopb/v0.4.91/Dockerfile new file mode 100644 index 000000000..e9af12c26 --- /dev/null +++ b/plugins/community/nanopb/v0.4.91/Dockerfile @@ -0,0 +1,18 @@ +# syntax=docker/dockerfile:1.26 +FROM python:3.13.15-trixie@sha256:785ba3c54682e15fd75186dd1732d88389884e9b6f7311871674c18e5d32a1f1 AS build +WORKDIR /app +RUN python -mvenv /app +ADD /requirements.txt requirements.txt +RUN . ./bin/activate \ + && pip install --no-cache-dir -r requirements.txt \ + && pip uninstall --yes pip \ + && rm -f requirements.txt bin/activate.fish bin/activate.csh bin/Activate.ps1 \ + && ln -sf /usr/bin/python /app/bin/python + +FROM gcr.io/distroless/python3-debian13:latest@sha256:84e04b1c8a7904c81563ea125db995ba321fd330f3731f0a841e2f90757c4667 AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build --chmod=0755 /app /app +USER nobody +ENTRYPOINT ["/app/bin/protoc-gen-nanopb"] diff --git a/plugins/community/nanopb/v0.4.91/buf.plugin.yaml b/plugins/community/nanopb/v0.4.91/buf.plugin.yaml new file mode 100644 index 000000000..4c50bd128 --- /dev/null +++ b/plugins/community/nanopb/v0.4.91/buf.plugin.yaml @@ -0,0 +1,9 @@ +version: v1 +name: buf.build/community/nanopb +plugin_version: v0.4.91 +source_url: https://github.com/nanopb/nanopb +description: Nanopb is a small code-size Protocol Buffers implementation in ansi C. It is especially suitable for use in microcontrollers, but fits any memory restricted system. +output_languages: + - c +spdx_license_id: Zlib +license_url: https://github.com/nanopb/nanopb/blob/0.4.91/LICENSE.txt diff --git a/plugins/community/nanopb/v0.4.91/requirements.txt b/plugins/community/nanopb/v0.4.91/requirements.txt new file mode 100644 index 000000000..b475d9ef7 --- /dev/null +++ b/plugins/community/nanopb/v0.4.91/requirements.txt @@ -0,0 +1 @@ +nanopb==0.4.9.1 diff --git a/tests/testdata/buf.build/community/nanopb/v0.4.91/eliza/plugin.sum b/tests/testdata/buf.build/community/nanopb/v0.4.91/eliza/plugin.sum new file mode 100644 index 000000000..88d3ed3c5 --- /dev/null +++ b/tests/testdata/buf.build/community/nanopb/v0.4.91/eliza/plugin.sum @@ -0,0 +1 @@ +h1:zHoGbaUYoNToq7Go1W/mNAtxHH+wAfMg5KUaw4+JbIY= diff --git a/tests/testdata/buf.build/community/nanopb/v0.4.91/petapis/plugin.sum b/tests/testdata/buf.build/community/nanopb/v0.4.91/petapis/plugin.sum new file mode 100644 index 000000000..1a9c56be5 --- /dev/null +++ b/tests/testdata/buf.build/community/nanopb/v0.4.91/petapis/plugin.sum @@ -0,0 +1 @@ +h1:L6fqMD6FXm45eW1pwqptDnC94YoQ5K8X4MSdIOGf8L4=