87869ba0f9
新增 node_modules/、.vite/ 与 **/.vite/、playwright-report/、blob-report/、test-results/、 surefire-reports/、failsafe-reports/、*.class、*.tsbuildinfo、*.pyd、*.dll、*.log.*、 .DS_Store、Thumbs.db、desktop.ini。此前只有 *$py.class 挡 Python 的 class,Java 编译产物没人管; *.log 又匹配不到 aiimage-backend.log.2026-10-11.0 这类轮转名。 实测零副作用:改前改后 git ls-files -i -c --exclude-standard 均 0、?? 噪声 0、 git status --ignored 顶层条目 14 不变;check-ignore 对六条代表路径逐条正向自证命中新规则。 ⚠ 报告另建议把遗留的 lib//parts//var/ 收窄为 /build/、/dist/ 式根锚定前缀——本轮不做: 盘上实测 53 个 lib、87 个 dist、19 个 bin 目录,收窄会把今天被挡住的产物一次性放成 ?? 噪声, 与本格"零行为变更"定性冲突,且这些规则今天的实害为 0,留作单列拍板项(理由已写进 .gitignore 注释)。
183 lines
4.1 KiB
Plaintext
183 lines
4.1 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
|
||
|
||
# ===== 2026-10-15 瘦身审计 P0-6:补仓根日志与压缩包(§2 那 10 支历史大对象就从这个口子进来的)
|
||
*.log
|
||
/*.log
|
||
*.zip
|
||
app/update/
|
||
app/user_data/
|
||
target/
|
||
*.pid
|
||
|
||
# ===== 2026-10-18 重构蓝图 Phase 1:只堵未来的口子(审计报告 §4.1(b))=====
|
||
# 本仓此前 0 支构建产物入库(实测 git ls-files -i -c --exclude-standard=0),下面每条都是
|
||
# "今天没踩到、将来会踩到"的产物面;纯新增忽略,不改任何现存规则的行为。
|
||
# 注意:gitignore 的行内 # 不是注释(会被当模式的一部分),所以说明一律单起一行。
|
||
# node_modules:原只写了 frontend-vue/node_modules/,admin 靠子文件兜 ⇒ 提为通用
|
||
node_modules/
|
||
.vite/
|
||
**/.vite/
|
||
playwright-report/
|
||
blob-report/
|
||
test-results/
|
||
surefire-reports/
|
||
failsafe-reports/
|
||
# Java 编译产物此前没人挡(原只有 *$py.class)
|
||
*.class
|
||
*.tsbuildinfo
|
||
*.pyd
|
||
# Windows 原生扩展与打包残留;本仓 0 支跟踪件用这些后缀(亲测 git ls-files 计数为 0)
|
||
*.dll
|
||
# 关键:*.log 匹配不到 aiimage-backend.log.2026-10-11.0 这类轮转名
|
||
*.log.*
|
||
.DS_Store
|
||
Thumbs.db
|
||
desktop.ini
|
||
# ⚠ 报告另建议把遗留的 lib//parts//var/ 收窄成 /build/、/dist/ 式根锚定前缀,本轮不做:
|
||
# 实测盘上有 53 个 lib、87 个 dist、19 个 bin 目录,收窄等于把今天被挡住的产物一次性放成 ?? 噪声,
|
||
# 与 Phase 1「零行为变更」的定性冲突;而它们造成的实害今天是 0(ls-files -i -c 亲测)。单独拍板。
|