| Age | Commit message (Collapse) | Author |
|
|
|
`test-bot --ci-testing` supports a `--tap` option for non-core taps, so
`brew pull` should too when pulling Homebrew Testing jobs.
|
|
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.
|
|
|
|
Closes #377.
Signed-off-by: Baptiste Fontaine <b@ptistefontaine.fr>
|
|
|
|
* 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.
|
|
|
|
There's no more pull requests left to pull on this repository.
|
|
This means that we do not need to read formulae or evaluate Ruby at
upload time.
|
|
|
|
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.
|
|
Works around issue with GET and HEAD apparently acting differently, and
bottle downloads failing even after successful polling completion.
|
|
|
|
|
|
|
|
Fix bug originating in #132.
|
|
|
|
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
|
|
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew`
depending on context.
|
|
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew`
depending on context.
|
|
|
|
|
|
|
|
|
|
It will pull legacy formula PR from Homebrew/homebrew
TODO: remove it when it's not longer necessary
|
|
All formulae are in taps now.
|
|
Fixes Homebrew/homebrew#49757
Closes Homebrew/homebrew#49775
Closes Homebrew/homebrew#49947.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
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>
|
|
Core tap will be separated from core code in the near future.
It makes sense to rename it to CoreTap.
|
|
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>
|
|
Closes Homebrew/homebrew#48472.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
`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.
|
|
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
|
|
Closes Homebrew/homebrew#47224.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
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"`.
|
|
Fix the regression introduced by Homebrew/homebrew#46735.
|
|
|
|
```
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.
|
|
|
|
Fixes Homebrew/homebrew#45575
Closes Homebrew/homebrew#45577.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Closes Homebrew/homebrew#45563.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
Closes Homebrew/homebrew#43313.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
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>
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#42097.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
|
|
Closes Homebrew/homebrew#41530.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|