Skip to content

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

Merged
swissspidy merged 3 commits intowp-cli:mainfrom
mostafasoufi:main
Sep 16, 2024
Merged

Add dependency checks and error handling for svn and download tools#345
swissspidy merged 3 commits intowp-cli:mainfrom
mostafasoufi:main

Conversation

@mostafasoufi
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@mostafasoufi
Copy link
Copy Markdown
Contributor Author

Good point, the comments are back.

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