crazywhalecc
f68f060be2
Refactor all (except command) modules using new exceptions
2025-08-07 13:09:18 +08:00
crazywhalecc
0c9a30256e
Remove all @throws PHPDoc, it's almost useless for SPC anymore
2025-08-07 13:09:18 +08:00
DubbleClick
e8bc892d8b
Merge branch 'main' of https://github.com/crazywhalecc/static-php-cli into zig
2025-07-29 10:20:30 +07:00
Jerry Ma
fafe7d5778
Merge pull request #835 from crazywhalecc/chore/test-and-validate
...
Chore: PHPUnit test & docs & PHPDoc for vendor mode
2025-07-29 11:08:53 +08:00
DubbleClick
199b3b5582
Merge branch 'main' of https://github.com/crazywhalecc/static-php-cli into zig
2025-07-25 12:03:37 +07:00
crazywhalecc
a375ab9780
Fix custom pkg download callable not working bug
2025-07-25 12:58:19 +08:00
crazywhalecc
abd7d3cfb4
Add --no-alt and --skip-extract option to install-pkg command
2025-07-24 00:42:30 +08:00
DubbleClick
81b96c2b30
Merge remote-tracking branch 'origin/main' into zig
2025-07-22 12:49:42 +07:00
Jerry Ma
b2385cf80c
Update src/SPC/store/Downloader.php
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 23:33:20 +08:00
Jerry Ma
2b1d03d9d4
Update src/SPC/store/Downloader.php
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 23:29:38 +08:00
crazywhalecc
5b6f33a2a1
Allow specifying submodules for git source
2025-07-21 23:21:00 +08:00
DubbleClick
2ebdc4509c
<
2025-07-01 11:00:24 +07:00
crazywhalecc
977fbaa8ef
Suggestions
2025-06-29 16:00:17 +08:00
crazywhalecc
12aadf18cc
refactor: replace SPC_LIBC with SPC_TARGET and update related logic
2025-06-28 16:36:05 +08:00
DubbleClick
8d75a85d6d
ziggy
2025-06-26 12:30:04 +07:00
DubbleClick
2f8e225abd
remove copy of property that meant downloader would only lock one source at a time
2025-06-19 11:00:07 +07:00
DubbleClick
a9713c3bfa
polish merge
2025-06-19 09:32:55 +07:00
DubbleClick
6e70f16e1b
Merge remote-tracking branch 'origin/docs' into sapi/frankenphp
2025-06-19 09:22:25 +07:00
crazywhalecc
f709f3bb18
Add custom package downloader and extractor
2025-06-18 20:55:24 +08:00
Jerry Ma
ba0ea5b40a
Refactor lock component to a single class ( #773 )
2025-06-18 14:05:43 +08:00
crazywhalecc
5a401a5f92
Add source hash comparator & refactor download lock
2025-06-16 12:48:37 +08:00
Grégoire Pineau
5a7db86471
Better exception
2025-06-11 14:20:24 +02:00
Jerry Ma
a014294d58
Fix ghrel download link, use API directly ( #711 )
...
* Fix ghrel download link, use API directly
* Add missing GH token for downloading API
2025-04-24 14:21:22 +08:00
Jerry Ma
455ed7d503
Add alt download for Downloader ( #706 )
...
* Add alt download for Downloader
* Test broken url
* Break another source
* Good!
* Rename alt_sources variable
* Use SPC_DOWNLOAD_RETRIES instead of SPC_RETRY_TIME
* Apply new curlExec args
2025-04-22 20:25:44 +08:00
DubbleClick
7fd858b472
Revert "unwrap cast to unify curlDown with curlExec"
...
This reverts commit 74d8377400630ad88a5736b8b595c6c98b456e8a.
2025-04-22 14:44:57 +07:00
DubbleClick
74d8377400
unwrap cast to unify curlDown with curlExec
2025-04-22 14:36:58 +07:00
DubbleClick
a29992b907
rename retry to retries
2025-04-22 14:34:43 +07:00
DubbleClick
0b3421e3cd
rename SPC_RETRY_TIME to SPC_DOWNLOAD_RETRIES to clear up what it's doing
...
sleep 5 seconds between retries
2025-04-22 12:24:08 +07:00
crazywhalecc
5c04638cb4
Full spell for SPC_DOWNLOAD
2025-03-30 23:27:43 +08:00
crazywhalecc
7dec34bdfe
Fix redundant pre-built name calling
2025-03-30 22:05:50 +08:00
crazywhalecc
62d619b6cd
Fix redundant pre-built name calling
2025-03-30 22:05:20 +08:00
crazywhalecc
67afffeb96
Remove redundant suffix, add libc version suffix
2025-03-30 21:59:58 +08:00
crazywhalecc
631a1b5864
Add libc version for pre-built content name
2025-03-30 20:16:41 +08:00
crazywhalecc
67d2ad5511
Add debug console output for Downloader
2025-03-30 19:21:29 +08:00
crazywhalecc
87c0535624
Allow locking different arch pre-built content
2025-03-30 16:53:14 +08:00
crazywhalecc
5648681ecc
Adjust console output and PHPDoc
2025-03-30 15:17:09 +08:00
crazywhalecc
2c0bb1f7ba
Quiet console output for non --debug mode
2025-03-30 14:31:29 +08:00
Marc Henderkes
6447fec028
mimalloc WIP
2025-03-20 04:36:46 +01:00
yinheli
3c4d47d072
feat: improve downloader retry ( #558 )
...
- Refactored to remove duplicate retry expressions by utilizing the getRetryTime() method.
- Fixed a typo in the log message.
2024-11-09 10:50:08 +08:00
crazywhalecc
357dfc53c9
Add full Downloader tests
2024-10-05 14:14:36 +08:00
crazywhalecc
bdc6b2807a
Add pack-lib tests
2024-07-14 01:20:29 +08:00
crazywhalecc
c6a22fbd14
Code style fix and comment addition
2024-07-14 01:20:29 +08:00
crazywhalecc
3c0eb68c70
Add pre-built lib feature
2024-07-14 01:20:29 +08:00
Jerry Ma
29cd50206c
Fix prefer-stable negative result in ghtar ( #500 )
...
* Fix prefer-stable got opposite result
* Add swoole tests and remove irrelevant tests
2024-07-05 14:35:51 +08:00
crazywhalecc
f645c8869a
Add prefer-stable option for ghrel, ghtar, ghtagtar
2024-06-30 23:25:58 +08:00
Jerry Ma
93cb7e9fbb
Add phpmicro win32 mode support ( #478 )
...
* Add phpmicro win32 mode support
* Bump version to 2.2.4
* Add micro win32 build tests for actions
* cs-fix and update deps
2024-06-20 14:46:08 +08:00
crazywhalecc
8358a985b3
fix retry for windows
2024-03-10 17:09:49 +08:00
crazywhalecc
e21b5676e7
add --retry for download command
2024-03-10 17:09:49 +08:00
crazywhalecc
e23daaa355
enhancement for download command
2024-03-10 11:53:33 +08:00
crazywhalecc
a30e054d7d
Add package management
2024-02-18 16:22:17 +08:00