First publish of the unpublished workspace crates
维护者通常 1 天内回复
@josecelano 已经在做这个了。
开始于 2026年10月20日。
评估
这个 Issue 还没有评估数据。
描述
Subissue of EPIC #1669 (Overhaul: Packages). Blocked until its prerequisites are met (see below); opened now so the publish work is tracked.
Goal
Publish every publishable library crate of the workspace that is not yet on crates.io, one crate at a time and in dependency order, at the end of EPIC #1669. Publish the next version of the library crates already on crates.io in the same order, with the semver-major bumps they owe.
Facts (checked 2026-10-20)
cargo metadata --no-depslists 32 workspace members; 22 have nopublish = false.- On crates.io:
torrust-tracker,torrust-tracker-configuration,torrust-tracker-primitives,torrust-tracker-test-helpers(all 3.0.0, ownersjosecelanoandda2ce7). The other 18 names return 404 from the crates.io API, so nobody else has taken them. - Every path dependency between workspace crates has a
versionrequirement and none points to apublish = falsecrate. Versioned dev-dependencies are resolved against the registry, so a crate's workspace dev-dependencies must be published before it. cargo package --workspace --no-verifyfails ontorrust-tracker-axum-health-check-api-serverbecause it dev-depends on itself: #2582 (P1). Without that line, all 32 members package.- Local
test-helpersnow also depends onclient-lib,http-protocol,primitivesandudp-protocol(its published 3.0.0 depended only onconfiguration), and 7 crates dev-depend on it.
Maintainer decisions (2026-10-20)
| Question | Decision |
|---|---|
| Tracking | One tracking issue with a per-crate checklist; a crate that needs real pre-publish work gets its own sub-issue |
| When | One crate at a time, at the end of EPIC #1669 |
| First version of unpublished crates | 0.1.0 (current value) |
Root torrust-tracker |
Out of scope: the next tracker release publishes it, with its owed bump to 4.0.0 |
| Version-bump PRs | One small PR per crate whose version changes, right before its publish |
Console client torrust-tracker-client |
Not published here; first publish from its own repository in the client-extraction issue |
| crates.io owners | josecelano and da2ce7 |
| Crates kept unpublished | None beyond the ten publish = false members |
cargo package failure |
Own sub-issue #2582 |
| Stale publish docs | Fixed here before the first publish |
Prerequisites
- #2482 (shared test support reorganisation) closed: it can change public APIs and dev-dependencies, and add crates.
- #2576 (READMEs and crates.io metadata) merged: crates.io shows each version's README and metadata.
- EPIC #1488 (shutdown overhaul) and EPIC #1347 (package testing, test-coverage review of every package) closed.
- The rest of EPIC #1669's API work done.
- Per crate: the EPIC's Pre-publish API checklist satisfied and its pre-publish sub-issues closed.
Semver bumps owed
From #2454 (public error enums marked #[non_exhaustive]): torrust-tracker-primitives 4.0.0, torrust-tracker-configuration 4.0.0 (also Error::Infallible removed), and torrust-tracker 4.0.0 (published by the tracker release). torrust-tracker-test-helpers probably 4.0.0 after #2482, decided against its published API.
Per-crate checklist (dependency order, leaves first; normal, build and dev-dependencies)
- L0
torrust-tracker-primitives4.0.0 - L0
torrust-tracker-events0.1.0 - L0
torrust-tracker-http-protocol0.1.0 (blocks the client extraction) - L0
torrust-tracker-udp-protocol0.1.0 (blocks the client extraction) - L0
torrust-tracker-rest-api-protocol0.1.0 - L1
torrust-tracker-configuration4.0.0 - L1
torrust-tracker-swarm-coordination-registry0.1.0 - L1
torrust-tracker-client-lib0.1.0 (blocks the client extraction) - L1
torrust-tracker-rest-api-application0.1.0 - L1
torrust-tracker-rest-api-client0.1.0 - L2
torrust-tracker-axum-server0.1.0 - L2
torrust-tracker-test-helpers4.0.0 (probably) - L3
torrust-tracker-core0.1.0 - L4
torrust-tracker-http-core0.1.0 - L4
torrust-tracker-udp-core0.1.0 - L5
torrust-tracker-axum-http-server0.1.0 - L5
torrust-tracker-udp-server0.1.0 - L6
torrust-tracker-rest-api-runtime-adapter0.1.0 - L7
torrust-tracker-axum-rest-api-server0.1.0 - L8
torrust-tracker-axum-health-check-api-server0.1.0 (needs #2582)
Deferred: torrust-tracker-client (L2, client extraction). Out of scope: torrust-tracker (L9, tracker release). The spec's checklist has each crate's dependencies, dev-dependencies, notes and status, and is re-checked before the first publish.
Per-crate procedure
Follow "Publishing a Workspace Package" in docs/release_process.md (deployment-packages.yaml): dependencies published and indexed; version-bump PR if needed; cargo package -p <crate>; push releases/pkg/<crate>/v<semver> from develop; signed pkg/<crate>/v<semver> tag; add the missing owner with cargo owner --add; check crates.io and docs.rs.
Acceptance criteria
- Every checklist crate is published at its listed version, or deferred with a recorded reason.
- Crates were published one at a time, each after every crate it depends on or dev-depends on.
-
configurationandprimitivesgot a semver-major bump;test-helpersthe bump decided before its publish. - Each published crate has a signed
pkg/<crate>/v<semver>tag and a successfuldeployment-packages.yamlrun. - Each crates.io page shows the #2576 README and metadata, the docs.rs build succeeded, and the README's docs.rs link resolves.
- Each newly published crate is owned by
josecelanoandda2ce7. - No crate was published before #2482, #1488 and #1347 closed and #2576 merged.
- The publish procedure in
docs/release_process.mdand therelease-new-versionskill matches the ADR and both workflows before the first publish.
Blocks: the extraction of torrust-tracker-client to its own repository.
Specification: docs/issues/open/2583-1669-first-publish-of-workspace-crates/ISSUE.md (spec-only PR).
- 主要语言
- Rust
- 星标
- 532
- 派生
- 56
- 平均合并
- 11 小时 20 分钟
- 30 天内合并 PR
- 282
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
torrust/torrust-tracker 的其他 Issue
-
Bug
难度 2/5 1-3 小时 新手友好度 78/100
torrust/torrust-tracker#3080 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
torrust/torrust-tracker#3069 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
torrust/torrust-tracker#3058 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
torrust/torrust-tracker#2978 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 73/100
torrust/torrust-tracker#2332 ·
维护者通常 1 天内回复
查看 torrust/torrust-tracker 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
difficulty: easy docs help wanted tooling
难度 2/5 1-3 小时 新手友好度 83/100
-
bug help wanted ui
难度 2/5 1-3 小时 新手友好度 85/100
userFRM/egui-charts#4386 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
eliasstravik/herdr-projects#1605 · 1 条评论 ·