Commit Graph
166 Commits
Author SHA1 Message Date
Issac Lin 1b5ee6f090 fix(decompress): Handle split RAR archives (#4994) 2022-06-24 22:15:54 +08:00
Francois BothaandHsiao-nan Cheung 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
Hsiao-nan Cheung ccd067b2b1 refactor(manifest): Rename 'Find-Manifest()' to 'Get-Manifest()' (#4966) 2022-06-07 09:31:30 +08:00
Hsiao-nan Cheung d056d542db fix(core): Use Invoke-Command instead of Invoke-Expression (#4941) 2022-05-26 10:54:34 +08:00
Issac LinandHsiao-nan Cheung 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 6296822f1f perf(scoop): Load libs only once (#4839) 2022-04-21 21:34:26 +08:00
Hsiao-nan Cheung f947b620d5 fix(test): Remove 'description' requirement (#4874) 2022-04-16 01:19:51 +08:00
Hsiao-nan Cheung 32de4c5714 refactor(bucket): Move 'Find-Manifest' and 'list_buckets' to 'buckets' (#4814) 2022-03-23 10:47:52 +08:00
Hsiao-nan Cheung 5a795caca5 refactor(reset_aliases): Move core function of reset_aliases to scoop (#4794) 2022-03-11 18:10:04 +08:00
Chawye Hsu 5025661fa2 fix(shim): Manipulating shims with UTF8 encoding (#4791) 2022-03-10 15:55:15 +08:00
HUMORCE 63b858c41f style: Use correct casing for $PSScriptRoot (#4775) 2022-03-04 22:55:45 +08:00
Chawye Hsu 59328fc83c fix(config): Ensure manipulating config with UTF8 encoding (#4644) 2022-03-04 20:28:13 +08:00
Hsiao-nan Cheung 765d3aad7e build(ci): Use cache in GitHub Actions (#4671) 2022-03-02 11:48:54 +08:00
Hsiao-nan Cheung b2a27f420d fix(shim-test): Remove unused shim files (#4726) 2022-02-09 19:01:33 +08:00
Hsiao-nan Cheung 285ffd0322 fix(no-junction): Fix error when 'NO_JUNCTIONS' is been set (#4722) 2022-02-09 11:08:56 +08:00
Hsiao-nan Cheung 2644a5f7b1 test(decompress): Import 'versions.ps1' (#4689) 2022-01-25 23:58:43 +08:00
Hsiao-nan Cheung d023e6cf0d fix(depends): Keep bucket in 'Get-Dependency()' (#4673) 2022-01-19 22:06:12 +08:00
Chawye Hsu d9f55a3a0a refactor(ci,tests): Support both AppVeyor and GitHub Actions (#4655) 2022-01-14 19:40:35 +08:00
Hsiao-nan Cheung d7fb97f517 test(zstd): Fix 'zstd' extraction error in test (#4651) 2022-01-13 16:32:18 +08:00
Hsiao-nan Cheung 5b87c99aa8 refactor(deps): Rewrite 'depends.ps1' (#4638) 2022-01-12 11:10:55 +08:00
Hsiao-nan Cheung c864f68c0b test(manifest): Fix manifests validation (#4620) 2022-01-07 13:33:05 +08:00
Hsiao-nan Cheung 5d8aeb54bb test(test-bin): Only write output file in CI and fix trailing whitespaces (#4613) 2021-12-31 02:14:53 +08:00
Hsiao-nan Cheung d5cb86078b fix(decompress): Fix nested Zstd archive extraction (#4608) 2021-12-31 01:04:47 +08:00
Hsiao-nan Cheung 271d41b949 style(test): Format scripts by VSCode's PowerShell extension (#4609) 2021-12-30 09:37:40 +08:00
Hsiao-nan Cheung 5602083868 fix(schema): Add 'license' definition (#4596)
* fix(schema): Add 'license' definition

Fix AppVeyor error

* Fix 'Manifest.Tests'
2021-12-26 23:01:44 +08:00
+1 1dbab1fee8 Merge branch 'develop' into 'master' (#4594)
Related PRs:
- #4531 @filmor 
  - ac71fcc @niheaven 
- #4535 @rashil2000 
- #4522 @pratikpc 
- #4550 @niheaven 
- #4528 @niheaven 
- #4532 @MrNuggelz
- #4155 @MrNuggelz Co-authored-by: @rashil2000 
  - #4581 @niheaven 
  - fb496c4 @rashil2000 
- #4543 @rashil2000 Co-authored-by: @niheaven 
  - #4555 @rashil2000 
  - 3c90d1a @rashil2000 
  - 2ec00d5 @rashil2000 
- #4567 @rashil2000 
  - cbe29ed @rashil2000 
- #4570 @niheaven 
  - #4582 @niheaven 
- #4571 @niheaven 
- #3244 @nickbudi 
- #3821 @jfastnacht Co-authored-by: @rasa 
- #4578 @tukanos
- #4579 @rashil2000 

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Ross Smith II <ross@smithii.com>
Co-authored-by: Benedikt Reinartz <filmor@gmail.com>
Co-authored-by: Joris <MrNuggelz@users.noreply.github.com>
Co-authored-by: Pratik Chowdhury <pratikc@live.co.uk>
Co-authored-by: Rashil Gandhi <rashil2000@gmail.com>
Co-authored-by: nickbudi <nickbudi@users.noreply.github.com>
Co-authored-by: Julian <github@fastnacht.consulting>
Co-authored-by: tukanos <patrik.svestka@gmail.com>
2021-12-25 23:09:49 +08:00
Hsiao-nan Cheung e663027299 fix(test): Add more test cases for versions 2021-11-15 13:32:25 +08:00
Hsiao-nan Cheung ae89213842 fix(versions): Fix situation that contains '_' 2021-11-15 13:22:04 +08:00
77d00d1771 refactor(versions): Refactor 'versions.ps1' (#3721)
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: David Duque <david.f.s.duque@tecnico.ulisboa.pt>
2021-11-14 00:44:58 +08:00
Hsiao-nan Cheung 47ebc6f176 fix(test): Use 32bit version of zstd 2021-11-10 16:42:57 +08:00
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
Jakub Čábera 6df80c1aee fix(tests): Force pester v4 (#4040) 2020-07-01 10:23:44 +02:00
Hsiao-nan Cheung 5643818e1b Revert 'Compare-Version' (#3333, #3578) (#3648) 2019-10-18 13:32:06 +02:00
Jakub Čábera f52b339523 feat(tests): Do not force maintainers to have SCOOP_HELPERS (#3604) 2019-08-21 17:17:26 +02:00
Hsiao-nan Cheung 3ca08a5ae8 fix(versions): Hotfix for #3333 (#3578)
* fix(versions): Hotfix for #3333
2019-08-02 11:52:14 +02:00
Hsiao-nan Cheung 1508d2ab00 fix(versions): Refactor compare_versions -> Compare-Version (#3333)
fix #3329 
fix #2981 
fix #2720 
fix lukesampson/scoop-extras#2106
close #3469
2019-07-31 15:36:19 +02:00
Richard Kuhnt 7699beafc0 fix(config): Remove config.ps1 imports 2019-05-10 12:16:36 +02:00
Richard Kuhnt 630ba04ecd fix(config): More tests for set_config 2019-05-10 12:16:36 +02:00
Richard Kuhnt d17b4e5a85 fix(config): Test for DateTime object instead for actual Time 2019-05-10 12:16:36 +02:00
Richard Kuhnt 8dd68f61b0 fix(config): fix datetime tests for PowerShell 6 2019-05-10 12:16:36 +02:00
Richard Kuhnt 40d83d924a refactor(config): Add more tests for load_config and get_config 2019-05-10 12:16:36 +02:00
Richard Kuhnt f7a9cd9ceb refactor(config): Move configuration handling to core.ps1
- Migrate ~\.scoop to ~\.config\scoop\config.json
- Remove hashtable and hashtable_val functions because ConvertFrom-Json is enough
- Add PowerShell 6 time conversion to tests
2019-05-10 12:16:36 +02:00
Richard Kuhnt 8beffc4329 Sync renaming changes to develop 2019-05-06 18:19:57 +02:00
Richard Kuhnt 618824e46d Sync missing hotfix #3427 to develop 2019-05-01 21:45:46 +02:00
Dave Neeley abcb59ca35 Expand-ZipArchive: Compatible with Pscx (was missing tests) (#3427)
Extension to https://github.com/lukesampson/scoop/pull/3425
2019-05-01 21:45:03 +02:00
Richard Kuhnt f58fdaa7f2 refactor(tests): Check checksum of TestCases.zip before extracting 2019-05-01 14:17:49 +02:00
Richard Kuhnt 010546cf26 refactor(core): Combine helpers to Get-HelperPath and Test-HelperInstalled 2019-05-01 14:17:49 +02:00
Richard Kuhnt 501d4b4d35 refactor(decompress): Change function name casing
7zip_path -> Get-7zipPath
7zip_installed -> Test-7zipInstalled
Expand-7ZipArchive -> Expand-7zipArchive
Test-7ZipRequirement -> Test-7zipRequirement
Expand-MSIArchive -> Expand-MsiArchive
Test-LessMSIRequirement -> Test-LessmsiRequirement
2019-05-01 14:17:49 +02:00
Richard Kuhnt f63219fd1d decompress(tests): Improve installation of lessmsi and innounp (#3409) 2019-04-28 19:00:02 +02:00
Hsiao-nan Cheung a757dea15e refactor(cmd_available/Get-Command): Add Test-CommandAvailable function (#3314) 2019-04-28 18:53:00 +02:00