Skip to contentSkip to conversation

kernelshark: add .gitignore for generated/build files

PATCH Superseded Mircea Cirjaliu 2 participants 2 messages Oct 24, 2025 – Oct 27, 2025 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 kernelshark: add .gitignore for generated/build files

Not having a .gitignore will bloat git listings.
Created a .gitignore for all build artifacts.

---
 .gitignore | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 .gitignore
.gitignore new file +16 -0
new file mode 100644
index 0000000..38a45ac
@@ -0,0 +1,16 @@
+.vscode/
+build/.cmake/
+build/.qt/
+build/CMakeCache.txt
+build/CMakeFiles/
+build/Makefile
+build/cmake_install.cmake
+build/compile_commands.json
+build/examples/
+build/include/
+build/src/
+bin/
+lib/
+kernelshark.desktop
+libkshark.pc
+org.freedesktop.kshark-record.policy
Signature · 1 line
2.43.0
#2 lore raw

Hi Mircea,

Quoted 15 lines · Mircea Cirjaliu

Not having a .gitignore will bloat git listings.
Created a .gitignore for all build artifacts.

---
  .gitignore | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)

create mode 100644 .gitignore

.gitignore new file +0 -0
new file mode 100644
index 0000000..38a45ac

.gitignore line 4

Quoted 4 lines
.gitignore new file +4 -0
@@ -0,0 +1,16 @@
+.vscode/
+build/.cmake/
+build/.qt/
+build/CMakeCache.txt

There are files that are missing from the list here. I guess this is because you are missing some of the optional dependencies.
Please add also:

build/CMakeDoxyfile.in
build/CMakeDoxygenDefaults.cmake
build/CTestTestfile.cmake
build/tests/

.gitignore line 13

Quoted 9 lines
.gitignore new file +9 -0
+build/CMakeFiles/
+build/Makefile
+build/cmake_install.cmake
+build/compile_commands.json
+build/examples/
+build/include/
+build/src/
+bin/
+lib/

and this directory:

tests/

.gitignore line 16

Quoted 3 lines
.gitignore new file +3 -0
+kernelshark.desktop
+libkshark.pc
+org.freedesktop.kshark-record.policy

Thanks,
Yordan