Skip to content

Commit 7241f53

Browse files
committed
bump(grpc): 三个描述符指向 v1.83.0-3 —— codegen 工具链由 grpc 包交给用户
grpc-m v1.83.0-3 起,使用者写一条依赖而不是四条: [dependencies.grpc] grpc = { version = "1.83.0", features = ["codegen"] } import mcpp; import grpcgen; int main() { return grpcgen::generate_all() ? 0 : 1; } grpc 的 [feature-deps.codegen] 用 reexport = true 把 protoc、grpc_cpp_plugin 与 grpcgen 规则模块交给消费者;generate_all() 借 rerun_if_changed_glob 扫 proto/。两者都需要 mcpp 2026.8.6.2(mcpp#359),CI pin 同步提到该版本。 index.toml 的 min_mcpp **不动**。旧客户端仍能加载 grpc 的 manifest —— 2026.8.6.2 起不认识的依赖键降级而非让整份加载失败 —— 只是拿不到工具链,且 grpcgen 会明确 说出来。为一个包抬全局下限正是 mcpp#349 修掉的那个错误。 tarball 已核验:GitHub 与 GitCode 两端同为 9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f(4073680 字节), CN 那份是本地上传后回探下载重算得到的,不是读 sidecar。 tests/examples/grpc-codegen 成员单独开 PR:它要证明的是「reexport 经由**已发布** 索引到达消费者」,而在本 PR 的 CI 里 mcpplibs.grpcgen 仍解析到线上的 -2(本仓库 的 [indices] 每个成员只能重定向一个命名空间 —— mcpp#238 / xlings#374)。先发布, 再验证。
1 parent 424c323 commit 7241f53

4 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ env:
127127
# index.toml 的 min_mcpp **不动**。两个会撞的 compat 邻居都是 Form B,所以旧客户端
128128
# 撞上时是响亮报错而不是静默用错包;下限是一道让整个索引对旧客户端失效的闸门
129129
# (mcpp#349),只该在描述符真的读不动时抬。这里读得动,差的是解析得对。
130-
MCPP_VERSION: "2026.8.6.1"
130+
MCPP_VERSION: "2026.8.6.2"
131131

132132
jobs:
133133
lint:

pkgs/g/grpc-plugin.lua

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ package = {
3131
linux = {
3232
["1.83.0"] = {
3333
url = {
34-
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-2.tar.gz",
35-
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-2.tar.gz",
34+
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-3.tar.gz",
35+
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-3.tar.gz",
3636
},
37-
sha256 = "9083a85879f67b726d68130ca8374e791e3cc73f9fff8d324cde11314c70b06e",
37+
sha256 = "9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f",
3838
},
3939
},
4040
macosx = {
4141
["1.83.0"] = {
4242
url = {
43-
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-2.tar.gz",
44-
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-2.tar.gz",
43+
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-3.tar.gz",
44+
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-3.tar.gz",
4545
},
46-
sha256 = "9083a85879f67b726d68130ca8374e791e3cc73f9fff8d324cde11314c70b06e",
46+
sha256 = "9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f",
4747
},
4848
},
4949
windows = {
5050
["1.83.0"] = {
5151
url = {
52-
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-2.tar.gz",
53-
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-2.tar.gz",
52+
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-3.tar.gz",
53+
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-3.tar.gz",
5454
},
55-
sha256 = "9083a85879f67b726d68130ca8374e791e3cc73f9fff8d324cde11314c70b06e",
55+
sha256 = "9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f",
5656
},
5757
},
5858
},

pkgs/g/grpc.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,19 @@ package = {
5858
linux = {
5959
["1.83.0"] = {
6060
url = {
61-
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-2.tar.gz",
62-
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-2.tar.gz",
61+
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-3.tar.gz",
62+
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-3.tar.gz",
6363
},
64-
sha256 = "9083a85879f67b726d68130ca8374e791e3cc73f9fff8d324cde11314c70b06e",
64+
sha256 = "9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f",
6565
},
6666
},
6767
macosx = {
6868
["1.83.0"] = {
6969
url = {
70-
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-2.tar.gz",
71-
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-2.tar.gz",
70+
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-3.tar.gz",
71+
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-3.tar.gz",
7272
},
73-
sha256 = "9083a85879f67b726d68130ca8374e791e3cc73f9fff8d324cde11314c70b06e",
73+
sha256 = "9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f",
7474
},
7575
},
7676
-- No windows block, and the reason is a DEPENDENCY rather than gRPC:

pkgs/g/grpcgen.lua

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ package = {
3131
linux = {
3232
["1.83.0"] = {
3333
url = {
34-
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-2.tar.gz",
35-
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-2.tar.gz",
34+
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-3.tar.gz",
35+
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-3.tar.gz",
3636
},
37-
sha256 = "9083a85879f67b726d68130ca8374e791e3cc73f9fff8d324cde11314c70b06e",
37+
sha256 = "9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f",
3838
},
3939
},
4040
macosx = {
4141
["1.83.0"] = {
4242
url = {
43-
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-2.tar.gz",
44-
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-2.tar.gz",
43+
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-3.tar.gz",
44+
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-3.tar.gz",
4545
},
46-
sha256 = "9083a85879f67b726d68130ca8374e791e3cc73f9fff8d324cde11314c70b06e",
46+
sha256 = "9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f",
4747
},
4848
},
4949
windows = {
5050
["1.83.0"] = {
5151
url = {
52-
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-2.tar.gz",
53-
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-2.tar.gz",
52+
GLOBAL = "https://github.com/mcpplibs/grpc-m/archive/refs/tags/v1.83.0-3.tar.gz",
53+
CN = "https://gitcode.com/mcpp-res/grpc/releases/download/1.83.0/grpc-m-1.83.0-3.tar.gz",
5454
},
55-
sha256 = "9083a85879f67b726d68130ca8374e791e3cc73f9fff8d324cde11314c70b06e",
55+
sha256 = "9a0514a325e348fb013a89bb7b1acb9b41f42d5e9f3c92cee8be788e1e48d74f",
5656
},
5757
},
5858
},

0 commit comments

Comments
 (0)