-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bucket extraction and refactoring #3449
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…re on Windows 7 (#3415) Close: #2580 See: PowerShell/PowerShell#6561
ref: ScoopInstaller/Extras#2021 (comment), #3204 (comment) - Add new param `Overwrite` to `Expand-7ZipArchive`, with following values - "All": 7z param `-aoa`, overwrite All existing files without prompt, behave the same with default - "Skip": 7z param `-aos`, Skip extracting of existing files - "Rename": 7z param `-aou`, aUto rename extracting file - Add new param `Switches` to `Expand-7ZipArchive` and `Expand-InnoArchive` - It could pass all unrecognized params to `7z` and `innounp` - Patch `extract_7zip` and `unpack_inno` to adapt to `Expand-XXX` Usage: ScoopInstaller/Extras#2021, ScoopInstaller/Extras#2070
7zip_path -> Get-7zipPath 7zip_installed -> Test-7zipInstalled Expand-7ZipArchive -> Expand-7zipArchive Test-7ZipRequirement -> Test-7zipRequirement Expand-MSIArchive -> Expand-MsiArchive Test-LessMSIRequirement -> Test-LessmsiRequirement
aria2_path > Get-Aria2Path aria2_installed > Test-Aria2Installed aria2_enabled > Test-Aria2Enabled
…g dependency Prevents installing 7zip/lessmsi/innounp locally if they are already available globally
- 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
Co-Authored-By: r15ch13 <r15ch13+git@gmail.com>
Co-Authored-By: r15ch13 <r15ch13+git@gmail.com>
chawyehsu
reviewed
May 12, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small tweaks
- Add `Expand-DarkArchive` helper function - Allow `dark.exe` from wixtoolset and `7zip-zstd` as valid helpers - Add warnings to 'scoop checkup' for missing unpackers - Auto detect dependencies from `pre_install`/`post_install` and `installer.script` by simply searching for the function names.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
~\.scoop
to~\.config\scoop\config.json
refactor(config): Move config handling to core.ps1 #3242scoop hold
andscoop unhold
for excluding programs from updates feature(update): Add hold/unhold command #3444