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

Add dependency checks and error handling for svn and download tools #345

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

mostafasoufi
Copy link
Contributor

Hi,

This PR adds checks for missing dependencies (svn, curl, wget) to ensure the script exits gracefully if any are missing. It also improves error handling in the download process to prevent incomplete setups when required tools are unavailable.

@mostafasoufi mostafasoufi requested a review from a team as a code owner September 14, 2024 17:48
@swissspidy
Copy link
Member

Some extra hardening sounds good, but why remove all those explanatory comments?

@mostafasoufi
Copy link
Contributor Author

Good point, the comments are back.

@swissspidy swissspidy added this to the 2.4.0 milestone Sep 16, 2024
@swissspidy swissspidy merged commit 3b6b578 into wp-cli:main Sep 16, 2024
33 of 34 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.

2 participants