Plugin request for Buf Schema Registry: protoc-gen-connect-php

オープン
#2,851 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

  • #2852 @rastislavnemec による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, go, php
領域
api, build-system

調査の方向性

This is a request to register a new remote plugin in the bufbuild/plugins repository, not a code change to the plugin itself. Review the existing plugin directories, such as the connectrpc/go entry, to see the expected layout of a plugin directory, its Dockerfile and plugin.sum. The author has said the files are ready and a PR will follow, so the work is reviewing that PR rather than writing the plugin.

索引モデルが issue の本文から書いたものです。

説明

Mandatory

Where is the source code for the plugin?

https://github.com/ftshp/connect-php/tree/main/cmd/protoc-gen-connect-php

The plugin is part of ftshp/connect, an unofficial PHP implementation of the Connect protocol (unary RPCs, PSR-18 client, PSR-15 server). For each service it generates a PHP interface and a client class next to the message classes from protocolbuffers/php. Streaming RPCs are skipped with a warning.

Optional

Does the plugin have a valid semver version?

v0.1.0, from the GitHub release: https://github.com/ftshp/connect-php/releases/tag/v0.1.0. Releases are tagged v* and built with goreleaser. go install github.com/ftshp/connect-php/cmd/[email protected] builds the same binary.

Does the plugin have a dependency on another plugin?

Yes, on protocolbuffers/php (https://github.com/protocolbuffers/protobuf/tree/main/php) for the message classes, like connectrpc/go on protocolbuffers/go. The generated code follows the namespace mapping and reserved-name rules of protoc-gen-php, so both plugins have to run on the same files.

Does the output of this plugin depend on any other external libraries?

Yes, the ftshp/connect Composer package (https://packagist.org/packages/ftshp/connect, Apache-2.0) and google/protobuf.

Proposed name: buf.build/community/ftshp-connect-php. The Dockerfile follows the connectrpc/go one (static Go build of the tagged module, scratch runtime, nobody user). I have the plugin directory and the plugin.sum files ready and will open the PR once this issue is in.

主要言語
Dockerfile
スター
74
フォーク
26
平均マージ
3時間 17分
マージ済み PR(30日)
74

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bufbuild/plugins のほかの issue

bufbuild/plugins の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。