Hsiao-nan Cheung
ebd8c036fa
chore(release): Bump to version 0.5.3 ( #6257 )
...
* fix (decompress): `Expand-7zipArchive` only delete temp dir / `$extractDir` if it is empty (#6092 )
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* refactor(download): Move download-related functions to 'download.ps1' (#6095 )
* fix(download): Fallback to default downloader when aria2 fails (#4292 )
* fix(commands): Handling broken aliases (#6141 )
* fix(shim): properly check `wslpath`/`cygpath` command first (#6114 )
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* fix(scoop-bucket): Add missing import for `no_junction` envs (#6181 )
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com >
* docs(chglog): Update to 0.5.3 (#6258 )
* perf(shim): Update kiennq-shim to v3.1.2 (#6261 )
* fix(decompress): Replace deprecated 7ZIPEXTRACT_USE_EXTERNAL config (#6327 )
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* fix(scoop-uninstall): Fix uninstaller does not gain Global state (#6430 )
* global arg
* changelog
* refactor(Get-Manifest): Select actual source for manifest (#6142 )
* first step
* Revert "first step"
This reverts commit c5907c3e25 .
* refactor(Get-Manifest): Select actual source for installed manifest
* rework sub-commands, `scoop-depends` is NOT working at this stage
* URI manifest
* opt
* deprecated manifest
* source of manifests
* source of manifest pt2
- Mark URI(path/URL/UNC/etc.) query as standalone manifest
- Drop `installed` and `available update` items for [query] and [installed] are different sources.
* remove variable preventing I forget it
* scoop-info: fix source of manifest on bucket
* fix `scoop-depends`
* Fix Standalone and Source detection
* fix global install
* Fix scoop-cat, scoop-home
- Query for remote manifest
* scoop-list: info +deprecated
* manifest: Fix first selected manifest
* gramma..
* Fix 61b3259
* length
* fix(scoop-depends-tests): Mocking `USE_EXTERNAL_7ZIP` as $false (#6431 )
* fix(scoop-depends-tests): Mocking `USE_EXTERNAL_7ZIP` as $false to avoding error when it is $true
* CHANGELOG
* feat(autoupdate): GitHub predefined hashes support (#6416 )
* feat(autoupdate): predefined hash case for GitHub
- Remove `sha256:` prefix in `format_hash()`
- Add GitHub support in `get_hash_for_app()`
Close #6381
* doc(chglog): GitHub auto hash update
* fix(autoupdate): remove prefix only
* docs(CHANGELOG): Update to 0.5.3 (#6432 )
* docs(CHANGELOG): Update to 0.5.3
* 6416
---------
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com >
Co-authored-by: Olav Rønnestad Birkeland <6450056+o-l-a-v@users.noreply.github.com >
Co-authored-by: kiennq <kien.n.quang@gmail.com >
Co-authored-by: HUMORCE <humorce@outlook.com >
Co-authored-by: Ryan <sitiom@proton.me >
Co-authored-by: Chawye Hsu <su+git@chawyehsu.com >
Co-authored-by: Bassel Rachid <101208715+basselworkforce@users.noreply.github.com >
Co-authored-by: Wordless Echo <wordless@echo.moe >
2025-08-11 00:38:38 +00:00
Hsiao-nan Cheung
5c896e901f
refactor(decompress): Use 7zip to extract Zstd archive ( #5973 )
2024-05-17 09:56:14 +08:00
Hsiao-nan Cheung
1752050614
fix(core): Fix "Invoke-ExternalCommand" quoting rules ( #5945 )
2024-05-11 14:49:49 +08:00
Issac Lin
1b5ee6f090
fix(decompress): Handle split RAR archives ( #4994 )
2022-06-24 22:15:54 +08:00
Francois Botha
0fd6657572
tests(typo): Fix typo ('formated' -> 'formatted') ( #4217 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-06-21 14:46:35 +08:00
Issac Lin
b130e606cf
fix(depends): Avoid digits in archive file extension ( #4915 )
...
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-05-16 22:32:26 +08:00
Hsiao-nan Cheung
5b87c99aa8
refactor(deps): Rewrite 'depends.ps1' ( #4638 )
2022-01-12 11:10:55 +08:00
Hsiao-nan Cheung
d5cb86078b
fix(decompress): Fix nested Zstd archive extraction ( #4608 )
2021-12-31 01:04:47 +08:00
worldyun
af7a6f6d0e
feat(decompress): Support Zstandard archive ( #4372 )
...
Co-authored-by: WorldYun <worldyun@qq.com >
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2021-11-10 09:40:11 +08:00
Hsiao-nan Cheung
72730e0d73
decompress.ps1: Refactor extraction handling functions ( #3204 )
...
* Refactored functions:
* requires_7zip > Test-7ZipRequirement
* requires_lessmsi > Test-LessMSIRequirement
* extract_7zip > Expand-7ZipArchive
* extract_msi/extract_lessmsi > Expand-MSIArchive
* unpack_inno > Expand-InnoArchive
* extract_zip/unzip_old > Expand-ZipArchive
* Fix 7zip failed when .tar and .tgz have diff names
* Add tools to CI
* Add test cases for Expand-7ZipArchive
* Add test cases for Expand-InnoArchive
* Add test cases for Expand-MSIArchive
* Add config `7ZIPEXTRACT_USE_EXTERNAL`
* Change '$recurse' to '$removal'
2019-04-26 18:35:59 +02:00
Jakub Čábera
3e1649553d
formatjson.ps1: Format single value Arrays into String ( #2642 )
...
- Automatically convert single value arrays and recursively normalize PSObjects values
- Add tests
- Add .yml .editorconfig settings
2018-11-13 20:49:20 +01:00
Luke Sampson
887f041fc7
Extract to _tmp instead of _scoop_extract to conserve 10 more characters in path.
2017-05-29 17:59:09 +10:00
Rémy
807fcb0ebd
fix tests
2017-03-30 00:42:19 +02:00
Rémy
357b33ddfe
persist file support
2017-03-25 16:28:06 +01:00
Rémy
9388c90232
remove travel_dir partial implementation
2017-03-25 16:28:05 +01:00
Richard Kuhnt
1feda7a088
[WIP] Validate manifests against JSON Schema in CI Tests ( #1331 )
...
* Add suggest and psmodule to schema.json
* Fix required fields in schema.json
* Improve url validation in schema.json
* Add validator.exe as a single file validation tool
* Add Scoop.Validator Lib for use in Manifest-Tests
* Add buildscript for Scoop.Validator and validator.exe
* Exclude .dll and packages folder from Project-Tests
* Validate manifests against JSON Schema in CI Tests
* Complete JSON Schema Validation
* Dlls shouldn't be treated as text
2017-02-17 19:00:56 +01:00
Roy Ivy III
32b26ccae9
whitespace cleanup (for .\test\fixtures)
...
* change files to be in accordance with .editorconfig
* files in this commit are separate from the initial whitespace commit to check for testing code breakage
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-19 12:02:27 -05:00
Roy Ivy III
6d9bca805f
whitespace cleanup
...
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Simon Hartcher
23a39252aa
Fix shim tests failing when shimdir is not in path
2015-04-12 22:44:57 +10:00
Simon Hartcher
49bd9b637d
Add tests for shim
...
Refactored rm_shims into two functions rm_shims and rm_shim
Added tests for shim and rm_shim
Added test for quote in username (#196 )
2015-04-12 21:15:50 +10:00
Simon Hartcher
44969bee9d
Add test for invalid json file
...
The test currently expects invalid json to throw. This might not
be the desired outcome.
2015-04-12 15:28:28 +10:00
Simon Hartcher
e8ed3fc2e3
Change setup_working to use %TEMP%
2015-04-12 12:12:14 +10:00
Simon Hartcher
2fa644c6df
Remove old tests and fixtures
2015-04-12 12:12:13 +10:00
Simon Hartcher
bed692a608
Added movedir test for quotes in username ( #196 )
2015-04-07 13:44:00 +10:00
Luke Sampson
2a3427bdd7
fix for install where username contains spaces (see #128 )
2014-07-16 10:56:37 +10:00
Luke Sampson
26195a626d
experimenting with possible solution for #126 where packages aren't accessible after updating an app
2014-07-15 13:44:44 +10:00
Luke Sampson
a1ad14c224
tests for unzip with .NET pre-4.5
2014-03-16 10:02:44 +10:00
Luke Sampson
8c20efc6e8
add mini test framework, start testing getopt
2013-09-02 15:03:36 +10:00