Skip to content

chore: rename GitHub owner lucaswang420 → voidvec across the repo - #86

Merged
voidvec merged 1 commit into
masterfrom
chore/rename-github-owner-voidvec
Aug 25, 2026
Merged

voidvec merged 1 commit into
masterfrom
chore/rename-github-owner-voidvec

Conversation

@voidvec

@voidvec voidvec commented Aug 24, 2026

Copy link
Copy Markdown
Owner

GitHub 账号已改名,仓内所有硬编码 owner 引用同步为 voidvec(旧路径 GitHub 会重定向,但规范 URL、badge 端点、镜像拉取与 Go module path 必须反映当前 owner)。

改动清单(59 处 / 18 文件)

类别 文件 内容
Go module path(⚠️ 对既有 Go 消费者 breaking,pre-GA 接受) clients/go/go.mod、auth/clientcredentials.go、README.md github.com/voidvec/authforge/clients/go
GHCR 镜像 docker-compose.prod.yml(×4)、helm values.yaml prefix、values-local.yaml 示例 ghcr.io/voidvec/authforge-*
cosign 验证示例 双 README、sdk-integration-guide.md certificate-identity-regexp 必须匹配新 workflow 身份
链接/badge 双 README、SECURITY.md、CHANGELOG.md compare 链接、Chart.yaml home 规范化到 voidvec
Python SDK 元数据 pyproject.toml [project.urls]、clients/python/README.md PyPI 元数据指向新 URL
历史文档 design/task docs 内联链接 重定向已覆盖,求一致

CI workflows 无需改动:镜像前缀与 cosign 身份用 ${{ github.repository_owner }} / ${{ github.repository }} 动态变量,自动跟随改名。

验证

  • go build ./... + go vet 新 module path 下干净
  • regen_clients.py --check drift 门不受影响(生成树与 spec 一致)
  • 全仓 lucaswang420 零残留

与 PR #85(v1.4.1)无重叠冲突:本 PR 只动 URLs/module 行,#85 动 version 行。

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@voidvec

voidvec commented Aug 25, 2026

Copy link
Copy Markdown
Owner Author

深度评审 PR #86 — 全仓 owner 重命名 lucaswang420 → voidvec

从第一性原理出发,我逐项核验了 PR 的全部声明,并做了独立验证。

✅ 已验证通过(声明全部属实)

  1. 零残留声明成立:对全仓 tracked 文件执行 git grep -i lucaswang420 与 git grep -i lucaswang,均返回 0 匹配(含大小写变体,覆盖 docs/、benchmarks/、apps/、swagger-ui、JSON/YAML)。
  2. Go module 可构建:在 clients/go 下 go build ./... + go vet ./... 均通过,新 module path github.com/voidvec/authforge/clients/go 下无编译/静态检查问题;generated 文件无旧路径残留。
  3. SDK 漂移门通过:tools/clients/regen_clients.py --check 通过(version sync 1.4.0、python 168 文件、go 均匹配 spec)。
  4. GHCR 镜像引用一致:docker-compose.prod.yml、helm values.yaml(prefix: voidvec/authforge)、values-local.yaml、sdk-integration-guide 全部一致;helm _helpers.tpl 拼接 {registry}/{prefix}-{name} 与 compose 引用吻合。
  5. Cosign identity 已更新:README/README.zh-CN/sdk-guide 的 certificate-identity-regexp 均已指向 voidvec。
  6. CI workflows 无需改动:release.yml 用 ${{ github.repository_owner }} / ${{ github.repository }} 动态变量,自动跟随重命名。
  7. PR 可合并:mergeable=MERGEABLE,无冲突。

⚠️ 建议改进(非阻塞)

F1(中)— 历史文档被改写:docs/history/design/pr6-review-fixes-plan.md 是 PR #6 的历史记录,本 PR 把其中 owner lucaswang420 改写为 owner voidvec。历史文档应保留当时的归属事实(同一人改名,可接受,但更佳做法是保留原名或加注说明)。

F2(中,pre-existing)— README cosign 正则与 workflow 实际身份格式不一致:README 用 github.com/voidvec/.+/.github/workflows/release.yml(无 https:// 前缀、.+ 匹配任意 repo),而 workflow 实际签发身份为 https://github.com/${{ github.repository }}/.github/workflows/release.yml.*。RE2 MatchString 子串匹配下仍能命中,但格式不一致且更宽松;sdk-integration-guide.md 已用正确的 https:// 格式。本 PR 恰好改到这几行,建议顺手对齐。

F3(低)— CHANGELOG 未记录 Go module 破坏性变更:CHANGELOG 仅更新了 compare/release 链接,未在 [Unreleased] 下新增 Go module path 迁移的 breaking-change 说明。对现有 Go 消费者是破坏性变更,建议补一条。

F4(低)— 未跟踪文件:工作区存在未跟踪的 docs/branding/rename-candidates.md(品牌调研文档,与本次 owner 重命名无关),建议单独提交或清理。

结论

变更范围精准、声明全部可复现验证、无回归。F1-F3 为可选改进,不阻塞合并。approve。

GitHub account renamed; every hardcoded owner reference now points at
voidvec (GitHub serves redirects for the old paths, but canonical URLs,
badge endpoints, image pulls, and the Go module path must reflect the
current owner).

59 replacements across 18 files:
- Go SDK module path github.com/voidvec/authforge/clients/go (go.mod +
  the generated-package import in auth/clientcredentials.go + README
  usage). NOTE: breaking change for any existing Go consumer -- imports
  must switch to the new path (pre-GA SDK, accepted).
- GHCR image references (deploy/docker/docker-compose.prod.yml,
  deploy/helm/authforge/values.yaml prefix, values-local example,
  sdk-integration-guide, both READMEs' cosign verify examples --
  certificate-identity-regexp must match the new workflow identity).
- Badge/release/advisory links (README.md, README.zh-CN.md, SECURITY.md,
  CHANGELOG compare links, Chart.yaml home).
- Python SDK metadata URLs (pyproject.toml [project.urls], README).
- Historical design/task docs' inline links (redirect-covered, updated
  for consistency).

CI workflows need no changes: image prefix and cosign identity use
${{ github.repository_owner }} / ${{ github.repository }} and follow
the rename automatically.

Verified locally: go build ./... + go vet clean under the new module
path; regen_clients.py --check passes (drift unaffected).
@voidvec
voidvec force-pushed the chore/rename-github-owner-voidvec branch from f9118fc to 8aafee4 Compare August 25, 2026 03:02
@voidvec
voidvec merged commit 6d03fba into master Aug 25, 2026
10 checks passed
@voidvec
voidvec deleted the chore/rename-github-owner-voidvec branch August 29, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants