Skip to content

迁回 Codeberg 主线:保留 62 个提交及后续任务历史 - #512

Merged
taekchef merged 70 commits into
mainfrom
codex/restore-codeberg-main-20260930
Sep 30, 2026
Merged

taekchef merged 70 commits into
mainfrom
codex/restore-codeberg-main-20260930

Conversation

@taekchef

@taekchef taekchef commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

解决什么

将 Codeberg 封号期间的已整合主线接回原 GitHub 仓库,恢复 GitHub 为主开发平台。本 PR 是迁移汇总,不表示迁移操作者重新创作了原作者的改动;原提交作者、时间、父子关系和 SHA 原样保留。

  • 来源:https://codeberg.org/WroughtMind/weibei/src/commit/c98803055954d239f93644899122fae579659db7
  • Codeberg main:c98803055954d239f93644899122fae579659db7
  • 迁移前 GitHub main:97c97800d8ced9e3a16900ddb12193591b958ad5
  • 共同历史;Codeberg 独有 62 个提交,GitHub 独有 0 个
  • 其他来源分支保存在 codeberg/ 命名空间;原 GitHub 分支保留
  • Codeberg 官网独立 Git 历史保存在 codeberg/pages-history-20260930,其页面源文件与本分支 website/ 完全相同,只有 Codeberg-specific .domains 在该历史分支中

怎么验证

  • 两端完整非浅层 Git 对象已抓取,git fsck --full 通过
  • 基于 Git 对象比较祖先关系、全部分支及标签;没有强推或覆写已有分支
  • .github 工作流目录与迁移前 GitHub main 字节相同
  • 8 个 Codeberg 开放 PR 分开保留,不在此 PR 中额外合并;Release 1.0: course hub, chat KaTeX, selection float, pane drag fix #16 与 GitHub #485 head 相同,继续使用 #485
  • 远端 CI 以当前 SHA 结果为准,未宣称完成 macOS App 或真实模型验收

风险与后续

  • 合并会按现有 Pages 工作流部署 website/ 更新;用户已明确要求官网同步更新
  • 已核对下载、Sparkle 与 GitHub-primary 链路;当前没有公开 Release 资产。本次只迁移代码和官网,不发布新版本或 v0.0.1 安装包,继续保留原公钥、版本与架构连续性
  • 现有 GitHub 草稿与 Codeberg 任务逐项核对,不批量关闭
  • 原 Codeberg 评论、PR 和历史链接继续保留;此迁移不改写原讨论归属
  • 请使用保留原提交历史的 merge commit,不使用 squash 或 rebase 合并

迁回验收修复(追加提交)

首轮 CI 36717141991 在两种架构均证明旧检查仍寻找已被 SwiftUI 浮窗替换的 ConversationController;另有英语 runner/中文断言错配、旧选区契约测试和同步初始化停顿。经明确批准,追加最小修复:

  • 补回浮窗“引用到输入框”,只追加到该浮窗草稿并聚焦,保留主会话草稿和现有渲染器
  • 验收观察实际 SwiftUI 消息行及剪裁后的可见区域,调用与菜单按钮完全相同的生产动作闭包;不再要求不存在的旧控制器
  • 仅提取 Codeberg 原提交 e35964b 的最后栏位 focus 修复与必要夹具修复,未整体合并 收尾停止回复、选区草稿与界面语言交互 #515
  • 固定中文提示测试语言,并按已实现契约验证未发送/完成后关闭、流式回答中保留
  • 保留相关7个夹具文件的347条原断言,增加初始化契约检查;没有提高超时或跳过必需门禁

本地 git diff --check、CI范围/编排与构建号自检通过;源代码复核未发现阻塞。真实 Swift 编译、ARM/Intel运行仍以当前提交的新 CI 结果为准。测试观察了生产动作与布局,不冒充鼠标点击上下文菜单的人体验收。

最终候选整合

第二轮 CI 36724026747 的 ARM/Intel Catalyst 整项均通过。安全套件完整跑完394项,仅剩内部错误详情隐私断言;已按获批范围 cherry-pick 原 Codeberg 修复 8e1035b1(保留作者与来源),不削弱该断言。#520 的反馈入口、迁移档案、公钥兼容检查等提交也以保留历史的 merge 整合进候选,统一跑完整 CI,避免连续两次重复构建。

根据最新范围,本次不运行发布工作流、不创建 v0.0.1 Tag/Release、不公开新安装包,也不配置 production-release 环境。官网仍应如实显示暂无公开版本。GitHub main 仅在最终候选必需检查通过后切换。

taekchef and others added 30 commits September 18, 2026 20:41
玻璃纸色是透明的,PDF 和笔记网页不会跟着上层透明度消失,打开列表时需要把底下的正文藏起来。

Co-authored-by: Cursor <cursoragent@cursor.com>
…er into main

Merge pull request '修复玻璃主题下列表透出文稿和笔记' (#25) from codex/glass-list-cover into main
系统输入框的灰底和蓝圈在八套主题里都不对,查找结果、页码和返回位置也收进同一块主题面板。

Co-authored-by: Cursor <cursoragent@cursor.com>
…urface into main

Merge pull request '让资料查找和各处搜索框跟着主题走' (#26) from codex/search-theme-surface into main
taekchef and others added 7 commits September 30, 2026 02:56
Extract only the pane-focus and applicable safety-fixture repairs from original Codeberg commit e35964b (Codeberg #46 / GitHub #515), preserving the remainder of that draft. Restore quote-to-floating-draft and observe the actual SwiftUI row in acceptance; keep every required CI category and existing fixture assertion.
Preserve every #520 commit and all Codeberg source history. This is an integration candidate for #512; GitHub main remains unchanged until required checks pass.
@taekchef
taekchef marked this pull request as ready for review September 30, 2026 14:47
@taekchef
taekchef merged commit a14d143 into main Sep 30, 2026
7 checks passed
@taekchef
taekchef deleted the codex/restore-codeberg-main-20260930 branch October 3, 2026 19:00
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.

1 participant