From c2ca545a72551f7faf73399aa27fe5efd3796093 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 29 Sep 2021 09:56:58 -0400 Subject: [PATCH] Fix gitignore - `*build*/` is not needed because Meson puts a .gitignore in builddir already. - `meson/` why? - `/gst*` is too wide, it includes e.g. gst-env.py, list symlinks explicitly instead. - `subprojects/*` excludes all .wrap files, and `!subprojects/gst*` is not enough because e.g. `macos-bison-binary` is still ignored. Instead ignore only directories except those we include in our git repository. Part-of: --- .gitignore | 49 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 92312aae96..ea02f7e787 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,47 @@ -*build*/ cscope.in.out cscope.out cscope.po.out -libnice __pycache__ -meson/ prefix/ -pygobject .gdbinit -/gst* -subprojects/* -!subprojects/gst* -subprojects/gst-plugins-rs/ -subprojects/gstreamer-rs/ \ No newline at end of file +# Symlinks +/gstreamer +/gst-plugins-base +/gst-plugins-good +/libnice +/gst-plugins-bad +/gst-plugins-ugly +/gst-libav +/gst-rtsp-server +/gst-devtools +/gst-integration-testsuites +/gst-editing-services +/gstreamer-vaapi +/gst-omx +/gstreamer-sharp +/pygobject +/gst-python +/gst-examples +/gst-plugins-rs + +subprojects/*/ +!subprojects/gst-devtools +!subprojects/gst-docs +!subprojects/gst-editing-services +!subprojects/gst-examples +!subprojects/gst-integration-testsuites +!subprojects/gst-libav +!subprojects/gst-omx +!subprojects/gst-plugins-bad +!subprojects/gst-plugins-base +!subprojects/gst-plugins-good +!subprojects/gst-plugins-ugly +!subprojects/gst-python +!subprojects/gstreamer +!subprojects/gstreamer-sharp +!subprojects/gstreamer-vaapi +!subprojects/gst-rtsp-server +!subprojects/macos-bison-binary +!subprojects/win-flex-bison-binaries +!subprojects/win-nasm