-
-
Notifications
You must be signed in to change notification settings - Fork 491
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(quickget): Show download path #1516
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR @abitrolly. I'm in two minds about this. I appreciate extra debug information in the output from quickget. However, in this case, the line immediately after download and check, prints the exact same path. Here's the run with your patch, and note after the
|
Well, it is hard to notice from the checksum line that the filename actually contains the path. In any case I don't think it hurts much to have both download and checksum show file they operate with. Maybe the checksum line can be omitted. Caught strange thing - if v prefix is omitted, no checksum check is being done.
|
@abitrolly if you omit the v the download fails so there's nothing to check (the release check really could be tighter and should fail before attempting the download). |
@@ -1218,6 +1218,7 @@ function web_get() { | |||
if [[ ${OS} != windows && ${OS} != macos && ${OS} != windows-server ]]; then | |||
echo "Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION}" | |||
echo "- URL: ${URL}" | |||
echo "- PATH: ${DIR}/${FILE}" |
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.
echo "- PATH: ${DIR}/${FILE}" | |
echo "- PATH: ${PWD}/${DIR}/${FILE}" |
Maybe useful for those with several collections of VMs dotted around the filesystem or on several external drives
Why do we proceed if the download fails? That's a bug as well. |
Description
I want to know where big files are stored without opening the browser.
Type of change
Checklist: