From 3b4f52ad45c87421f2610fcce009d419cf3bc8ee Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 24 Apr 2024 02:51:27 -0400 Subject: [PATCH] .gitignore: categorize rules and sort them per category Signed-off-by: Philippe Proulx Change-Id: I4a80709271b189469ba6b3869410ff41196ae551 Reviewed-on: https://review.lttng.org/c/babeltrace/+/12470 --- .gitignore | 107 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 65 insertions(+), 42 deletions(-) diff --git a/.gitignore b/.gitignore index e3bb84fd..456c58d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,64 +1,87 @@ -/tests/**/test-* -!/tests/**/test-*.sh -!/tests/**/test-*.[hc] -!/tests/**/test-*.[hc]pp -/tests/ctf-writer/ctf-writer -/tests/lib/conds/conds-triggers -/tests/lib/plugin -/tests/plugins/sink.ctf.fs/succeed/gen-trace-double -/tests/plugins/sink.ctf.fs/succeed/gen-trace-float -/tests/plugins/src.ctf.fs/succeed/gen-trace-simple -/tests/utils/env.sh -*~ -*.o +# Generated build files *.a +*.exe *.la *.lo -*.exe -.libs -.deps -*.bkp +*.o *.trs +.deps +.libs + +# Generated Autotools files .dirstamp -/src/plugins/ctf/common/src/metadata/tsdl/lexer.cpp -/src/plugins/ctf/common/src/metadata/tsdl/parser.*pp -/src/plugins/ctf/common/src/metadata/tsdl/parser.output -/src/bindings/python/bt2/dist -/src/cli/*.bin -/src/cli/babeltrace2 -/src/cli/babeltrace2-log -/src/common/config.h -/src/common/config.h.in -/src/common/version.i -/src/common/version.i.tmp -/config.status -*.log aclocal.m4 +/autom4te.cache/ +/config.status +/config/ +/configure +libtool /m4/libtool.m4 -/m4/lt~obsolete.m4 /m4/ltoptions.m4 /m4/ltsugar.m4 /m4/ltversion.m4 -libtool -/configure +/m4/lt~obsolete.m4 Makefile Makefile.in -autom4te.cache/ -config/ -core stamp-h1 + +# Generated Python files +*.egg-info __pycache__ -/src/babeltrace2.pc +/src/bindings/python/bt2/dist + +# Generated pkg-config files /src/babeltrace2-ctf-writer.pc -TAGS -cscope* -*.gcno +/src/babeltrace2.pc + +# Generated configuration/version header files +/src/common/config.h +/src/common/config.h.in +/src/common/version.i +/src/common/version.i.tmp + +# Generated CLI binaries +/src/cli/*.bin +/src/cli/babeltrace2 +/src/cli/babeltrace2-log + +# Generated `ctf` plugin lexer/parser files +/src/plugins/ctf/common/src/metadata/tsdl/lexer.cpp +/src/plugins/ctf/common/src/metadata/tsdl/parser.*pp +/src/plugins/ctf/common/src/metadata/tsdl/parser.output + +# Generated test files +/tests/**/test-* +!/tests/**/test-*.sh +!/tests/**/test-*.[hc] +!/tests/**/test-*.[hc]pp +/tests/ctf-writer/ctf-writer +/tests/lib/conds/conds-triggers +/tests/lib/plugin +/tests/plugins/sink.ctf.fs/succeed/gen-trace-double +/tests/plugins/sink.ctf.fs/succeed/gen-trace-float +/tests/plugins/src.ctf.fs/succeed/gen-trace-simple +/tests/utils/env.sh + +# Version extra information +/version + +# IDE, editor, development tool, and other files +*.bkp *.gcda +*.gcno *.gcov *.html +*.ide +*.log *.stamp +*.sublime-project +*.sublime-workspace *.swp -*.egg-info +*~ +.cache/ .theia compile_commands.json -/version +cscope* +/install/ +TAGS -- 2.34.1