From 58a890f85b442187339d3ef17c5ee2589bed3bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20L=C3=B3pez?= Date: Mon, 23 Sep 2024 17:31:00 +0200 Subject: [PATCH] Reorder and clean gitignore --- aljibe-kickstart/.gitignore | 123 ++++++++++++++++++------------------ 1 file changed, 61 insertions(+), 62 deletions(-) diff --git a/aljibe-kickstart/.gitignore b/aljibe-kickstart/.gitignore index d9a073c..4d87caa 100644 --- a/aljibe-kickstart/.gitignore +++ b/aljibe-kickstart/.gitignore @@ -1,5 +1,30 @@ -#ddev-generated -# Ignore directories generated by Composer. +# !! All modifications to this file should be done under +# the "Custom ignore rules" section at the end of the file. + +# ------------------------- +# Generic ignore rules +## Ensure .gitkeep files are commited so folder structure get respected. +!.gitkeep + +## OS X files. +.DS_STORE +.Ds_Store +.DS_Store + +## Linux files. +.directory + +## Database and compressed files. +*.mysql +*.sql +*.gz +*.zip +*.rar +*.7z + +# ------------------------- +# Drupal +## Composer managed paths. /drush/contrib/ /vendor/ /web/core/ @@ -7,84 +32,58 @@ /web/themes/contrib/ /web/profiles/contrib/ /web/libraries/ -/create-project.gif -# Ignore xdebug docker-compose file -docker-compose.xdebug.override.yml - -# Ignore sensitive information. +## Sensitive information. /web/sites/*/settings.local.php -# Ignore local drush settings +## Local drush settings /web/sites/*/local.drush.yml -# Ignore SimpleTest multi-site environment. -# TODO Replace/remove it before d9 release https://www.drupal.org/node/3091784 -/web/sites/simpletest - -# Ignore paths that contain user-generated content. +## Paths that contain user-generated content. /web/sites/*/files /private-files/* +!/private-files/.gitkeep -web/sites/*/translations/* +## Translations +/web/sites/*/translations/* -# OS X files. -.DS_STORE -.Ds_Store -.DS_Store - -# Linux files. -.directory - -# IDE related directories. -/nbproject/private/ -.idea - -# Database and compressed files. -*.mysql -*.sql -*.gz -*.zip -*.rar -*.7z - -# NPM. +## NPM. node_modules/ .sass-cache .cache -# Test related reports. -/reports/* - -# BackstopJS -/tests/*/backstopjs/backstop_data/html_report -/tests/*/backstopjs/backstop_data/ci_report -/tests/*/backstopjs/backstop_data/bitmaps_test -/tests/*/*/backstopjs/backstop_data/html_report -/tests/*/*/backstopjs/backstop_data/ci_report -/tests/*/*/backstopjs/backstop_data/bitmaps_test +# ------------------------- +# IDE Files +## IDE related directories. +nbproject/ +.idea/ -# Temporary files +# Aljibe +## Temporary files /tmp/* -# Ignore docker-compose env specific settings. -/docker-compose.override.yml +## DDEV +settings.ddev.php -# Ensure .gitkeep files are commited so folder structure get respected. -!.gitkeep -/.editorconfig -/.gitattributes +## Aljibe +aljibe-kickstart -# Generated artifact by metadrop/drupal-artifact-builder -deploy-artifact +## mkdocs +docs/site -# DDEV -/.ddev/docker-compose.ci.yaml -example.settings.local.php -settings.ddev.php +## Test related reports. +/reports/*/** +!/reports/*/.gitkeep -# Aljibe -aljibe-kickstart +## BackstopJS +/tests/backstopjs/**/html_report +/tests/backstopjs/**/ci_report +/tests/backstopjs/**/bitmaps_test + +# ------------------------- +# Tools +## Generated artifact by metadrop/drupal-artifact-builder +deploy-artifact/ -# mkdocs -docs/site \ No newline at end of file +# Custom ignore rules +## Add here your custom ignore rules \ No newline at end of file