mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-07-22 08:36:43 +08:00
feat: track official versions and import resources
Persist official version-state, extend CAS/ResourceRepository import classification, and add offline catalog and failure regression fixtures. Fixes #13 Fixes #12 Fixes #8
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 当前进度交接
|
||||
|
||||
- **更新时间**:2026-07-14
|
||||
- **更新时间**:2026-07-15
|
||||
- **状态分支**:`experiment`
|
||||
- **最新功能提交**:以当前 `git log --oneline -1` 为准
|
||||
- **用途**:给下一次对话快速恢复上下文,优先以当前工作区和已验证结果为准。
|
||||
@@ -23,6 +23,9 @@
|
||||
- `--watch` 是 Rust 内部常驻检查模式,正常检查默认 1 小时,失败重试默认 60 秒;外部 systemd/container 只负责守护进程。
|
||||
- `bat` progress log 会输出总体下载进度、单文件进度和校验结果摘要。
|
||||
- 真实官方网络 smoke 已固化为 `scripts/official-full-pull-smoke.sh`、`make official-smoke` 和 `docs/guides/official-full-pull-smoke.md`,默认写入 `/tmp` 隔离目录。
|
||||
- `official-version-state.json` 已持久化当前完成、正在拉取、上一个可用和失败版本,`bat status` 会显示版本状态摘要。
|
||||
- 资源导入链路已支持 CAS + `ResourceRepository` 写入,AssetBundle UnityFS 摘要,以及 TextAsset/Table/Media 分类索引。
|
||||
- 当前 catalog、上一个版本 catalog、结构变化 catalog、403、404、hash mismatch 已有离线回归 fixture。
|
||||
|
||||
## 2. 现在不要误解的点
|
||||
|
||||
@@ -39,9 +42,9 @@
|
||||
|
||||
1. Go CLI 最小入口:`bat doctor`、`bat sync --help`、`bat official sync --help`。
|
||||
2. 按 smoke runbook 在具备网络和磁盘窗口的环境中执行真实官方网络 smoke,并保留隔离目录报告。
|
||||
3. 官方同步下载结果进入 CAS + `SqliteResourceRepository` 的用户级流程。
|
||||
4. Addressables parser 覆盖更多真实 catalog 结构。
|
||||
5. AssetBundle UnityFS header/block/directory 解析。
|
||||
3. 官方同步下载结果自动触发 CAS + `SqliteResourceRepository` 的用户级导入流程。
|
||||
4. Addressables parser 覆盖二进制/压缩字段组合和更细失败诊断。
|
||||
5. AssetBundle 对象表、TypeTree 和 TextAsset 提取链路继续推进。
|
||||
6. Patch、翻译库、API Server、Web。
|
||||
|
||||
## 4. 下一次对话最合适的起点
|
||||
|
||||
Reference in New Issue
Block a user