Cleanup .gitignore files for the monorepo

We don't need to duplicate so many patterns in so many
files since we have a monorepo (and want to keep it).

If I managed to miss something or remove something that
should stay, please put it back. Note that monorepo-wide
patterns should go in the top-level .gitignore file.
Other .gitignore files are for application or folder-
specific patterns.
This commit is contained in:
Loïc Hoguin 2024-06-27 14:17:11 +02:00
parent 237d050341
commit bbfa066d79
No known key found for this signature in database
GPG Key ID: C69E26E3A9DF618F
53 changed files with 68 additions and 1104 deletions

101
.gitignore vendored
View File

@ -1,11 +1,30 @@
# Editor/OS temporary and unwanted files.
*~
\#*
.#*
.sw?
*.tmp
.*.sw?
/.erlang.mk/
/_build/
/ebin/
/bin/
*.orig
*.tmp
.idea/
.tool-versions
.vscode/
.DS_Store
# Erlang.mk temporary files and outputs.
*.plt
*.d
.erlang.mk/
cover/
docs/*.html
ebin/
logs/
**/test/*.beam
**/test/ct.cover.spec
elvis
# Dependencies excluding RabbitMQ applications.
/deps/*
!/deps/rabbit/
!/deps/rabbit_common/
@ -59,44 +78,58 @@
!/deps/rabbitmq_web_stomp/
!/deps/rabbitmq_web_stomp_examples/
!/deps/trust_store_http/
/escript/
/escript.lock
/plugins/
/plugins.lock
/sbin/
/sbin.lock
ct.cover.spec
erl_crash.dump
# Rebar3/Elixir temporary files and outputs.
.rebar3/
_build/
_checkouts/
rebar3.crashdump
.envrc
.exrc
.ignore
*.plt
# Automatically generated rebar.config files.
rebar.config
!/deps/amqp10_common/rebar.config
!/rebar.config
# Bazel.
.bazelrc
user.bazelrc
bazel-*
extra_deps/
# Erlang/OTP unwanted files.
.erlang.cookie
erl_crash.dump
MnesiaCore.*
# RabbitMQ Makefiles temporary files and outputs.
*.lock
/logs/
/genhtml/
/topic-branch-scratch/
escript/
plugins/
sbin/
git-revisions.txt
PACKAGES/
packaging/docker-image/rabbitmq_server-*/
# Source distribution.
rabbitmq-server-*/
rabbitmq-server-*.tar.gz
rabbitmq-server-*.tar.bz2
rabbitmq-server-*.tar.xz
rabbitmq-server-*.zip
# Trace tools output.
*-ttb
*.ti
*.lz4*
traces*
callgrind.out*
callgraph.dot*
# Unknown. If you know in which category this belongs to,
# please move it there. Thank you.
.envrc
.exrc
.ignore
/genhtml/
/topic-branch-scratch/
# @todo Should be moved to rabbitmq_stomp directly.
deps/rabbitmq_stomp/test/python_SUITE_data/src/deps
callgrand*
/user.bazelrc
/bazel-*
/extra_deps/
.tool-versions
.vscode
.idea

View File

