static-php-cli icon indicating copy to clipboard operation
static-php-cli copied to clipboard

Unable to download xz

Open nicholasdille opened this issue 1 year ago • 1 comments

With the latest version 2.2.4, spc is unable to download xz version 5.4.6 from fossies.org.

This was fixed in crazywhalecc/static-php-cli#495 by upgrading to xz 5.4.7 but spc remains broken.

Any advice how to solve this with spc version 2.2.4 while waiting for a release?

nicholasdille avatar Jul 04 '24 12:07 nicholasdille

When downloading, you can override download url using -U {source_name}:{url} option. For example: bin/spc download --for-extensions=XXX,YYY -U "xz:https://github.com/tukaani-project/xz/releases/download/v5.6.2/xz-5.6.2.tar.gz".

And btw, the current spc version is not very meaningful. Generally, the patch version number is updated once a week, or the minor version num add with a big feature added. And if you do not need to use the SPC injection and API and only use the command line, the main branch is more usable.

The version number may be useful in the future when the setup-static-php GHA workflow is released, but for now SPC built from the main branch is more usable.

crazywhalecc avatar Jul 04 '24 12:07 crazywhalecc

Thanks!

nicholasdille avatar Jul 08 '24 19:07 nicholasdille