Create a release package to enable adding pybind11_protobuf to Bazel Central Registry
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 28/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu bằng cách xem xét stanza WORKSPACE hiện tại, cấu hình dependency trong MODULE.bazel và rule BUILD tham chiếu đến @com_google_protobuf. So sánh các yêu cầu đó với request Bazel Central Registry được liên kết. Công việc được xem là hoàn tất khi có thể thêm một release package vào BCR và repository bao gồm hướng dẫn đầy đủ, hoạt động được để sử dụng nó với Bazel.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 )
- Ngôn ngữ chính
- C++
- Star
- 67
- Fork
- 38
- Merge trung bình
- 14 giờ 48 phút
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pybind/pybind11_protobuf
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pybind/pybind11_protobuf#104 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
pybind/pybind11_protobuf#232 · 2 bình luận ·
-
CMake USE_SYSTEM_... setup broken, wrong variable scopeCó thể làm lại được @Mizux đã nhận 121 ngày trước và không có pull request nào đang mở. Đang mởbug dependencies
pybind/pybind11_protobuf#221 · 1 người được giao ·
-
Build: Bazel help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pybind/pybind11_protobuf#192 · 4 bình luận ·
-
Request: change std::optional to absl::optionalCó thể làm lại được @Mizux đã nhận 712 ngày trước và không có pull request nào đang mở. Đang mởbug
pybind/pybind11_protobuf#184 · 3 bình luận · 2 reaction · 1 người được giao ·
Tất cả issue của pybind/pybind11_protobuf
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
raspberrypi/rpi-imager#1804 ·
-
difficulty: easy docs good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Ryan-Millard/Img2Num#842 ·
Maintainer thường phản hồi trong vòng 12 ngày
-
Unit converter reads out of bounds when the saved UnitConverterPreferences setting is malformedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
microsoft/calculator#2532 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
bug difficulty:easy prio:normal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
NatronGitHub/openfx-misc#411 ·
Maintainer thường phản hồi trong vòng 1 ngày