Skip to content

Commit 57d3eb9

Browse files
committed
chore: standardize .gitignore (RSR)
1 parent c9da5fc commit 57d3eb9

1 file changed

Lines changed: 55 additions & 109 deletions

File tree

.gitignore

Lines changed: 55 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,79 @@
1-
# RSR Standard .gitignore
2-
# https://github.com/hyperpolymath/RSR-template-repo
3-
#
4-
# RSR Language Tiers:
5-
# Tier 1: Rust, Elixir, Zig, Ada, Haskell, ReScript
6-
# Tier 2: Nickel, Racket, Guile Scheme, Nix
7-
# Infrastructure: Guix channels, derivations
8-
#
9-
# Prohibited: TypeScript, JavaScript (use ReScript), Python (except salt/), Go, CUE
1+
# SPDX-License-Identifier: AGPL-3.0-or-later
2+
# RSR-compliant .gitignore
103

11-
# === Build Artifacts ===
4+
# OS & Editor
5+
.DS_Store
6+
Thumbs.db
7+
*.swp
8+
*.swo
9+
*~
10+
.idea/
11+
.vscode/
12+
13+
# Build
1214
/target/
13-
/dist/
1415
/_build/
15-
/lib/
16-
*.o
17-
*.a
18-
*.so
19-
*.dylib
20-
21-
# === Guix/Nix ===
22-
/result
23-
/result-*
24-
/.direnv/
25-
/.envrc.local
26-
*.drv
16+
/build/
17+
/dist/
18+
/out/
2719

28-
# === ReScript ===
29-
*.bs.js
30-
.bsb.lock
31-
.merlin
20+
# Dependencies
21+
/node_modules/
22+
/vendor/
23+
/deps/
24+
/.elixir_ls/
3225

33-
# === Rust ===
34-
/target/
35-
# Uncomment for binaries, keep for libraries:
36-
# Cargo.lock
26+
# Rust
27+
# Cargo.lock # Keep for binaries
3728

38-
# === Elixir ===
39-
/_build/
40-
/deps/
29+
# Elixir
30+
/cover/
31+
/doc/
4132
*.ez
42-
*.beam
43-
/priv/static/
44-
.fetch
4533
erl_crash.dump
46-
*.plt
4734

48-
# === Zig ===
49-
zig-cache/
50-
zig-out/
35+
# Julia
36+
*.jl.cov
37+
*.jl.mem
38+
/Manifest.toml
39+
40+
# ReScript
41+
/lib/bs/
42+
/.bsb.lock
5143

52-
# === Ada ===
44+
# Python (SaltStack only)
45+
__pycache__/
46+
*.py[cod]
47+
.venv/
48+
49+
# Ada/SPARK
5350
*.ali
54-
*.o
5551
/obj/
5652
/bin/
5753

58-
# === Haskell ===
54+
# Haskell
5955
/.stack-work/
60-
/.cabal-sandbox/
61-
dist-newstyle/
62-
*.hi
63-
64-
# === Nickel ===
65-
# (Nickel has no artifacts typically)
66-
67-
# === Racket ===
68-
compiled/
69-
*.zo
70-
*.dep
71-
72-
# === Salt (only permitted Python) ===
73-
salt/__pycache__/
74-
salt/*.pyc
75-
76-
# === Containers (nerdctl + Wolfi/distroless) ===
77-
# No Docker artifacts - we use nerdctl
78-
*.tar
79-
image-cache/
56+
/dist-newstyle/
8057

81-
# === IDE & Editors ===
82-
.idea/
83-
.vscode/
84-
*.swp
85-
*.swo
86-
*~
87-
.#*
88-
\#*#
58+
# Chapel
59+
*.chpl.tmp.*
8960

90-
# === Environment ===
61+
# Secrets
9162
.env
92-
.env.local
93-
.env.*.local
94-
*.env
95-
96-
# === Logs ===
97-
*.log
98-
logs/
99-
100-
# === OS Files ===
101-
.DS_Store
102-
Thumbs.db
103-
desktop.ini
104-
105-
# === Temporary ===
106-
/tmp/
107-
/.tmp/
108-
/.cache/
109-
*.tmp
110-
*.temp
111-
112-
# === Coverage & Test ===
113-
/coverage/
114-
/.nyc_output/
115-
*.lcov
116-
117-
# === Security ===
63+
.env.*
11864
*.pem
11965
*.key
120-
*.crt
121-
*.p12
12266
secrets/
123-
.secrets/
124-
credentials.json
12567

126-
# === Generated Docs ===
127-
/docs/generated/
128-
!/docs/generated/.gitkeep
68+
# Test/Coverage
69+
/coverage/
70+
htmlcov/
71+
72+
# Logs
73+
*.log
74+
/logs/
12975

130-
# === Misc ===
76+
# Temp
77+
/tmp/
78+
*.tmp
13179
*.bak
132-
*.orig
133-
.justfile.bak

0 commit comments

Comments
 (0)