Feature Request: Rewrite
@brentleyjones 已经在做这个了。
开始于 2023年4月3日。
评估
这个 Issue 还没有评估数据。
描述
I’ve learned a lot about Xcode, Bazel, and integrating together since I started this project. In particular, with the development of rules_xcodeproj, I’ve come to realize that this project as it currently exists isn’t sufficient to create a maintainable general purpose XCBBuildService proxy solution.
To that end, I’ve decided to rewrite the project. Below are some of the keys changes in the rewrite. The main reason for a rewrite versus incremental changes, are because of major difference in how XCBProtocol is handled.
- XCBProtocol is version-less
- Models have all properties that any supported version of Xcode uses
- Xcode version is passed to encoder/decode and used to determine how to serialize/deserialize
- Supports MessagePack or JSON serialization (some message payloads have changed format over time)
- Enums cases are properly mapped based on version (removing a case adjusts the integer value of subsequent vases)
- MessagePack serialization is a Codable implementation
- Swift concurrency is used instead of SwiftNIO
- Xcode sessions are
actors - Builds are
actors
- Xcode sessions are
Logging(swift-log) is replaced withLogger(OSLog)XCBBuildServiceandRequestHandlerare replaced by aXCBBuildServiceProxyKit.Proxyprotocol, which functions similar toSwiftUI.App- Tools/tests to detect XCBProtocol changes in new Xcode versions
- Extensive developer documentation, including a DocC website for API and a “usage” document
To support code reviews while the rewrite is happening, development will happen on a dedicated branch, which main will fast forward to once it reaches an approximate feature parity state. This issue will serve as an Epic, and we might create smaller issues for specific pieces mentioned above (if needed beyond simply creating a PR).
- 主要语言
- Swift
- 星标
- 72
- 派生
- 8
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MobileNativeFoundation/XCBBuildServiceProxyKit 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
MobileNativeFoundation/XCBBuildServiceProxyKit#16 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 42/100
MobileNativeFoundation/XCBBuildServiceProxyKit#14 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
MobileNativeFoundation/XCBBuildServiceProxyKit#9 · 1 条评论 ·
查看 MobileNativeFoundation/XCBBuildServiceProxyKit 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
jamesmontemagno/tiny-clips#378 · 2 条评论 ·
维护者通常 1 天内回复
-
area: agents area: cli bug difficulty:2 help wanted S3: minor
难度 2/5 1-3 小时 新手友好度 82/100
manaflow-ai/cmux#15718 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
mozilla-mobile/firefox-ios#35850 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
lognorman20/monaco#998 ·