Skip to content

Commit 8fce6a4

Browse files
azheregelyaprilr
authored andcommitted
CLOS-4298: exclude AI tooling from source archives via export-ignore
Adds .gitattributes rules so that `git archive` skips AI assistant config (Claude, Cursor, Codex, Antigravity/Gemini, Aider, Continue, Codeium/Windsurf, Cline/Roo, Copilot) from produced src.rpm tarballs. Same content as applied to cpanel-lvemanager MR 66. No runtime impact. See Jira CLOS-4298 for the full write-up.
1 parent fe5053e commit 8fce6a4

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.gitattributes

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# AI assistant tooling — must not ship in src.rpm or binary packages.
2+
# This is a blacklist across today's mainstream AI coding tools; expect
3+
# occasional updates as new tools emerge. The endgame is a whitelist
4+
# (`include` in build recipes) — see Slite "src.rpm Content Isolation".
5+
6+
# Generic cross-tool conventions
7+
/.agents export-ignore
8+
AGENTS.md export-ignore
9+
10+
# Claude Code
11+
/.claude export-ignore
12+
CLAUDE.md export-ignore
13+
14+
# Cursor
15+
/.cursor export-ignore
16+
.cursorrules export-ignore
17+
18+
# OpenAI Codex (CLI and agent)
19+
/.codex export-ignore
20+
CODEX.md export-ignore
21+
22+
# Google Antigravity / Gemini
23+
/.antigravity export-ignore
24+
GEMINI.md export-ignore
25+
26+
# Aider — catches .aider.chat.history.md, .aider.input.history, .aider.tags.cache.v3/, etc.
27+
.aider* export-ignore
28+
29+
# Continue
30+
/.continue export-ignore
31+
32+
# Codeium / Windsurf
33+
/.codeium export-ignore
34+
/.windsurf export-ignore
35+
.windsurfrules export-ignore
36+
37+
# Cline / Roo
38+
/.cline export-ignore
39+
.clinerules export-ignore
40+
/.roo export-ignore
41+
.roorules export-ignore
42+
43+
# GitHub Copilot (instructions file lives inside .github/, can't blanket-exclude .github/)
44+
.github/copilot-instructions.md export-ignore

0 commit comments

Comments
 (0)