Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jnoordsij
Copy link
Contributor

WHY

BEFORE - What was wrong? What was happening before this PR?

The @bassetArchive calls where using the .zip format. This is not supported by default on all PHP installations (see also Laravel-Backpack/basset#60).

AFTER - What is happening after this PR?

Use the .tar.gz format, which was also available for these archives, and is enabled in PHP by default on all installations (see https://www.php.net/manual/en/phar.installation.php).

HOW

How did you achieve that, in technical terms?

Change the archive extensions.

Is it a breaking change or non-breaking change?

No.

How can we test the before & after?

Ensure assets still work fine.

@tabacitu
Copy link
Member

tabacitu commented Jul 5, 2023

Uuu that's brilliant! Thanks @jnoordsij

@promatik
Copy link
Contributor

promatik commented Jul 6, 2023

Nice!
Thank you @jnoordsij πŸ‘Œ

Basset supports both .zip and .tar.gz if the .tar.gz is widely supported by PHP, let's move to it πŸ‘Œ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants