fix: rename manager module to git.zkcoi.com/zkcoi/Meshray-Manager
- go.mod module path matches repo zkcoi/Meshray-Manager (case-distinct from zkcoi/Meshray/core)
- rewrite internal imports meshray/{internal,web,pkg} -> Meshray-Manager/... (core refs kept)
- sync README.md / install.sh repo URLs; add CHANGELOG entry
This commit is contained in:
@@ -1,5 +1,25 @@
|
||||
# 变更日志 (CHANGELOG)
|
||||
|
||||
## 2026-07-15 修正 manager 模块路径为 `git.zkcoi.com/zkcoi/Meshray-Manager`
|
||||
|
||||
### 背景
|
||||
Gitea 仓库名大小写不敏感:`zkcoi/meshray` 与 `zkcoi/Meshray`(core 仓库)会被视为
|
||||
同一仓库,导致原模块路径 `git.zkcoi.com/zkcoi/meshray` 经 `go get` 会解析到 core 仓库
|
||||
(其根模块为 `git.zkcoi.com/zkcoi/meshray/core`),而非本管理器。为使模块路径与仓库名
|
||||
`zkcoi/Meshray-Manager` 一致、可从网络正确拉取,特此更名。
|
||||
|
||||
### 改动
|
||||
- `go.mod`:`module git.zkcoi.com/zkcoi/meshray` → `module git.zkcoi.com/zkcoi/Meshray-Manager`。
|
||||
- 全仓 `.go` 导入:`git.zkcoi.com/zkcoi/meshray/{internal,web,pkg}/...` →
|
||||
`git.zkcoi.com/zkcoi/Meshray-Manager/...`(正则 `meshray/(?!core/)` 仅替换自有包,
|
||||
保留对 core 模块 `git.zkcoi.com/zkcoi/meshray/core` 的引用)。
|
||||
- core 模块路径 `git.zkcoi.com/zkcoi/meshray/core` 与仓库 `zkcoi/Meshray` 保持不变,
|
||||
仍可经 `go get` 正确解析;`go.mod` 中 `require` / `replace .../meshray/core => ../Meshray` 不变。
|
||||
- `README.md` / `deploy/scripts/install.sh` 的仓库地址同步改为 `zkcoi/Meshray-Manager`。
|
||||
|
||||
### 验证
|
||||
- `go build ./...` → 0(全仓编译通过,core 引用未被误改)。
|
||||
|
||||
## 2026-07-15 仓库拆分:core 独立为 `meshray/core`,wg-go 集成迁移至 `internal/ctr/corebind`
|
||||
|
||||
### 背景(架构决策)
|
||||
|
||||
Reference in New Issue
Block a user