aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/pull.rb
AgeCommit message (Collapse)Author
2016-08-14pull: loosen Jenkins Testing URL.Mike McQuaid
2016-08-13pull: non-core tap support for Homebrew Testing jobsilovezfs
`test-bot --ci-testing` supports a `--tap` option for non-core taps, so `brew pull` should too when pulling Homebrew Testing jobs.
2016-07-16Unify Version.create usageVlad Shablinsky
Substitue each Version.new and HeadVersion.new with Version.create to unify Version and HeadVersion instantiation among core code. Note that this does not relate to Mac::OS::Version class.
2016-07-13various: proper escape dot in regexXu Cheng
2016-06-19pull: skip non-ruby files when collecting formulae namesBaptiste Fontaine
Closes #377. Signed-off-by: Baptiste Fontaine <b@ptistefontaine.fr>
2016-06-03cmd/pull: fix HTTP header usage.Mike McQuaid
2016-06-03Use `curl` for the GitHub API (#295)Mike McQuaid
* Move GitHub API module to utils/github.rb. * Move curl method to utils/curl.rb. * global: use long curl arguments and an array. This makes the code more self-documenting. * utils/curl: support reading curl's output. * utils/github: use curl instead of open-uri. It has far better proxy support. * pull: set Homebrew user agent. * gist-logs: remove trailing whitespace. * gist-logs: use first instead of [0]. Easier to read. * gist-logs: use curl-based GitHub.open method.
2016-05-28pull: remove legacy retry block.Mike McQuaid
2016-05-28pull: remove legacy-homebrew support. (#293)Mike McQuaid
There's no more pull requests left to pull on this repository.
2016-05-28Use JSON files for bottle upload data. (#166)Mike McQuaid
This means that we do not need to read formulae or evaluate Ruby at upload time.
2016-05-12brew pull: fix bogus line that was raising warningAndrew Janke
2016-05-12pull: insert questionable syntax hackDominyk Tiller
I'm not completely sure this is "sane" logic but I'm leery of just reverting Andrew's work this morning and making him rebuild that PR from scratch for one syntax issue. Sadly, because we run: ``` brew readall --aliases --syntax ``` On every CI job, and that flags this line previously as: ``` pull.rb:555: warning: possibly useless use of a variable in void context ``` Every single PR has "failed" since it was merged, and it's reached the point of being a bit annoying, so let's try this.
2016-05-11cmd/pull: add retry to curl bottle download (#232)Andrew Janke
Works around issue with GET and HEAD apparently acting differently, and bottle downloads failing even after successful polling completion.
2016-05-10cmd/pull: bump retry count.Mike McQuaid
2016-05-08pull: fix bottle_tag references.Mike McQuaid
2016-05-08Make bottle code cross-platform.Mike McQuaid
2016-05-04pull: fix references to renamed variableMartin Afanasjew
Fix bug originating in #132.
2016-05-03pull: fix polling code for Ruby 1.8.7 Net::HTTP (#191)Andrew Janke
2016-05-03brew pull: cross-platform bottle verification, concise output (#132)Andrew Janke
Do the bottle check using any platform's bottle, so `brew pull` works on bottled formulae which don't include a bottle for the current system. Make output more concise and informative * Remove expected download error messages when waiting for Bintray publishing * Replace patch download progress bars with patch file name * Silence git output about switching to and from bottle-pulling branch * Include formula name and patch type in some progress messages
2016-05-02Update Homebrew/homebrew references in codeMartin Afanasjew
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew` depending on context.
2016-05-02Update Homebrew/homebrew references in commentsMartin Afanasjew
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew` depending on context.
2016-04-03pull: fix --legacy for legacy-homebrew repoXu Cheng
2016-04-03pull: fix --legacy when pulling bottle from new repoXu Cheng
2016-04-03pull: auto fix legacy closes messageXu Cheng
2016-04-03pull: fallback to old BrewTestBot git repo when necessaryXu Cheng
2016-04-02pull: add --legacy flagXu Cheng
It will pull legacy formula PR from Homebrew/homebrew TODO: remove it when it's not longer necessary
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>