Skip to content

fix: Update obsolete WSL2 install scripts to reflect new ddev-wsl2 and not needing ddev.exe, fixes #7464 [skip ci] - #7474

Merged
rfay merged 6 commits into
ddev:mainfrom
rfay:20250722_rfay_update_wsl_scripts
Aug 5, 2025
Merged

rfay merged 6 commits into
ddev:mainfrom
rfay:20250722_rfay_update_wsl_scripts

Conversation

@rfay

@rfay rfay commented Jul 22, 2025 •

Copy link
Copy Markdown
Member

The Issue

The Windows installer in v1.24.7+ obsoletes the installer scripts, but they remain simple examples to follow for manual installation of DDEV.

How This PR Solves The Issue

  • Add warning at top (use installer)
  • Remove installation of windows-side ddev
  • Rework mkcert install to use wsl2-side mkcert.exe

Manual Testing Instructions

Try running using the instructions at the top (instructions have been removed from docs)

Automated Testing Overview

No testing

Release/Deployment Notes

@rfay rfay changed the title fix: Update obsolete WSL2 install scripts to reflect new ddev-wsl2 and not needing ddev.exe [skip ci], fixes #7464 fix: Update obsolete WSL2 install scripts to reflect new ddev-wsl2 and not needing ddev.exe, fixes #7464 [skip ci] Jul 25, 2025
@rfay
rfay force-pushed the 20250722_rfay_update_wsl_scripts branch from 810f738 to faa38bf Compare August 4, 2025 23:05
@rfay
rfay marked this pull request as ready for review August 5, 2025 01:52
@rfay
rfay requested a review from a team as a code owner August 5, 2025 01:52
@rfay
rfay requested a review from stasadev August 5, 2025 01:52
@rfay

rfay commented Aug 5, 2025

Copy link
Copy Markdown
Member Author

I think this is probably "good enough" for an obsolete set of scripts.

These are now run as ordinary user.

I found the Docker Desktop integration flaky, and it would sometimes exit and fail, but I don't know anything to do about that. We recommend docker-ce.

Co-authored-by: Stanislav Zhuk <[email protected]>

@stasadev stasadev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirm that Docker Desktop is flaky, it crashed wsl for me on the last docker ps script step, but then worked fine.

I tested both scripts, mkcert works fine.

Looks good to me.

@rfay

rfay commented Aug 5, 2025

Copy link
Copy Markdown
Member Author

Thanks for the review and for catching that curly brace! I'll pull and we'll see what the future holds. Hopefully this is irrelevant.

@rfay
rfay merged commit 0ecdda7 into ddev:main Aug 5, 2025
@rfay
rfay deleted the 20250722_rfay_update_wsl_scripts branch August 5, 2025 17:37
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.

2 participants