Skip to content

Commit f919441

Browse files
committed
chore: expand .gitignore (Flatpak, IDEs, Python, CMake)
- Un-ignore tracked cmake modules with !cmake/**/*.cmake - Flatpak: .flatpak-builder, repo/, build-dir/, *.flatpak - Editors: .clangd, VS Open Folder, code workspace - Python caches and venvs; merge/patch leftovers; KDE .directory - CMakeUserPresets.json; dedupe *.gcov entry
1 parent b064ad8 commit f919441

1 file changed

Lines changed: 43 additions & 2 deletions

File tree

.gitignore

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,20 @@ bin/
77
lib/
88
*.dir/
99

10-
# CMake
10+
# CMake (generated); keep tracked project modules under cmake/
1111
CMakeCache.txt
1212
CMakeFiles/
1313
cmake_install.cmake
1414
Makefile
1515
*.cmake
1616
!CMakeLists.txt
17+
!cmake/**/*.cmake
1718
*.cbp
1819
CTestTestfile.cmake
1920
_deps/
2021
install_manifest.txt
2122
compile_commands.json
23+
CMakeUserPresets.json
2224

2325
# C/C++ compilado
2426
*.o
@@ -61,6 +63,7 @@ ui_*.h
6163
*.config
6264

6365
# IDEs y editores
66+
.cursor/
6467
.vscode/
6568
.idea/
6669
*.sublime-project
@@ -69,6 +72,14 @@ ui_*.h
6972
*.swp
7073
*.swo
7174
.*.sw?
75+
.clangd
76+
.cache/clangd/
77+
*.code-workspace
78+
79+
# Visual Studio (CMake “Open folder”)
80+
.vs/
81+
CMakeSettings.json
82+
CppProperties.json
7283

7384
# Sistema operativo
7485
.DS_Store
@@ -77,6 +88,7 @@ ui_*.h
7788
Thumbs.db
7889
ehthumbs.db
7990
Desktop.ini
91+
.directory
8092

8193
# Depuradores y profiling
8294
*.core
@@ -91,6 +103,14 @@ Desktop.ini
91103
perf.data
92104
perf.data.old
93105

106+
# Tags / navegación C
107+
tags
108+
TAGS
109+
GTAGS
110+
GRTAGS
111+
GPATH
112+
cscope.out
113+
94114
# Documentación generada
95115
doc/html/
96116
doc/latex/
@@ -101,9 +121,18 @@ docs/_build/
101121
Testing/
102122
test_results/
103123
coverage/
104-
*.gcov
105124
lcov.info
106125

126+
# Python (scripts/, herramientas locales)
127+
__pycache__/
128+
*.py[cod]
129+
*$py.class
130+
.pytest_cache/
131+
.mypy_cache/
132+
.ruff_cache/
133+
venv/
134+
.venv/
135+
107136
# Empaquetado y distribución
108137
*.tar
109138
*.tar.gz
@@ -112,8 +141,20 @@ lcov.info
112141
*.deb
113142
*.rpm
114143
*.msi
144+
*.AppImage
145+
*.flatpak
115146
packaging/build/
116147

148+
# Flatpak / flatpak-builder (builds locales y CI)
149+
.flatpak-builder/
150+
flatpak/.flatpak-builder/
151+
repo/
152+
build-dir/
153+
154+
# Parches y merge
155+
*.orig
156+
*.rej
157+
117158
# Variables de entorno / local
118159
.env
119160
.env.local

0 commit comments

Comments
 (0)