From febe44ed793ef01419d01b06f9fd8bd1abadd304 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Thu, 21 Oct 2021 20:29:04 +0200 Subject: [PATCH] [ticket/16896] Adds comments in .gitignore and excludes custom envs PHPBB3-16896 --- .gitignore | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 5e4395e5ff..15125b68cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,33 +1,54 @@ -*~ -/phpunit.xml +# Excludes cache /phpBB/cache/* !/phpBB/cache/.htaccess !/phpBB/cache/index.html -/phpBB/composer.phar + +# Excludes user data /phpBB/config*.php* /phpBB/ext/* /phpBB/files/* /phpBB/images/avatars/gallery/* /phpBB/images/avatars/upload/* /phpBB/images/ranks/* -/phpBB/install/schemas/schema.json +/phpBB/store/* + +# Excludes all custom langages /phpBB/language/* !/phpBB/language/en -/phpBB/store/* + +# Excludes all custom styles /phpBB/styles/* !/phpBB/styles/prosilver /phpBB/styles/prosilver/theme/*/ !/phpBB/styles/prosilver/theme/en !/phpBB/styles/prosilver/theme/images !/phpBB/styles/all -node_modules + +# Excludes all custom env +/phpBB/config/* +!/phpBB/config/default +!/phpBB/config/development +!/phpBB/config/installer +!/phpBB/config/production +!/phpBB/config/test +!/phpBB/config/.htaccess + +# Excludes vendors /phpBB/vendor + +# Excludes test / dev files +/phpunit.xml +/phpBB/composer.phar /tests/phpbb_unit_tests.sqlite* /tests/test_config*.php /tests/tmp/* /tests/vendor /vagrant/phpbb-install-config.yml .vagrant +node_modules + +# Excludes IDE / editors files +*~ .idea *.DS_Store* /.vscode