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

fix: provide consistent hash per drupal/backdrop project name, fixes #5255 #5262

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

rfay
Copy link
Member

@rfay rfay commented Aug 15, 2023

The Issue

Creating a new hash on restart can cause a number of Drupal/Backdrop functions to misbehave

How This PR Solves The Issue

The hash is now calculated based on the project name. This is inappropriate for production, but should work great for developer situations. It also means that the hash will be the same for all developers on a team.

Manual Testing Instructions

ddev start multiple times and review the settings.ddev.php for the project. It should not change, but should be different for different projects.

Automated Testing Overview

Added TestDrupalBackdropConsistentHash

@github-actions
Copy link

@TonyTheFerg
Copy link

I applied the fix, and it seemed to work well in my environment. Thanks @rfay!

@rfay rfay merged commit be66143 into ddev:master Aug 17, 2023
24 checks passed
@rfay rfay deleted the 20230814_drupal_hash branch August 17, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants