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

27 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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。