Markus Reiter
ae4bafdb36
Simplify CurlDownloadStrategy.
2017-08-08 18:10:13 +02:00
ilovezfs
986887b413
Revert "Refactor SVN and cURL download strategies."
2017-08-07 14:31:56 -07:00
Markus Reiter
dc5a2c1764
Simplify CurlDownloadStrategy.
2017-08-07 21:31:17 +02:00
Mike McQuaid
ed9942fbd1
Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs
...
rubocop: don’t allow Perl regex backrefs.
2017-06-12 16:47:28 +01:00
Mike McQuaid
021cef4b2b
Autocorrect Rubocop Style/SpecialGlobalVars.
2017-06-12 09:11:42 +01:00
Mike McQuaid
7a0aff1080
Autocorrect Rubocop Style/PerlBackrefs.
2017-06-10 20:23:20 +03:00
Mike McQuaid
9032574038
Update jenkins.brew.sh links.
...
These previously, incorrectly pointed to bot.brew.sh.
Fixes #2703 .
2017-05-30 19:14:40 +01:00
Zhiming Wang
7a75de7cb1
pull: fix status code check in check_bintray_mirror
...
The status code of the last redirect should be 2xx to be deemed successful.
2017-04-29 19:30:19 -04:00
Mike McQuaid
d02b4f321d
Hide sensitive tokens from install/test/post.
...
Hide these tokens to avoid malicious subprocesses e.g. sending them
over the network. Also, support using these tokens with environment
filtering and clear `HOMEBREW_PATH` from subprocesses to stop them
sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s
PATH for e.g. `brew doctor` etc.
2017-04-22 16:31:19 +01:00
Mike McQuaid
e723131438
pull: optionally warn (not die) on bottle publish failure.
...
This is useful when you're pulling PRs where individual bottles can't be
uploaded/built but you still want to pull the PR as a whole anyway.
2017-03-23 10:00:33 +00:00
Viktor Szakats
cc8f029f22
secure urls + remove -k from in-doc curl command
2017-03-14 17:27:11 +00:00
Zhiming Wang
10a235d6ab
pull: check Bintray mirror URLs
2017-03-07 20:45:08 -05:00
EricFromCanada
6cb5629737
Work around man page generator bug for pull.rb
...
To work around ronn's [issue with nested
lists](https://github.com/rtomayko/ronn/issues/35 ), treat each item as
a separate paragraph with alternate list markers.
2017-02-25 17:27:08 -05:00
ilovezfs
79280826f5
pull: fix false positives for nonstandard bump subjects when untapped
...
If the formula's tap isn't tapped yet when running `brew pull`, a false
positive occurs for the nonstandard bump subject check, and a bogus
warning is printed, which claims the bump subject should refer to the
old version not the new version.
2017-02-08 00:58:20 -08:00
Mike McQuaid
eff70115b5
pull: better handle missing bottles.
...
If we make a PR in which we're building many formulae (e.g.
https://github.com/Homebrew/homebrew-core/pull/9249 ) then we may want
to pull those that built and publish their bottles and discard those
that did not. Instead of saying bottles will be published when they
won't and then blowing up just avoid publishing them and print a warning
instead.
2017-01-27 09:36:47 +00:00
William Woodruff
d07b9ed7f2
Replace Utils::JSON with corelib JSON calls.
2016-11-20 20:06:25 -05:00
Markus Reiter
c36f42ce95
Remove private_class_method
from commands.
2016-10-02 00:24:47 +02:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Markus Reiter
58e36c7319
Fix Style/GuardClause.
2016-09-24 12:24:35 +02:00
Markus Reiter
fe2d51e0b9
Fix Style/IfUnlessModifier.
2016-09-23 15:30:07 +02:00
Mike McQuaid
3982950e61
rubocop --auto-correct all hash-rocket usage.
2016-09-17 16:14:13 +01:00
Mike McQuaid
f1c64f1cdc
dev-cmd/pull: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
86bfd36af2
Don't hide some (now) developer commands.
2016-09-08 20:46:37 +01:00
Mike McQuaid
af8605ea4b
Move developer-focused commands to dev-cmd.
2016-09-08 20:46:37 +01:00