@ -1,24 +1,3 @@
.sw?
.*.sw?
*.beam
*.plt
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
elvis
amqp10_client.d
/*.coverdata
# Generated source files.
/include/rabbit_amqp1_0_framing.hrl
/src/rabbit_amqp1_0_framing0.erl

View File

@ -1,28 +1,3 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/git-revisions.txt
/logs/
/plugins/
/plugins.lock
/rebar.lock
/sbin/
/sbin.lock
/test/ct.cover.spec
_build
/amqp10_common.d
/*.plt
# Generated source files.
/include/amqp10_framing.hrl
/src/amqp10_framing0.erl

View File

@ -1,21 +0,0 @@
.sw?
.*.sw?
*.beam
*.coverdata
/.erlang.mk/
/_build/
/cover/
/deps/
/doc/
/ebin/
/escript/
/git-revisions.txt
/logs/
/PACKAGES/
*.plt
/plugins/
/rebar.config
/rebar.lock
/sbin
/test/ct.cover.spec
/amqp_client.d

View File

@ -1,20 +0,0 @@
.sw?
.*.sw?
*.beam
*.plt
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
elvis
/*.coverdata
oauth2_client.d

View File

@ -1,42 +1,6 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
MnesiaCore.*
/.erlang.mk/
/cover/
/debug/
/deps/
/debug/
/doc/
/ebin/
/escript/
/escript.lock
/etc/
/logs/
/plugins/
/plugins.lock
/test/ct.cover.spec
/test/config_schema_SUITE_data/schema/**
/sbin/
/sbin.lock
rabbit.d
# Generated documentation.
docs/*.html
# Dialyzer
*.plt
# Tracing tools
*-ttb
*.ti
*.lz4*
callgrind.out*
callgraph.dot*
PACKAGES/*
rabbit-rabbitmq-deps.mk

View File

@ -1,7 +0,0 @@
/.erlang.mk/
/deps/
/ebin/
/escript
/plugins/
/my_plugin.d
/sbin

View File

@ -1,25 +0,0 @@
*~
.sw?
.*.sw?
.*.plt
*.beam
*.coverdata
/.*.plt
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/git-revisions.txt
/logs/
/plugins/
/plugins.lock
/rebar.config
/rebar.lock
/sbin/
/sbin.lock
/test/ct.cover.spec
/rabbit_common.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_amqp1_0.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_amqp_client.d

View File

@ -1,19 +1 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
test/config_schema_SUITE_data/schema/
/rabbitmq_auth_backend_cache.d

View File

@ -1,22 +1 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
test/config_schema_SUITE_data/schema/
/rabbitmq_auth_backend_http.d
.idea

View File

@ -1,20 +1,3 @@
.sw?
.*.sw?
*.beam
.vagrant
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
test/config_schema_SUITE_data/schema/
rabbitmq_auth_backend_ldap.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_auth_backend_oauth2.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_auth_mechanism_ssl.d

View File

@ -1,29 +1,6 @@
.rebar3
_*
.eunit
*.o
*.beam
*.plt
*.swp
*.swo
.erlang.cookie
ebin
log
erl_crash.dump
.rebar
logs
_build
.idea
cobertura.xml
rebar.lock
.erlang.mk
deps
rabbitmq_aws.d
test/*xml
cover
/escript/
/escript.lock
/plugins/
/plugins.lock
/sbin/
/sbin.lock

View File

@ -1,13 +1 @@
/_build
/cover
/deps
/escript
/log
/.erlang.mk/
/ebin
/sbin
erl_crash.dump
mix.lock
*.ez
.sw?
.*.sw?
/deps/

View File

@ -1,11 +1,5 @@
*~
.sw?
.*.sw?
*.beam
*.pyc
erl_crash.dump
/build/
/cover/
/dist/
/ebin/
/tmp/

View File

@ -1,18 +1 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/debug/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_consistent_hash_exchange.d

View File

@ -1,22 +0,0 @@
*~
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_ct_client_helpers.d
/.rabbitmq_ct_client_helpers.plt
/.bazelrc
/bazel-*

View File

@ -1,26 +1,4 @@
*~
.sw?
.*.sw?
*.beam
.terraform/
.terraform-*
terraform.tfstate*
*terraform.lock*
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_ct_helpers.d
/.rabbitmq_ct_helpers.plt
/.bazelrc
/bazel-*

View File

@ -1,19 +1 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
test/config_schema_SUITE_data/schema/rabbit.schema
rabbitmq_event_exchange.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_federation.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_federation_management.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_jms_topic_exchange.d

View File

@ -1,30 +1,6 @@
../../../.gitignore
.sw?
.*.sw?
*.beam
erl_crash.dump
MnesiaCore.*
/.erlang.mk/
/cover/
/debug/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_management.d
.rabbitmq_management.plt
*.coverdata
test/config_schema_SUITE_data/schema/
.vscode/*
selenium/node_modules
selenium/package-lock.json

View File

@ -1,18 +0,0 @@
.sw?
.*.sw?
*.beam
*.plt
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_management_agent.d

View File

@ -1,26 +1,4 @@
.sw?
.*.sw?
*.beam
*.coverdata
.idea/*
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/log/
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/test/ct.cover.spec
debug/*
*.plt
test/config_schema_SUITE_data/schema/
test/.idea/*
rabbitmq_mqtt.d

View File

@ -1,24 +1 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/git-revisions.txt
/logs/
/plugins/
/plugins.lock
/rebar.config
/rebar.lock
/sbin/
/sbin.lock
/test/config_schema_SUITE_data/schema/
/test/ct.cover.spec
/rabbitmq_peer_discovery_aws.d

View File

@ -1,24 +1 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/git-revisions.txt
/logs/
/plugins/
/plugins.lock
/rebar.config
/rebar.lock
/sbin/
/sbin.lock
/test/config_schema_SUITE_data/schema/
/test/ct.cover.spec
/rabbitmq_peer_discovery_common.d

View File

@ -1,24 +1 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/git-revisions.txt
/logs/
/plugins/
/plugins.lock
/rebar.config
/rebar.lock
/sbin/
/sbin.lock
/test/config_schema_SUITE_data/schema/
/test/ct.cover.spec
/rabbitmq_peer_discovery_consul.d

View File

@ -1,25 +1,2 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
tags
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/git-revisions.txt
/logs/
/plugins/
/plugins.lock
/rebar.config
/rebar.lock
/sbin/
/sbin.lock
/test/config_schema_SUITE_data/schema/
/test/ct.cover.spec
/rabbitmq_peer_discovery_etcd.d

View File

@ -1,24 +1 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/git-revisions.txt
/logs/
/plugins/
/plugins.lock
/rebar.config
/rebar.lock
/sbin/
/sbin.lock
/test/config_schema_SUITE_data/schema/
/test/ct.cover.spec
/rabbitmq_peer_discovery_k8s.d

View File

@ -1,12 +0,0 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
/ebin/
/.erlang.mk/
/logs/
/rabbitmq_prelaunch.d
# Dialyzer
*.plt

View File

@ -1,24 +1,3 @@
.sw?
.*.sw?
*.beam
*~
\#*
.#*
*.d
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
erl_crash.dump
prometheus/data
test/config_schema_SUITE_data/schema/

View File

@ -1,19 +0,0 @@
.DS_Store
erl_crash.dump
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_random_exchange.d

View File

@ -1,19 +0,0 @@
.DS_Store
erl_crash.dump
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_recent_history_exchange.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_sharding.d

View File

@ -1,21 +1 @@
.sw?
.*.sw?
*.beam
*.plt
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
elvis
elvis.config
/rabbitmq_shovel.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_shovel_management.d

View File

@ -1,22 +1,3 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/debug/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_stomp.d
# Python testsuite.
.python-version
*.pyc

View File

@ -1,57 +1,11 @@
.eunit
*.o
*.beam
*.plt
erl_crash.dump
.concrete/DEV_MODE
# rebar 2.x
.rebar
rel/example_project
ebin/*.beam
deps
# rebar 3
.rebar3
_build/
_checkouts/
erl_crash.dump
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/ebin/
/escript/
/logs/
/plugins/
/sbin/
elvis
callgrind*
ct.coverdata
test/ct.cover.spec
_build
rabbitmq_stream.d
*.plt
*.d
*.jar
*~
.sw?
.*.sw?
*.beam
*.class
*.dat
*.dump
*.iml
*.ipr
*.iws
.DS_Store
\#~
/.idea/
/deps/

View File

@ -1,55 +1,11 @@
.eunit
*.o
*.beam
*.plt
erl_crash.dump
.concrete/DEV_MODE
# rebar 2.x
.rebar
rel/example_project
ebin/*.beam
deps
# rebar 3
.rebar3
_build/
_checkouts/
erl_crash.dump
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/ebin/
/logs/
/plugins/
elvis
callgrind*
ct.coverdata
test/ct.cover.spec
_build
rabbitmq_stream_common.d
*.plt
*.d
*.jar
*~
.sw?
.*.sw?
*.beam
*.class
*.dat
*.dump
*.iml
*.ipr
*.iws
.DS_Store
\#~
/.idea/
/deps/

View File

@ -1,59 +1,11 @@
.eunit
*.o
*.beam
*.plt
erl_crash.dump
.concrete/DEV_MODE
# rebar 2.x
.rebar
rel/example_project
ebin/*.beam
deps
# rebar 3
.rebar3
_build/
_checkouts/
erl_crash.dump
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
elvis
callgrind*
ct.coverdata
test/ct.cover.spec
_build
rabbitmq_stream.d
*.plt
*.d
*.jar
*~
.sw?
.*.sw?
*.beam
*.class
*.dat
*.dump
*.iml
*.ipr
*.iws
.DS_Store
\#~
/.idea/

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_top.d

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_tracing.d

View File

@ -1,21 +1,3 @@
.sw?
*.orig
.*.sw?
*.beam
/.erlang.mk/
/cover/
/debug/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_trust_store.d
test/config_schema_SUITE_data/schema/

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_web_dispatch.d

View File

@ -1,17 +1 @@
*.swp
/.erlang.mk/
/cover/
/deps/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/test/*.beam
/rabbitmq_web_mqtt.d
test/config_schema_SUITE_data/schema/

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_web_mqtt_examples.d

View File

@ -1,19 +1 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
rabbitmq_web_stomp.d
test/config_schema_SUITE_data/schema/

View File

@ -1,17 +0,0 @@
.sw?
.*.sw?
*.beam
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/escript.lock
/logs/
/plugins/
/plugins.lock
/sbin/
/sbin.lock
/rabbitmq_web_stomp_examples.d

View File

@ -1,21 +0,0 @@
*~
.sw?
.*.sw?
*.beam
*.coverdata
/.erlang.mk/
/cover/
/deps/
/doc/
/ebin/
/escript/
/git-revisions.txt
/logs/
/plugins/
/rebar.config
/rebar.lock
/_rel/
/sbin/
/test/ct.cover.spec
/trust_store_http.d