Files
MemRelay/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/DecomEval 在 Metrix 里的开发目录 plugins-DecomEval.md
T
memrelay d27868b550 create: DecomEval 在 Metrix 里的开发目录 plugins/DecomEval
MemRelay-Operation: memory-save:decomeval-plugin-copy-fact-20261103
MemRelay-Resource: 757eb38d-eeac-4b62-a468-41f3e7d026d0
2026-11-03 14:57:25 +08:00

1.7 KiB
Raw Blame History

title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
title type permalink stable_id scope memory_type project_id usage_profile_id status revision request_id created_at updated_at tags
DecomEval 在 Metrix 里的开发目录 plugins/DecomEval fact main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/decom-eval-在-metrix-里的开发目录-plugins-decom-eval 757eb38d-eeac-4b62-a468-41f3e7d026d0 project fact d5a7f581-c442-4554-87b9-ee723b8b0258 0c9feb46-d06e-43cd-9ef0-c5813c84a998 active 1 decomeval-plugin-copy-fact-20261103 2026-11-03T06:57:22.981214+00:00 2026-11-03T06:57:22.981214+00:00
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。