-
-
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
feat(download): Allow downloading without installing #4621
Conversation
Example: ScoopInstaller/Extras#7679 |
Pretty job! But BTW, |
But we cannot use I wanted to make this utility for both users and maintainers. Users might not be able to/comfortable in running a specific utility, only maintainers can. |
Why not separate these two features into two PR? |
The new flag change was quite small and related to downloading itself, so I put it here. I can make a new PR if you really insist. |
Yes, I think changes in |
Sure, will do |
Created #4634 |
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.
The short params -h
and -u
seem to be confused, but I cannot figure out what will be better...
Haha yeah, we'll update it if we find more suitable short forms |
…4621) * feat(download): Allow downloading without installing * update changelog * rename 'skip' -> 'no-hash-check' * add --no-update-scoop flag
Description
Useful for:
The second scenario is perhaps the most useful personally because many people open issues about download failures, but I don't really want to install the particular app. So I can just do
scoop download <app>
to rectify the issue.Motivation and Context
Closes #1804
Relates to #2293
How Has This Been Tested?
Simple test:

Above test with pre-filled cache:

Test 1 with 32bit download:

Test 3 with skipping hash check:

Test 4 with force download (overwrite cache):

Test with one app with unsupported architecture:

Test 6 with aria2:

Test with pre-cached install:

Checklist: