520044c8a4
制品名自始没 bump 过(aiimage-backend-0.0.1-SNAPSHOT.jar),pom 也没有 git-commit-id, 所以出问题时光看线上机器答不出"在跑的是哪版代码"——10-07 那次是靠"哪个类只有那笔才有"人工认的。 不用 git-commit-id 插件:现网出包是 mvn -o 离线,新插件当场解析失败,等于给发布通道加一根 只有联网才通的管子。改成打包前由 scripts/_git_stamp.py 生成 src/main/resources/git.properties (已加进 .gitignore,入库就成孤儿构建产物,target/classes 里那个孤儿 V148 就是这么来的), 开机念 [build-info];念不到时打 [build-info-missing] 而不是静默当干净构建。 拒绝的职责不在这里:一个元数据文件读不到不该把在跑实例打死,那是发布闸门的事。
146 lines
2.6 KiB
Plaintext
146 lines
2.6 KiB
Plaintext
# ===== frontend-vue =====
|
||
frontend-vue/node_modules/
|
||
frontend-vue/dist/
|
||
frontend-vue/new_web_source
|
||
frontend-vue/auto-imports.d.ts
|
||
frontend-vue/components.d.ts
|
||
frontend-vue/npm-debug.log*
|
||
frontend-vue/yarn-debug.log*
|
||
frontend-vue/yarn-error.log*
|
||
frontend-vue/pnpm-debug.log*
|
||
|
||
# ===== backend-java =====
|
||
backend-java/target/
|
||
backend-java/data/
|
||
backend-java/*.log
|
||
backend-java/logs/
|
||
backend-java/src/main/resources/application-local.yml
|
||
backend-java/.idea/
|
||
backend-java/*.iml
|
||
|
||
# ===== backend / app =====
|
||
__pycache__/
|
||
backend/tmp/
|
||
backend/__pycache__
|
||
app/__pycache__
|
||
app/new_web_source
|
||
app/user_data/
|
||
|
||
# ===== logs =====
|
||
logs/
|
||
aiimage-backend.log*
|
||
|
||
# ===== Python =====
|
||
__pycache__/
|
||
**/__pycache__/
|
||
*.py[cod]
|
||
*$py.class
|
||
*.pyo
|
||
.Python
|
||
*.egg-info/
|
||
*.egg
|
||
MANIFEST
|
||
.installed.cfg
|
||
|
||
# Build / packaging
|
||
app.zip
|
||
build/
|
||
dist/
|
||
develop-eggs/
|
||
downloads/
|
||
eggs/
|
||
.eggs/
|
||
lib/
|
||
lib64/
|
||
parts/
|
||
sdist/
|
||
var/
|
||
wheels/
|
||
share/python-wheels/
|
||
|
||
# Virtual environments
|
||
.env
|
||
.venv
|
||
env/
|
||
venv/
|
||
ENV/
|
||
env.bak/
|
||
venv.bak/
|
||
.python-version
|
||
|
||
# Testing
|
||
.tox/
|
||
.nox/
|
||
.coverage
|
||
.coverage.*
|
||
.cache
|
||
nosetests.xml
|
||
coverage.xml
|
||
*.cover
|
||
*.py,cover
|
||
.hypothesis/
|
||
.pytest_cache/
|
||
htmlcov/
|
||
|
||
# Type checking
|
||
.mypy_cache/
|
||
.dmypy.json
|
||
dmypy.json
|
||
.pyre/
|
||
.pytype/
|
||
|
||
# Jupyter
|
||
.ipynb_checkpoints
|
||
*.ipynb_checkpoints/
|
||
profile_default/
|
||
ipython_config.py
|
||
|
||
# ===== Database =====
|
||
*.db
|
||
*.sqlite3
|
||
|
||
# ===== Misc =====
|
||
.playwright-cli/
|
||
desktop/
|
||
ERP-Demo/
|
||
xlsx/
|
||
.omx/
|
||
.codex
|
||
.rtk
|
||
OPS_REDIS_MYSQL_OPTIMIZATION_NOTES.md
|
||
架构.md
|
||
*ts.%
|
||
.omc
|
||
|
||
# ===== 规划文档 =====
|
||
# docs/plans/ 与 backend-java/docs/plans/ 已从「本地不入库」改为入库(2026-10-04 用户拍定):
|
||
# 实施计划要跨会话留存,被 gitignore 的文件在干净 worktree 出包时不存在,护栏用例也读不到。
|
||
docs/*plan*.md
|
||
backend-java/docs/*plan*.md
|
||
backend-java/docs/specs/
|
||
backend-java/docs/*audit*.md
|
||
|
||
# ===== 进度/规划工具(本地使用,不入库)=====
|
||
check_progress.py
|
||
progress.json
|
||
progress_*.json
|
||
|
||
# ===== 本地预览工具(不入库)=====
|
||
backend/_preview_mock.py
|
||
|
||
# ===== 战役辅助脚本与本地数据(不入库)=====
|
||
scripts/test_task_*.py
|
||
scripts/*_scan.py
|
||
scripts/*_migration.py
|
||
data/logs/
|
||
|
||
# ===== 本地临时目录(出包 worktree / 验证日志,不入库)=====
|
||
/tmp/
|
||
|
||
# 生产库转储永不再入库(本体只留 backend-java/data/,那里已被忽略)
|
||
backend-java/src/main/resources/db/aiimage.sql
|
||
|
||
# 打包前由 scripts/_git_stamp.py write 生成,随 jar 进 BOOT-INF/classes/;
|
||
# 入库会变成"孤儿构建产物"(10-07 那笔 target/classes 里的 V148 就是这个形状造成的宕机)
|
||
backend-java/src/main/resources/git.properties
|