From 5de9b98427e4a537ef0894cc8cac46c4719fc84f Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Thu, 1 Dec 2022 14:15:21 -0600 Subject: [PATCH] remove mypy plugins (#246) --- .../nipunn1313-mypy-protobuf-grpc/source.yaml | 4 ---- .../v3.4.0/.dockerignore | 3 --- .../v3.4.0/Dockerfile | 15 --------------- .../v3.4.0/buf.plugin.yaml | 9 --------- .../v3.4.0/requirements.txt | 3 --- .../nipunn1313-mypy-protobuf/source.yaml | 4 ---- .../nipunn1313-mypy-protobuf/v3.4.0/.dockerignore | 3 --- .../nipunn1313-mypy-protobuf/v3.4.0/Dockerfile | 15 --------------- .../v3.4.0/buf.plugin.yaml | 9 --------- .../v3.4.0/requirements.txt | 3 --- .../v3.4.0/eliza/plugin.sum | 1 - .../v3.4.0/petapis/plugin.sum | 1 - .../v3.4.0/eliza/plugin.sum | 1 - .../v3.4.0/petapis/plugin.sum | 1 - 14 files changed, 72 deletions(-) delete mode 100644 plugins/community/nipunn1313-mypy-protobuf-grpc/source.yaml delete mode 100644 plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/.dockerignore delete mode 100644 plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/Dockerfile delete mode 100644 plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/buf.plugin.yaml delete mode 100644 plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/requirements.txt delete mode 100644 plugins/community/nipunn1313-mypy-protobuf/source.yaml delete mode 100644 plugins/community/nipunn1313-mypy-protobuf/v3.4.0/.dockerignore delete mode 100644 plugins/community/nipunn1313-mypy-protobuf/v3.4.0/Dockerfile delete mode 100644 plugins/community/nipunn1313-mypy-protobuf/v3.4.0/buf.plugin.yaml delete mode 100644 plugins/community/nipunn1313-mypy-protobuf/v3.4.0/requirements.txt delete mode 100644 tests/testdata/buf.build/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/eliza/plugin.sum delete mode 100644 tests/testdata/buf.build/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/petapis/plugin.sum delete mode 100644 tests/testdata/buf.build/community/nipunn1313-mypy-protobuf/v3.4.0/eliza/plugin.sum delete mode 100644 tests/testdata/buf.build/community/nipunn1313-mypy-protobuf/v3.4.0/petapis/plugin.sum diff --git a/plugins/community/nipunn1313-mypy-protobuf-grpc/source.yaml b/plugins/community/nipunn1313-mypy-protobuf-grpc/source.yaml deleted file mode 100644 index 4b678c641..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf-grpc/source.yaml +++ /dev/null @@ -1,4 +0,0 @@ -source: - github: - owner: nipunn1313 - repository: mypy-protobuf diff --git a/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/.dockerignore b/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/.dockerignore deleted file mode 100644 index c8a679bc6..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -* -!Dockerfile -!requirements.txt diff --git a/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/Dockerfile b/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/Dockerfile deleted file mode 100644 index 5efcc8718..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/Dockerfile +++ /dev/null @@ -1,15 +0,0 @@ -# syntax=docker/dockerfile:1.4 -FROM python:3.11.0-alpine3.17 AS build -WORKDIR /app -RUN python -mvenv /app -ADD /requirements.txt requirements.txt -RUN source ./bin/activate \ - && pip install --no-cache-dir -r requirements.txt \ - && pip uninstall --yes pip setuptools \ - && rm -f requirements.txt bin/activate.fish bin/activate.csh bin/Activate.ps1 \ - && rm -f bin/protoc-gen-mypy - -FROM python:3.11.0-alpine3.17 -COPY --from=build --link /app /app -USER nobody -ENTRYPOINT [ "/app/bin/protoc-gen-mypy_grpc" ] diff --git a/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/buf.plugin.yaml b/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/buf.plugin.yaml deleted file mode 100644 index 02d4afa96..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/buf.plugin.yaml +++ /dev/null @@ -1,9 +0,0 @@ -version: v1 -name: buf.build/community/nipunn1313-mypy-protobuf-grpc -plugin_version: v3.4.0 -source_url: https://github.com/nipunn1313/mypy-protobuf -description: Generate mypy stub files for grpcio generated code. -spdx_license_id: Apache-2.0 -license_url: https://github.com/nipunn1313/mypy-protobuf/blob/v3.4.0/LICENSE -output_languages: - - python diff --git a/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/requirements.txt b/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/requirements.txt deleted file mode 100644 index cd3b344ed..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -mypy-protobuf==3.4.0 -protobuf==4.21.9 -types-protobuf==4.21.0.1 diff --git a/plugins/community/nipunn1313-mypy-protobuf/source.yaml b/plugins/community/nipunn1313-mypy-protobuf/source.yaml deleted file mode 100644 index 4b678c641..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf/source.yaml +++ /dev/null @@ -1,4 +0,0 @@ -source: - github: - owner: nipunn1313 - repository: mypy-protobuf diff --git a/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/.dockerignore b/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/.dockerignore deleted file mode 100644 index c8a679bc6..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -* -!Dockerfile -!requirements.txt diff --git a/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/Dockerfile b/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/Dockerfile deleted file mode 100644 index ce1bd61dd..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/Dockerfile +++ /dev/null @@ -1,15 +0,0 @@ -# syntax=docker/dockerfile:1.4 -FROM python:3.11.0-alpine3.17 AS build -WORKDIR /app -RUN python -mvenv /app -ADD /requirements.txt requirements.txt -RUN source ./bin/activate \ - && pip install --no-cache-dir -r requirements.txt \ - && pip uninstall --yes pip setuptools \ - && rm -f requirements.txt bin/activate.fish bin/activate.csh bin/Activate.ps1 \ - && rm -f bin/protoc-gen-mypy_grpc - -FROM python:3.11.0-alpine3.17 -COPY --from=build --link /app /app -USER nobody -ENTRYPOINT [ "/app/bin/protoc-gen-mypy" ] diff --git a/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/buf.plugin.yaml b/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/buf.plugin.yaml deleted file mode 100644 index 0cecb563a..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/buf.plugin.yaml +++ /dev/null @@ -1,9 +0,0 @@ -version: v1 -name: buf.build/community/nipunn1313-mypy-protobuf -plugin_version: v3.4.0 -source_url: https://github.com/nipunn1313/mypy-protobuf -description: Generate mypy stub files from Protobuf definitions. -spdx_license_id: Apache-2.0 -license_url: https://github.com/nipunn1313/mypy-protobuf/blob/v3.4.0/LICENSE -output_languages: - - python diff --git a/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/requirements.txt b/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/requirements.txt deleted file mode 100644 index cd3b344ed..000000000 --- a/plugins/community/nipunn1313-mypy-protobuf/v3.4.0/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -mypy-protobuf==3.4.0 -protobuf==4.21.9 -types-protobuf==4.21.0.1 diff --git a/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/eliza/plugin.sum b/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/eliza/plugin.sum deleted file mode 100644 index 8bf1d55f8..000000000 --- a/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/eliza/plugin.sum +++ /dev/null @@ -1 +0,0 @@ -h1:A9N7pBCImjZXsRR9ABT9dmXFavxnOQRDMKxaM/RtxfQ= diff --git a/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/petapis/plugin.sum b/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/petapis/plugin.sum deleted file mode 100644 index 6e16305ed..000000000 --- a/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf-grpc/v3.4.0/petapis/plugin.sum +++ /dev/null @@ -1 +0,0 @@ -h1:MWz8GNw9QHRiQZ1FZ/twTTwpQleK+Msf9BckmRsbSEg= diff --git a/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf/v3.4.0/eliza/plugin.sum b/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf/v3.4.0/eliza/plugin.sum deleted file mode 100644 index 3378b2642..000000000 --- a/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf/v3.4.0/eliza/plugin.sum +++ /dev/null @@ -1 +0,0 @@ -h1:g9p6eDyJyzHhp8zDP3ZbYIBl/CMoG5d8Q8mjMusOqY8= diff --git a/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf/v3.4.0/petapis/plugin.sum b/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf/v3.4.0/petapis/plugin.sum deleted file mode 100644 index d8adf5c31..000000000 --- a/tests/testdata/buf.build/community/nipunn1313-mypy-protobuf/v3.4.0/petapis/plugin.sum +++ /dev/null @@ -1 +0,0 @@ -h1:Si8XgIwUSUICXMVOAqHgRd4rUeUb7bEyD8yos4Ko2t8=