diff --git a/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/DecomEval 在 Metrix 里的开发目录 plugins-DecomEval.md b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/DecomEval 在 Metrix 里的开发目录 plugins-DecomEval.md new file mode 100644 index 0000000..d1e25df --- /dev/null +++ b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/DecomEval 在 Metrix 里的开发目录 plugins-DecomEval.md @@ -0,0 +1,27 @@ +--- +title: DecomEval 在 Metrix 里的开发目录 plugins/DecomEval +type: fact +permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/decom-eval-在-metrix-里的开发目录-plugins-decom-eval +stable_id: 757eb38d-eeac-4b62-a468-41f3e7d026d0 +scope: project +memory_type: fact +project_id: d5a7f581-c442-4554-87b9-ee723b8b0258 +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: decomeval-plugin-copy-fact-20261103 +created_at: '2026-11-03T06:57:22.981214+00:00' +updated_at: '2026-11-03T06:57:22.981214+00:00' +tags: +- decomeval +- plugins +- git +--- + +位置:E:\code\Metrix\plugins\DecomEval。这是 E:\code\SiteDemolition\DecomEval 的完整副本,包括 .git。远程是 https://git.asio.asia/SiteDemolition/DecomEval.git,分支 feat/metrix-hosting。两个目录都可以开发;在 Metrix 项里只改 plugins 下的副本,原目录放着不动。 + +两个目录共用一个远程和分支,每次提交前先 fetch,远程已前进就 rebase,不强推。 + +这个副本归当前用户所有,git 命令不用加 safe.directory。它不是 Metrix 子模块:Metrix 用 .git/info/exclude(只在本机生效)忽略 /plugins/DecomEval/,另外 .dockerignore 里的 plugins 会把它排除在 Metrix 镜像构建上下文之外(Metrix e03f13a)。 + +复制时跳过了 backend/.venv、web/node_modules、dist、web/dist、__pycache__、.pytest_cache,并在新目录重建。Python 版本为 3.13.15(scoop uv),包版本对齐原目录的 pip freeze。测试数据目录用 E:\code\Metrix\Temp\decomeval-hosting-pytest,不要用 backend/data。打包命令在 plugins/DecomEval 下运行,产物在 plugins/DecomEval/dist/metrix。 \ No newline at end of file