-
-
Notifications
You must be signed in to change notification settings - Fork 248
quest: libmoq becomes moq-c #4191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # [M] libmoq becomes moq-c | ||
|
|
||
| ## Goal | ||
|
|
||
| The C bindings ship as `moq-c`, matching `moq-cpp` and the other bindings: the | ||
| crate, its directory, release tags, CMake package, and pkg-config file all use | ||
| the name. C code and link lines do not change: the header stays `moq.h` and the | ||
| library file keeps its current name. The published `libmoq` crate gets one last | ||
| release that points users at `moq-c`. | ||
|
|
||
| ## Plan | ||
|
|
||
| - Rename the crate `libmoq` to `moq-c` (`rs/libmoq` to `rs/moq-c`), its release | ||
| tags from `libmoq-v*` to `moq-c-v*`, and its workflow. The CMake package | ||
| becomes `find_package(moq-c)` and the pkg-config file `moq-c.pc`. The C++ | ||
| package is already `moq-cpp` (#4187), so the two install side by side. | ||
| - Keep the `[lib] name` so the library file and `moq.h` are unchanged. | ||
| - A published package rename is a break, so this lands on `dev`. Release | ||
| tooling (release-plz, alert and nightly workflows, cachix) must follow the | ||
| new name and tag; check every workflow that names libmoq. | ||
| - Update every consumer and reference: `cpp/obs` (`find_package`), interop | ||
| clients, `doc/lib/c`, `doc/bin/obs.md`, the root `CLAUDE.md` Cross-Package | ||
| Sync table, and quests that name libmoq. Grep the whole repository. | ||
| - Publish a final `libmoq` release whose README and description point at | ||
| `moq-c`, then stop publishing it. The maintainer cuts releases; the PR only | ||
| prepares it. | ||
|
Comment on lines
+24
to
+26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
After the planned manifest and directory rename, the workspace contains no package named Useful? React with 馃憤聽/ 馃憥. |
||
|
|
||
| Public API: the C ABI is unchanged; the crate, package, and tag names change. | ||
| Wire: none. | ||
|
|
||
| ## Related | ||
|
|
||
| - [C++ through moq-ffi](/quest/m1/cpp/README.md) - the `moq-cpp` package this name mirrors | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The C++ package is not already
moq-cppin this tree:quest/m1/cpp/package.mdstill promisesfind_package(moq),moq.pc, andcpp-v*tags. Implementing both active plans as written therefore preserves the package-name collision that this quest is intended to eliminate. Update the C++ quest to themoq-cppcontract, or explicitly make this quest depend on a separate change that does so.Useful? React with 馃憤聽/ 馃憥.