aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/pull.rb
AgeCommit message (Collapse)Author
2016-04-02audit/test-bot/pull: fix for core/formula separationXu Cheng
All formulae are in taps now.
2016-03-13brew pull: fix encoding of `brew info --json` outputAndrew Janke
Fixes Homebrew/homebrew#49757 Closes Homebrew/homebrew#49775 Closes Homebrew/homebrew#49947. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-03-11brew pull: enable blocking bintray publish by setting content-typeAndrew Janke
Looks like the bintray publish_wait_for_secs was being ignored because the content type wasn't being set, so it defaulted to x-www-form-urlencoded instead of application/json. Changes the timeout to 0 to preserve current non-blocking behavior, which we want in case multiple formulae are being updated. Closes Homebrew/homebrew#49951. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-03-07rename CoreFormulaRepository to CoreTapXu Cheng
Core tap will be separated from core code in the near future. It makes sense to rename it to CoreTap.
2016-02-16add Tap#formula_file?Xu Cheng
Return true if given path would present a Formula file in this Tap. Accepts both absolute path and relative path (relative to this Tap's path) It offer an abstraction such that caller would not need to worry about low level file system in the tap. It will be used in `brew pull` and `brew update`. Closes Homebrew/homebrew#49191. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-12pull --bump: add auto-detection of devel bumpsAndrew Janke
Closes Homebrew/homebrew#48472. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-02-03pull: fix ambiguity issues for tap migrationsMartin Afanasjew
`Formula[name]` gets called with an unqualified name and thus will throw `TapFormulaAmbiguityError` exceptions (silently ignored) if both the old and the new tap are present and changes for the new tap are pulled before the migrated formulae are removed from the old tap. The result is an empty or incomplete `changed_formulae`, causing issues with pulling the corresponding bottles and possibly other problems, too.
2015-12-26Revert "minor perf improvements"Baptiste Fontaine
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
2015-12-26minor perf improvementsBaptiste Fontaine
Closes Homebrew/homebrew#47224. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-19move CoreFormulaRepository into separate fileXu Cheng
For users whose local brew is at around 2015-06-11 to 2015-08-06, running `brew update` will emit following error: Error: uninitialized constant Formulary::CoreFormulaRepository This is caused by the same bug described in Homebrew/homebrew#42553. This commit workarounds this issue and restores `brew update` compatibility for users mentioned above. Also cleanup legacy `require "cmd/tap"`.
2015-12-13pull: use tap objectXu Cheng
Fix the regression introduced by Homebrew/homebrew#46735.
2015-11-12pull: fix pulling desired bottlesDominyk Tiller
2015-11-12pull: don't try to publish nonexistent bottlesDominyk Tiller
``` Fast-forward Library/Formula/ant.rb | 8 ++++---- Library/Formula/nailgun.rb | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) Deleted branch pull-bottle-45902 (was 1fdb73d). ==> Publishing on Bintray: {"files":3} ==> Publishing on Bintray: Error: Failure while executing ``` In that case, "jetty-runner" is bottle unneeded, but because I've passed the pull bottle command for the other two formulae, it attempts to publish a bottle that isn't there.
2015-11-01pull: fix pulling new bottles.Mike McQuaid
2015-11-01pull: use bottle_defined?Xu Cheng
Fixes Homebrew/homebrew#45575 Closes Homebrew/homebrew#45577. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01pull: bottle_unneeded? is covered by bottle_disabled?Xu Cheng
2015-10-31pull: handle unneeded and disabled bottles.Mike McQuaid
Closes Homebrew/homebrew#45563. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-14pull: increase Bintray fetch retries.Mike McQuaid
2015-09-11pull: allow pulling all testing jobs.Mike McQuaid
2015-08-27pull: more formulae fetch outside of main loop.Mike McQuaid
Closes Homebrew/homebrew#43313. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-25pull: do fetch after everything else, sleep more.Mike McQuaid
Use an exponential back-off on the sleep and try the fetch more times. Hopefully this will mean that we spent less time waiting for Bintray. Closes Homebrew/homebrew#43240. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-24pull: stop printing warning on test-botDominyk Tiller
Closes Homebrew/homebrew#42097. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-07-10pull: wait for Bintray publish, don't sleep.Mike McQuaid
Closes Homebrew/homebrew#41530. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-07pull: sleep for longerDominyk Tiller
2015-07-03pull: support Jenkins "Homebrew Testing" jobs.Mike McQuaid
2015-05-29pull: use Formula#full_nameXu Cheng
2015-05-13pull: warning if we are not in masterXu Cheng
Closes Homebrew/homebrew#39708. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-26brew-pull: use pkg_version when publishing bottlesXu Cheng
2015-04-20pull: fetch bottles with --retry.Mike McQuaid
2015-04-14Revert "brew pull: add automatic tap repair"Dominyk Tiller
This reverts commit bcd34ded9e4b17b8658b7ae947cd392a4e5942c0. Closes Homebrew/homebrew#38658. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-13brew pull: add automatic tap repairDominyk Tiller
At the moment, every time I pull a new formulae from a tap, I have to fetch it with the fully qualified name, `brew fetch homebrew/versions/duck123 `, which is fine, but then I also have to install, test, and audit it in the same way, which isn’t fixed until I tap repair, which gets a bit onerous. This just adds a step to `brew pull` where it does the tap repair automatically for taps. Closes Homebrew/homebrew#37788. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-09pull: increase bottle publish wait timeout.Mike McQuaid
2015-04-08pull: sleep before fetching uploaded bottle.Mike McQuaid
2015-04-07pull: try downloading bottles after upload.Mike McQuaid
2015-03-31pull: make the bintray message stronger.Mike McQuaid
2015-03-20pull: die on invalid parameters.Mike McQuaid
2015-03-20pull: allow pulling from API URLs.Mike McQuaid
Jenkins has started spitting these out; no idea why.
2015-03-18pull: always publish bottles.Mike McQuaid
The previous logic was flawed as it wasn't publishing new versions of bottles.
2015-03-08pull: remove unused variable.Mike McQuaid
2015-03-08pull: rename variable to avoid shadowing.Mike McQuaid
2015-02-24pull: don't try to tap formulae.Mike McQuaid
Unneeded now we're using canonical names.
2015-02-23pull: only link changed tap formulae.Mike McQuaid
2015-02-23pull: use link_tap_formula method.Mike McQuaid
2015-02-23pull: backtrace when tap repair fails.Mike McQuaid
2015-02-23pull: allow tap repair to fail.Mike McQuaid
2015-02-22pull: run tap --repair when pulling tap formulae.Mike McQuaid
This should allow formulae to be found after they are pulled. Closes Homebrew/homebrew#37043.
2015-02-19pull: add missing Bintray variable warning.Mike McQuaid
2015-02-19pull: fix newly added bottles on Bintray.Mike McQuaid
2015-02-19pull: use Bintray package naming.Mike McQuaid