Repository navigation
feat(shared): workspace 引擎自 mjbase workspace 模块移交入仓 - #28
Merged
Merged
Conversation
- 12 个引擎源文件落 mjt/src/workspace,命名空间 mjbase::workspace → mjt::workspace;兄弟域(model/jasm/project/spi/hierarchy/mapping/ analysis/asm_remapper)经空 namespace 前置 + 显式别名保持正文相对 引用形零改动 - 消费面限定名全量换 mjt::workspace:::mcp tool 全套、shared (jar_workspace/jar_remapper/status_convert)、pysdk bind_core - mjt_shared 收编引擎源;mjt_pysdk/mjt_pysdk_unittest 按既有直编形态 补 workspace 源;新增 mjt_workspace_unittest(40 例)随迁
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
mjbase 侧裁决:workspace 模块整体退役——WorkspaceBase 把可编辑资源容器的形态绑死在 class/JAR 视图上,下游要挂 dex/apk 等其他容器形态时无法自定义;「资源容器 + 分析项目」的正确分层不属于基座,下游自理。本 PR 先行把引擎整体移交进 mjt,后续 mjbase PR 删模块。
内容
src/mjbase/workspace/12 个源文件(约 9k 行)→mjt/src/workspace/,5 个测试文件 →mjt/test/workspace/(40 例),正文零改动。mjbase::workspace→mjt::workspace(避免与 mjbase 侧未删副本的链接符号冲突)。兄弟域(model/jasm/project/spi/hierarchy/mapping/analysis/asm_remapper)原以相对形引用,经空 namespace 前置 + 显式别名保持正文原形可解析。mjbase::workspace::限定名全量换mjt::workspace::(mcp tool 14 文件、shared 3 文件、pysdk bind_core、2 个 mcp 测试)。mjt_shared收编引擎源;mjt_pysdk/mjt_pysdk_unittest按既有直编 shared 源形态补 workspace 源;新增mjt_workspace_unittest靶。验证
mjt_workspace_unittest40/40(随迁套件,仅改 include 形态与 test::setup("mjt"))mjt_mcp_unittest116 + 1 skip(基线持平,delete-then-rebuild 后复跑)mjt_pysdk_unittest44/44(基线持平)mjt-mcp产品靶构建通过合入顺序
本 PR 先合;mjbase 侧删模块 PR 在其后(两仓 CI 互相独立,顺序仅保证中间态无双重定义)。