Create a release package to enable adding pybind11_protobuf to Bazel Central Registry
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 28/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- build-system
調査の方向性
まず、現在の WORKSPACE スタンザ、MODULE.bazel の依存関係設定、および @com_google_protobuf を参照している BUILD ルールを確認します。これらの要件を、リンク先の Bazel Central Registry のリクエストと比較します。BCR にリリースパッケージを追加でき、リポジトリにそれを Bazel で使用するための完全で動作する手順が含まれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi,
Could you please add a complete set of instructions on how to include and use with Bazel?
I added the following stanza to my WORKSPACE file:
git_repository(
name = "pybind11_protobuf",
branch = "main",
remote = "https://github.com/pybind/pybind11_protobuf.git",
strip_prefix = "pybind11_protobuf",
)
However, I cannot get the requirement for a com_google_protobuf dependency to work.
I believe the current practice would be to add this dep to MODULE.bazel:
https://registry.bazel.build/modules/protobuf/21.7
and then add this to the BUILD rule:
"@protobuf//:protos_python",
This however gives me this error:
no such package '@com_google_protobuf//': The repository '@com_google_protobuf' could not be resolved: Repository '@com_google_protobuf' is not defined and referenced by '@pybind11_protobuf//:native_proto_caster'
What's the correct way to get this to work?
(for future compatibility, I have filed a BCR request here https://github.com/bazelbuild/bazel-central-registry/issues/1121 )
- 主要言語
- C++
- スター
- 67
- フォーク
- 38
- 平均マージ
- 14時間 48分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pybind/pybind11_protobuf のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
pybind/pybind11_protobuf#104 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
pybind/pybind11_protobuf#232 · コメント 2 件 ·
-
CMake USE_SYSTEM_... setup broken, wrong variable scope再び着手できるかも @Mizux が 121 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug dependencies
pybind/pybind11_protobuf#221 · 担当者 1 名 ·
-
Build: Bazel help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
pybind/pybind11_protobuf#192 · コメント 4 件 ·
-
Request: change std::optional to absl::optional再び着手できるかも @Mizux が 712 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
pybind/pybind11_protobuf#184 · コメント 3 件 · リアクション 2 件 · 担当者 1 名 ·
pybind/pybind11_protobuf の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
patrick-hudson/put.gd-desktop#2044 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
uxlfoundation/oneDNN#6604 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信