aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
AgeCommit message (Collapse)Author
2012-03-21brew fetch: show downloaded pathAdam Vandenberg
2012-03-18Use fetch for downloading bottles.Mike McQuaid
Fixes Homebrew/homebrew#10958.
2012-02-15fetch: compare checksums case-insensitivelyJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-04Warn the user of required argumentsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-09fetch: use correct sha256 instance variableJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-19mirror support: Add mirror method to Formula.rbCharlie Sharpsteen
Mirrors can now be declared using the `mirror` method which works similar to `depends_on` and takes the same arguments as `url`. The formula class now has a public `fetch` method that cycles through the mirror list if the downloader for the primary URL throws a `DownloadError`. Other brew commands, like brew-fetch, also benefit from mirror support by using this method. Closes Homebrew/homebrew#7574.
2011-09-01fetch: fix '--force' for pathnamesJack Nagel
`brew fetch --force` was a no-op for formula pathnames when that formula did not exist in Library/Formula, because `brew --cache #{f.name}` results in an error for that case. Fix it by always using f.cached_download. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-04-14Added SHA-256 to the fetch command.Birger J. Nordølum
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14Add `brew fetch --deps`Adam Vandenberg
`brew fetch --deps` will also cache the dependencies of any listed formulae.
2011-03-12'brew fetch' now an official commandAdam Vandenberg