Files
clawpanel/.gitignore
晴天 788b165586 chore(gitignore): 忽略 linux-schema.json 防止贡献者误提
上下文:
PR #232 的作者本地在 Linux 上 tauri build 后,src-tauri/gen/schemas/
linux-schema.json 被自动生成并带进了 PR(+2606 行)。main 分支从未
commit 过这个文件(git log 无记录)。

问题:
- 这个 schema 是 Linux 平台构建时自动生成的,不同 Linux 机器产出可能
  不一致,容易引起 PR diff 噪声和合并冲突。
- 历史原因 desktop-schema.json / macOS-schema.json / windows-schema.json
  已经被 track 了,暂不动以免其他 maintainer 的工作流受影响。
- 但 Linux schema 在本仓库从未入库,纯属贡献者本地构建副产物,应当忽略。

防护:
- 在 main 的 .gitignore 加入 src-tauri/gen/schemas/linux-schema.json
- 配合 review 里已经要求 PR #232 作者 git rm 该文件的 action item

Refs: PR #232 review comment
2026-04-20 12:39:07 +08:00

72 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 依赖
node_modules/
# 防止贡献者用 pnpm 安装依赖时误提 lock本项目使用 npm / package-lock.json
pnpm-lock.yaml
yarn.lock
.cursor
docs/issue-solutions.md
# 构建产物
dist/
src-tauri/target/
# Tauri build 自动生成的平台 schema历史原因 desktop/macOS/windows 已 track
# Linux 平台的 schema 只在 Linux 上构建时才会生成,不同 Linux 机器产出也不一致,
# 容易被贡献者误提到 PR 里)
src-tauri/gen/schemas/linux-schema.json
# 日志
*.log
tauri-dev.log
api_doc_mcp.log
# macOS
.DS_Store
.AppleDouble
.LSOverride
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.lnk
# 构建临时文件
nul
release_body.md
release_body.md.bak
# 本地临时文件 / 设计文档 / 构建脚本
.tmp/
scripts/build-r2-archive.sh
r2-archives/
# 内部开发文档(不入公开仓)
AGENTS.md
BLOCKING_ISSUES_REPORT.md
__clawapp-chat-ref.js
LOBSTER-LEGION-ARCHIVE.md
# 大文件(宣传视频·原始版本)
docs/promo-video.mp4
# IDE / 编辑器
.idea/
*.iml
.vscode/settings.json
.vscode/launch.json
*.suo
*.user
*.userosscache
*.sln.docstates
# Rust 开发工具
src-tauri/.cargo/
.codex/
# AI 上下文记忆
.context.md
CONTEXT_STATE.md
PROJECT_CONTRACT.md
project.yaml