|
|
2e76507d37
|
deploy: 本地预构建发布(push-build),对齐 1Panel 与 backend_v2 目录
- 新增 Dockerfile.prebuilt / scripts/push-build.sh:本机构建、只上传产物,服务器零编译
- deploy.sh 增加 --prebuilt(自动 --no-pull + 产物校验),并保留 --no-cache
- compose 支持 BACKEND_DOCKERFILE / WEB_DOCKERFILE 切换;预构建时用 prebuilt 变体
- init-db.sh / scripts/backup-db.sh 改为 docker exec 1Panel 的 Postgres 容器
- WEB_DIR 默认改为 ../frontend_v2;nginx 切换文件改到 .deploy/ 避免弄脏工作区
- 新增 .gitattributes 固定脚本与配置为 LF
|
2026-10-21 00:02:18 +08:00 |
|
|
|
5db90af73a
|
update
|
2026-10-19 00:33:25 +08:00 |
|
|
|
4f4c11d508
|
update
|
2026-09-25 11:29:17 +08:00 |
|
|
|
f04b5707cb
|
fix(publish): 最终审查补修(编辑页删图重算计数、迁移编号后置、图片 id 稳定断言)
D1 编辑页删图:DeleteRunwayImage/DeleteSnapImage 在单事务内取父 id→软删→按存活行重算 image_count,口径与审核侧 SoftDelete*Image 完全一致(走秀只计主图、街拍计全部),并补集成测试(含重复删同一张)
D2 不可逆删表迁移 02→05(git mv),使文件名顺序 01→01b→03→04→05 与必需执行顺序一致;同步 README/文件头/规格/计划全部引用
D3 新增「通过审核后图片行 id 集合完全一致」的集成断言,锁住单表发布头号收益
D4 修正 01 迁移文件头「只做三件事」自相矛盾表述;D5 删除受版本控制的陈旧产物 cmd/dbtool/db_dump.json 并加 gitignore 规则;D6 清理遗留空目录 scripts/tmp_verify/
|
2026-09-23 16:27:14 +08:00 |
|
|
|
b99dc3dca1
|
update backend
|
2026-09-20 01:06:13 +08:00 |
|
|
|
74ba700598
|
update
|
2026-09-07 00:01:48 +08:00 |
|
|
|
30c9f21da4
|
update
|
2026-08-26 10:45:21 +08:00 |
|