Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitignore the .homeadditions completely, fixes #2374 #2400

Merged
merged 2 commits into from
Jul 20, 2020

Conversation

rfay
Copy link
Member

@rfay rfay commented Jul 20, 2020

The Problem/Issue/Bug:

#2374 describes the issue when something is added to ~/.ddev/homeadditions and then you do a ddev start.

The resulting homeadditions item gets copied into the project at .ddev/.homeadditions and then it is not properly gitignored.

How this PR Solves The Problem:

Add .homeadditions to the gitignore.

Manual Testing Instructions:

  • Start with a project that is clean in git. (git status is clean)
  • Add something to ~/.ddev/homeadditions.
  • ddev start
  • git status should still be clean.

Automated Testing Overview:

Added this scenario to TestConfigGitIgnore() and also added global commands the same way.

Related Issue Link(s):

#2374

Release/Deployment notes:

@rfay rfay linked an issue Jul 20, 2020 that may be closed by this pull request
@rfay rfay merged commit 4c960b9 into ddev:master Jul 20, 2020
@rfay rfay deleted the 20200720_global_command_fail branch July 20, 2020 20:13
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.

global homeadditions not properly gitignored
1 participant