Skip to content

Further extend the .gitignore file#16

Merged
amateescu merged 7 commits into
amateescu:mainfrom
rpkoller:20260428-rpkoller-update-gitignore
May 19, 2026
Merged

Further extend the .gitignore file#16
amateescu merged 7 commits into
amateescu:mainfrom
rpkoller:20260428-rpkoller-update-gitignore

Conversation

@rpkoller
Copy link
Copy Markdown
Contributor

@rpkoller rpkoller commented May 1, 2026

The Issue

How This PR Solves The Issue

The PR is adding three sets of additions to the .gitignore file.

  1. for DDEV I've added the .tarball directory which is the recommended location in the DDEV docs to store db dumps https://docs.ddev.com/en/stable/users/usage/database-management/#mysqldump-and-pg_dump as well as any .sql or sql.gz file in the project root

  2. added more directories listed in https://www.drupal.org/project/drupal/issues/3082958 as well as the additional possible custom and contrib folder for themes and modules (the most important is /modules/contrib/)

  3. for additional js based tooling i'Ve added package.json located in the project root as well as the node_modules directory also place in the project root for now. but if you consider the ddev addon by ultrabob that is providing code quality checks https://github.com/UltraBob/ddev-drupal-code-quality in line with the drupal ci process it might be worth a thought to also add the dot files for those tools as well.

Manual Testing Instructions

ddev add-on get https://github.com/amateescu/ddev-drupal-dev/tarball/refs/pull/REPLACE_ME_WITH_THIS_PR_NUMBER/head
ddev restart

Automated Testing Overview

Release/Deployment Notes

Comment thread drupal-dev/gitignore Outdated
Comment thread drupal-dev/gitignore Outdated
Comment thread drupal-dev/gitignore Outdated
Comment thread drupal-dev/gitignore
@amateescu amateescu force-pushed the 20260428-rpkoller-update-gitignore branch from a551303 to b7960cd Compare May 19, 2026 09:46
@amateescu amateescu dismissed their stale review May 19, 2026 09:49

Addressed the review items.

@amateescu amateescu changed the title Initial draft of additions for .gitignore Further extend the .gitignore file May 19, 2026
@amateescu amateescu merged commit 25f7bc9 into amateescu:main May 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Further extend the .gitignore file

2 participants