Hsiao-nan Cheung
5c896e901f
refactor(decompress): Use 7zip to extract Zstd archive ( #5973 )
2024-05-17 09:56:14 +08:00
HUMORCE
48f793532c
fix(manifest): Correct source of manifest ( #5575 )
2024-02-23 17:41:44 +08:00
Hsiao-nan Cheung
08ecdd16a8
fix(config): Change config option to snake_case in file and SCREAMING_CASE in code ( #5116 )
2022-08-21 19:51:31 +08:00
Hsiao-nan Cheung
0b38c91f1a
fix(manifest): Fix bugs in 'Get-Manifest()' ( #4986 )
2022-06-14 14:25:53 +08:00
Hsiao-nan Cheung
ccd067b2b1
refactor(manifest): Rename 'Find-Manifest()' to 'Get-Manifest()' ( #4966 )
2022-06-07 09:31:30 +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
d023e6cf0d
fix(depends): Keep bucket in 'Get-Dependency()' ( #4673 )
2022-01-19 22:06:12 +08:00
Hsiao-nan Cheung
5b87c99aa8
refactor(deps): Rewrite 'depends.ps1' ( #4638 )
2022-01-12 11:10:55 +08:00
Michael Ziminsky (Z)
25b170895f
fix(depends): Check if extractor is available ( #4042 )
2022-01-08 20:08:26 +08:00
Rashil Gandhi
2a0187458d
fix(depends): Prevent error on no URL ( #4595 )
2021-12-25 21:46:23 +05:30
Rashil Gandhi
4d5fee36e1
fix: Specify function scope
...
Resolve https://github.com/ScoopInstaller/Scoop/issues/4444#issuecomment-986229596
2021-12-06 11:30:30 +05:30
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
Derrick Liu
818162fe82
Restrict url() scope to avoid conflict with global aliases
2021-10-30 15:44:07 -07:00
Chawye Hsu
bed78ceffb
fix(depends): don't force adding dark dependency ( #3453 )
2019-05-12 13:00:40 +02:00
Richard Kuhnt
2aec0b2d97
feature(depends): Detect dependencies from pre/post and installer script
2019-05-11 22:16:58 +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
51c6e77d61
fix(install): Check if 7zip/lessmsi/innounp is installed before adding dependency
...
Prevents installing 7zip/lessmsi/innounp locally if they are already available globally
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
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
Richard Kuhnt
9eed3d8914
refactor(install): rename locate() to Find-Manifest()
...
See https://github.com/lukesampson/scoop/issues/3339#issuecomment-485242390
2019-04-22 12:44:07 +02:00
Jakub Čábera
4463514948
[buckets] Optimize buckets function ( #3341 )
...
* Optimize buckets function
* Use Verb-Noun naming
* Add Show-DeprecatedWarning function to core
2019-04-21 13:02:19 +02:00
Jakub Čábera
a20b2e99e2
Fix empty bucket name ( #2827 )
2018-12-01 07:08:19 -08:00
Richard Kuhnt
88040972a3
Fix null reference error when no buckets are configured ( fixes #2427 )
2018-07-29 13:50:34 +02:00
Richard Kuhnt
7a6218c586
Show message about missing bucket when installing dependencies
2018-07-15 17:57:34 +02:00
Richard Kuhnt
70f64c8f4b
Refactor app() to parse_app() for better "bucket/app@version" handling ( #2234 )
...
It now parses these app names:
- php-bucket/php71-amqp@1.8.0
- php-bucket/php71-amqp
- php71-amqp@1.8.0
- php71-amqp@1.9.0-rc2
Removed:
- is_app_with_specific_version()
- get_app_with_version()
2018-05-04 21:51:43 +02:00
Chawye Hsu
e1bb1e91d0
Lint: PSAvoidUsingCmdletAliases ( #2075 )
2018-03-03 18:41:19 +01:00
Richard Kuhnt
af1e9ebdd3
Better error message if dependeny from another bucket couldn't be found ( closes #1703 )
2017-09-12 22:22:06 +02:00
Luke Sampson
5841a704b2
Don't make 7-zip an install dependency if it's already installed ( fixes #1438 )
2017-04-19 19:43:39 +10:00
Luke Sampson
e8e5ac5615
Update more UI messages for consistency.
2017-02-13 20:53:36 +11:00
Luke Sampson
1c173bc56d
Use sentence case for UI messages.
2017-02-13 20:20:41 +11:00
Simon Hartcher
3bcdce409b
Support for scoop install <bucket>/<app>
...
- TODO: support install of same name apps from different buckets?
2016-01-24 22:35:43 +11:00
Simon Hartcher
98921256e6
Refactor lessmsi code. Add lessmsi support to depends
2016-01-21 23:16:30 +11: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
Luke Sampson
3611921a69
scoop depends: reverse display order of dependencies so that the highest level dependencies are shown first
2014-01-03 14:10:20 +10:00
Luke Sampson
4f2cd4bbf6
install: auto-install dependencies
2013-12-24 11:07:25 +10:00
Luke Sampson
1bc6a479ee
depends: don't include the requested app in the list of dependencies
2013-12-24 10:30:21 +10:00
Luke Sampson
08e55b916f
Add 'scoop depends' command
2013-11-16 21:07:48 +10:00