aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
AgeCommit message (Collapse)Author
2018-01-22fetch: also fetch resources' patchesilovezfs
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2017-04-02Document all short flags.Mike McQuaid
2017-01-02bottles: --force-bottle feigns or_later.Mike McQuaid
When reproducing issues with software that hasn’t been bottled yet on your version of macOS it can sometimes be helpful to use `or_later` bottle functionality i.e. just use the bottle for the latest version of macOS available. This maps well to the existing `--force-bottle` argument so it will now act as if the latest bottle has a `or_later` ending.
2016-10-02Remove `private_class_method` from commands.Markus Reiter
2016-10-02Use `module_function` for commands.Markus Reiter
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-11cmd/fetch: fix Rubocop warnings.Mike McQuaid
2016-05-09fetch: document --retry option (#225)Martin Afanasjew
2016-05-06brew install: make -s apply only to given formula, not deps (#205)Andrew Janke
2016-05-06cmd/fetch: fix typo in docoAndrew Janke
2016-04-10Fix documentation errorMax Nordlund
Closes #10. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-04-10Add all the top level commentsMax Nordlund
2016-03-20Revert "brew fetch: only include sha256 in output"Xu Cheng
This reverts commit 0b38f9b286bc61e2b2d2232f80ea8ebc5909fb07.
2016-03-14brew fetch: only include sha256 in outputAndrew Janke
Closes Homebrew/homebrew#50067. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-01-19Revert "formula_installed: tweak source build behaviour."Mike McQuaid
This reverts commit 5dd200c6b40f4fa9cc3a70cbc9ca2885e4626943. Closes Homebrew/homebrew#47889.
2016-01-17formula_installed: tweak source build behaviour.Mike McQuaid
Currently `brew install —build-from-source wget` builds all the dependencies also from source. I can see people wanting to do this when `HOMEBREW_BUILD_FROM_SOURCE` is set by passing it on the command-line is mostly just annoying; it means you have to use `—build-bottle` and deal with the CFLAGS and `post_install` changes if you want to build from source. Tweak `formula_installer` so this behaviour is more intuitive. Closes Homebrew/homebrew#47889. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-06fetch: fall back to source if bottle fails.Mike McQuaid
This matches the behaviour when `brew install`ing formulae. Closes Homebrew/homebrew#46490. Closes Homebrew/homebrew#46619. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-06remove Formula#file_modified?Alex Dunn
It's been more trouble than it's worth. Fixes Homebrew/homebrew#43607. Closes Homebrew/homebrew#43049. Closes Homebrew/homebrew#43615. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-18unnecessary calls to .select simplifiedBaptiste Fontaine
These are minor perf optimizations. Closes Homebrew/homebrew#43028. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-23fetch: don't flag fs modificationDominyk Tiller
2015-07-18fetch/build formula from source when modifiedAlex Dunn
closes Homebrew/homebrew#36068 Closes Homebrew/homebrew#41397. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-21Point to a tap when installing or fetching.Mike McQuaid
When installing or fetching and stuff goes wrong we can't always catch the error and redirect to the tap. Instead, point to the tap before we do anything failure-prone and hopefully that'll encourage people to file issues in the right place. If not we can say that explicitly. Closes Homebrew/homebrew#33220.
2014-09-10Store the object itself in the failed download setJack Nagel
Patches don't respond to "name".
2014-08-22Use a set to track failed downloadsJack Nagel
2014-08-22Rescue only DownloadErrorJack Nagel
2014-08-16fetch: retry the download on a failure.Mike McQuaid
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-03-13Teach fetch to download patchesJack Nagel
2014-03-10Update fetch command for generalized bottle implementationJack Nagel
2014-03-08fetch: fix --retry with resources.Mike McQuaid
2014-03-06fetch: fix overloading Homebrew.failed.Mike McQuaid
2014-03-01fetch: add --retry option to retry fetch once.Mike McQuaid
Sometimes there may be intermittent failures with hosts that work if immediately retried. Let's allow a single retry in this case with the --retry flag. This also behaves nicely with the --force flag. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-31fetch: check for existing cache file before downloadingJack Nagel
2013-10-31fetch: clear partial downloads when --force is givenJack Nagel
Fixes Homebrew/homebrew#23764.
2013-09-11Allow resource fetchingAdam Vandenberg
Closes Homebrew/homebrew#20047.
2013-05-16Formula#fetch: always return the cached pathJack Nagel
This allows us to remove some type checks that were protecting against potential nils.
2013-05-16Adjust semantics of Formula#fetchJack Nagel
It doesn't really make logical sense that this method returns both the fetched path (or sometimes nil!) and the downloader, so just return the path (again, or nil!) and callers that want the downloader can ask for it separately.
2013-05-16fetch: rename 'tarball' to 'download'Jack Nagel
2013-05-16fetch: use concat rather than << and flattenJack Nagel
2013-02-01Refactor fetchJack Nagel
Remove direct references to checksum types, access them through the Checksum::TYPES constant instead.
2013-01-26Replace usages of recursive_deps with recursive_dependenciesJack Nagel
2013-01-26brew-fetch: remove MD5 output.Mike McQuaid
2012-09-03brew-fetch: Return error code on unmatched hash.Mike McQuaid
2012-07-08fetch: remove dead codeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04fetch: use new checksum verificationJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04fetch: make use of new formula specsJack Nagel
2012-04-02fetch: don't display cached location twiceJack Nagel
The download strategy will print the cached location if we've already fetched it, so avoid printing redundant information. Also just "puts" it instead of using a second `ohai` line. Signed-off-by: Jack Nagel <jacknagel@gmail.com>