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

Do not download when licence is not set #91

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

antedebaas
Copy link
Contributor

I needed the bundle not fail in the command because a license has not been set
for my project there are use cases where a license will not be used (its up to the user)
this pr will instead of blindly try a download show a warning when the license is not set and skip the download step.

src/Command/UpdateDatabaseCommand.php Outdated Show resolved Hide resolved
src/Command/UpdateDatabaseCommand.php Outdated Show resolved Hide resolved
@peter-gribanov peter-gribanov changed the title do not download when licence is not set Do not download when licence is not set Nov 18, 2024
@peter-gribanov
Copy link
Member

Thanks for the PR 👍 Please fix the unit tests.

@antedebaas
Copy link
Contributor Author

@peter-gribanov updated the tests and added a new test for a case without license

@peter-gribanov
Copy link
Member

Good job 👍 Thank you.

@peter-gribanov peter-gribanov merged commit 52abe3d into gpslab:master Nov 19, 2024
18 of 19 checks passed
@peter-gribanov
Copy link
Member

@antedebaas your feature published in Release 2.1.2

@antedebaas
Copy link
Contributor Author

thanks

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