817 Commits

Author SHA1 Message Date
Mike McQuaid
61a8c4d1fb
Merge pull request #4300 from apjanke/new-rubocop-version
Upgrade to Rubocop 0.57.2
2018-07-01 09:08:16 +01:00
Andrew Janke
e0a8a79921 Style fixes for Rubocop 0.57.1 2018-06-30 19:40:14 -04:00
Mike McQuaid
376f67bf2c
Merge pull request #4390 from MikeMcQuaid/linkage-cache-default
linkage: enable cache by default.
2018-06-29 20:35:13 +01:00
Mike McQuaid
1bf3aacc79
Merge pull request #4389 from MikeMcQuaid/bintray-portable-ruby
portable-ruby: respect HOMEBREW_BOTTLE_DOMAIN variable.
2018-06-29 20:07:11 +01:00
Mike McQuaid
6f5c8b8509 linkage: enable cache by default.
This has not been causing any issues in CI or for `master` users so
let's now enable it by default for everyone.
2018-06-29 19:57:39 +01:00
Mike McQuaid
facd76bc51 portable-ruby: respect HOMEBREW_BOTTLE_DOMAIN variable.
This was requested in:
https://discourse.brew.sh/t/adding-additional-download-sources-to-homebrew/2446

With this change you can use e.g. Artifactory for Homebrew's portable
ruby.
2018-06-29 19:51:18 +01:00
ilovezfs
3b46736820 mirror: use curl_executable instead of curl function 2018-06-25 06:33:44 -07:00
ilovezfs
49157dbf17 mirror: invoke correct curl
Remove remaining use of `system "curl"` in favor of the `curl` function.
2018-06-25 05:21:55 -07:00
Markus Reiter
18e46b3ec2 Fix usage of HOMEBREW_LOAD_PATH. 2018-06-18 16:23:35 +02:00
Mike McQuaid
f7d0c89c21
Merge pull request #4348 from errordeveloper/master
Ignore any version of Go, when it is a dependency of a bottle
2018-06-18 14:56:14 +01:00
Mike McQuaid
5e6c40e28f Make versioned formulae regex more consistent.
Share the regex where possible and otherwise ensure they are identical.
2018-06-18 14:36:51 +01:00
Andrew Janke
97c12b4bbf brew audit: avoid error on head-only formulae 2018-06-15 20:07:02 -04:00
Ilya Dmitrichenko
22d88821c3
Ignore any version of Go, when it is a dependency of a bottle 2018-06-15 11:36:41 -07:00
Mike McQuaid
e39b6f5891
Merge pull request #4329 from MikeMcQuaid/linkage-cache-developers
brew.sh: enable linkage cache for developers.
2018-06-13 09:06:24 +01:00
ilovezfs
6563043c75 bump-formula-pr: don't unset --mirror= value 2018-06-12 18:09:10 -07:00
Mike McQuaid
34ae75d511 brew.sh: enable linkage cache for developers.
This seems stable on CI so I think we can expose it to more people.
2018-06-11 20:10:40 +01:00
Markus Reiter
61bcec42a8
Merge pull request #4306 from reitermarkus/cask-search
Refactor `brew cask search`.
2018-06-08 14:18:32 +02:00
commitay
abdf6cae2f audit: fix typo 2018-06-08 16:53:49 +10:00
Markus Reiter
04cb105e46 Unset HOMEBREW_NO_EMOJI for all tests. 2018-06-07 18:42:30 +02:00
Markus Reiter
42e34db562 Always add cask/lib to $LOAD_PATH. 2018-06-07 18:42:30 +02:00
commitay
0e763fbb5e
Merge pull request #4303 from commitay/throttled
audit: throttled formulae
2018-06-07 23:05:02 +10:00
Markus Reiter
845cb99e29 Ignore HOMEBREW_NO_GITHUB_API when testing. 2018-06-07 14:02:31 +02:00
Andrew Janke
8b55cb5ecb Refactor commands to remove "require cmd/help" 2018-06-07 04:59:59 -04:00
commitay
0fe8c02b3c audit: throttled formulae 2018-06-07 16:34:44 +10:00
Mike McQuaid
06c01006c9
Merge pull request #4271 from GauthamGoli/create-args
create: Use Parser to parse args
2018-06-03 18:27:01 +01:00
Gautham Goli
e05f72bc52 create: Move FormulaCreator to formula_creator.rb 2018-06-03 17:10:05 +05:30
Gautham Goli
f60751d91c create: Use Parser to parse args 2018-06-03 01:15:28 +05:30
Gautham Goli
39a6f7f83f linkage: Use Parser to parse args 2018-06-02 20:45:50 +05:30
Gautham Goli
e21b7618a9 cli_parser: Rename @bump_args to args 2018-06-01 21:13:36 +05:30
Gautham Goli
f5e5a81a7f
Merge pull request #4146 from GauthamGoli/global-args
cli: Store parsed args in Homebrew.args and access @args everywhere else
2018-06-01 20:01:26 +05:30
Mike McQuaid
fb0f979279
Merge pull request #4204 from commitay/github-notabilty
audit: github notability
2018-06-01 08:39:26 +01:00
commitay
54b4f0c743 audit: github notability 2018-06-01 08:30:03 +10:00
Mike McQuaid
33cf882e34 bump-formula-pr: improve bad argument handling. 2018-05-31 19:53:12 +01:00
Gautham Goli
fba52e2f74 cli_parser: Store parsed args in Homebrew.args and access args everywhere else 2018-05-30 00:05:39 +05:30
Tom Schoonjans
ecbd9b9a26 Add gtk-mac-integration to gnome_devel_whitelist 2018-05-29 10:38:38 +01:00
Mike McQuaid
0408b78a23 tests: remove linkage cache env.
Otherwise this will mess with `brew tests`.
2018-05-24 15:09:41 +01:00
Mike McQuaid
97645d061d
Merge pull request #3720 from AndrewMcBurney/cache-optimization
Cache optimization for `brew linkage` command.
2018-05-24 09:14:02 +01:00
commitay
dc96e6f735
Merge pull request #4170 from commitay/new-formulae-options
audit: new formulae should not have options
2018-05-24 07:16:11 +10:00
Mike McQuaid
63ffbd3298
Merge pull request #4161 from alyssais/pull-gpg
Fix brew pull with git commit.gpgsign enabled
2018-05-23 14:21:40 +01:00
commitay
c297d39420 audit: add back new formulae condition for patches 2018-05-23 07:36:59 +10:00
Alyssa Ross
bdfbc70c87
pull: only add gpg to path if enabled in git 2018-05-22 23:35:50 +02:00
Mike McQuaid
c7aa286336 audit: tweak line length/style. 2018-05-22 14:52:02 +01:00
Mike McQuaid
44f5d3ec79 Refactor cache store code. 2018-05-22 14:46:14 +01:00
Gautham Goli
38c832b029 audit: exit with code 1 if regular audit errors or new formula audit errors when comment is not created 2018-05-22 19:14:18 +05:30
Gautham Goli
b01446d059 audit: Add condition check on new_formula_audits 2018-05-22 17:55:40 +05:30
commitay
9d55fed15f audit: new formulae should not have options 2018-05-22 19:39:14 +10:00
Mike McQuaid
8401cffe41 audit: remove "new formula" from messaging. 2018-05-22 09:55:41 +01:00
Andrew R. McBurney
010207b982 Changed cache usage behavior.
1. Running `brew linkage some_package` does not set the cache.
2. Running `brew linkage --cached some_package` when `DatabaseCache.empty?` returns `true` should build the cache.
3. Running `brew linkage --cached some_package` when `DatabaseCache.empty?` returns `false` should use the cache.
2018-05-21 17:36:30 -04:00
Mike McQuaid
1c91c83eac Merge branch 'master' into bot-comment 2018-05-21 17:16:19 +01:00
Mike McQuaid
e2968c7889 Various cleanup and fixes.
Rename some variables and use existing regexes and a single variable.
2018-05-21 15:36:26 +01:00