Closed deroke closed 4 years ago
Hello @DerZersaeger , thank you for the contribution! π My question is, what would be the benefit of having it? Why would you like to see the URL in the output?
My concern is that with certain casks installed the output is already quite wide (yes, looking at you, Java!). So by adding more information the output will start wrapping into new lines making the output less readable.
How about adding that columns in verbose mode only? Would that make sense?
When I saw PR title my first impression was that this related to parallel downloads ticket.
@DerZersaeger @ondrejfuhrer
Could you please also implement an option that will generate a download URLs with corresponding target files locations?
I'm also volunteering here, so advice will be very appreciated.
Here is how it looks on my scaled terminal with large font.
So it is actually trimming the result so those URLs won't actually work, am I right here?
Could you please also implement an option that will generate a download URLs with corresponding target files locations?
Well, those URLs are even longer (imagine when the cask is downloaded from S3), what would be the use case here? @yurikoles
Well, those URLs are even longer (imagine when the cask is downloaded from S3), what would be the use case here?
This output is not for humans, it's intended to be supplied to third party downloader.
@yurikoles So something like this?
> brew cu download-links
https://page1.com/application1.dmg
https://page2.com/application2.dmg
https://page3.com/application3.dmg
And then you would pipe that into another command to do your magic?
@ondrejfuhrer
Yes, but I'm also thinking about file names, because brew
generates path by adding some hash in front. The ~/Library/Caches/Homebrew/downloads/
may be assumed or gotten with brew --cache
.
@DerZersaeger sorry for hijacking thread :(
@ondrejfuhrer let's continue in #160
@DerZersaeger sorry for hijacking thread :(
@ondrejfuhrer let's continue in #160
No problem
Hello @DerZersaeger , thank you for the contribution! π My question is, what would be the benefit of having it? Why would you like to see the URL in the output?
My concern is that with certain casks installed the output is already quite wide (yes, looking at you, Java!). So by adding more information the output will start wrapping into new lines making the output less readable.
How about adding that columns in verbose mode only? Would that make sense?
My intention is: When I upgrade any cask(s) I want to see what have changed.
E.g. when I run brew cu -a -f
and see that vscodium
or rectangle
is outdated, I have to find the corresponding repository and check the committed changes.
I'm just too lazy to search all the time for these repos, so I started with this PR.
PS: I'm from π©πͺ => π¬π§ should be improved
How about adding that columns in verbose mode only? Would that make sense? @ondrejfuhrer
GrΓΌΓe nach Berlin π©πͺ π π
Like in yarn
https://classic.yarnpkg.com/en/docs/cli/upgrade-interactive/