15827 Commits

Author SHA1 Message Date
Mike McQuaid
8f98b2bcc4
analytics: tweak behaviour.
- Use separate method for `not_this_run?` so we can still set the
  analytics message as seen when set.
- Clarify when analytics message is printed that we haven't sent any
  analytics yet.
2020-02-22 17:13:51 +00:00
Markus Reiter
5ebc478727
Merge pull request #7058 from reitermarkus/cask-formula-dependencies
Ensure formula dependencies for casks are linked.
2020-02-21 18:21:58 +01:00
Markus Reiter
19db7bb14b Ensure formula dependencies for casks are linked. 2020-02-21 17:36:55 +01:00
EricFromCanada
897f2bc225 tap-info: drop commands' brew(cask) naming requirement 2020-02-21 11:15:17 -05:00
EricFromCanada
bbdb72c5d5 tap-info: list cask tokens in JSON output 2020-02-21 11:14:52 -05:00
Mike McQuaid
d80f88ef99
Merge pull request #7052 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.80.0
build: bump rubocop from 0.79.0 to 0.80.0 in /Library/Homebrew
2020-02-19 12:18:16 +00:00
Mike McQuaid
02cc419a23
utils/bottles: delegate methods. 2020-02-19 11:54:42 +00:00
Mike McQuaid
dfa22680df
Autofix rubocop checks. 2020-02-19 11:24:12 +00:00
Mike McQuaid
20e0aa2a51
Merge pull request #7053 from MikeMcQuaid/tap-shallow-docs
tap: update docs to note non-shallow default.
2020-02-19 11:14:46 +00:00
Mike McQuaid
dd0b1bd2dc
brew vendor-gems: commit updates. 2020-02-19 11:05:29 +00:00
Mike McQuaid
e9419e48e5
tap: update docs to note non-shallow default.
Also, while we're here, `rsync` and `git` are not acronyms.
2020-02-19 10:56:44 +00:00
dependabot-preview[bot]
486d3c44e3
build: bump rubocop from 0.79.0 to 0.80.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.79.0 to 0.80.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.79.0...v0.80.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 05:26:01 +00:00
Mike McQuaid
e7130bfc26
Merge pull request #7043 from forivall/feat/casks-in-tap-info
feat: expose casks in tap.to_hash for tap-info --json
2020-02-18 13:19:18 +00:00
Mike McQuaid
7ca8a52f01
Merge pull request #7046 from MikeMcQuaid/set_git_name_email
test: set Git name and email.
2020-02-17 20:29:39 +00:00
Mike McQuaid
f31e01c3ad
test: set Git name and email.
Extract the code from `bottle.rb` into `utils/git.rb` and ensure it's
run before we run tests.

Should resolve issues like in
https://github.com/Homebrew/homebrew-core/pull/50328
2020-02-17 19:40:44 +00:00
Mike McQuaid
1c267fbf40
Merge pull request #7044 from jonchang/prettier-args
formula: don't emit standard args for cmake and go
2020-02-17 12:43:53 +00:00
Jonathan Chang
2c94fca110 formula: don't emit standard args for cmake and go 2020-02-17 14:42:43 +11:00
Emily Marigold Klassen
2c86e7e127 feat: expose casks in tap.to_hash for tap-info --json 2020-02-16 15:59:37 -08:00
ImgBotApp
06841497bb [ImgBot] Optimize images
/Library/Homebrew/test/support/fixtures/test.svg -- 0.26kb -> 0.25kb (1.52%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-02-16 14:17:57 -08:00
Sam Ford
486a557cf5
rubocop/lines: add protobuf to whitelist 2020-02-16 09:34:09 -05:00
Issy Long
2a36f61c19
missing_formula: TexLive is only blacklisted on macOS
- In Homebrew/linuxbrew-core, [we have a Linux-only formula for
  `texlive`](https://github.com/Homebrew/linuxbrew-core/tree/master/Formula/texlive.rb).
- When running `brew audit --strict texlive` on Linux, we got the
  following messaging:

  ```
  $ brew audit --strict texlive
  texlive:
    * 'texlive' is blacklisted from homebrew/core.
    Error: 1 problem in 1 formula detected
  ```

- Looking at where this comes from leads to the missing formula
  messaging to install `mactex` via Homebrew Cask. The 'blacklisted in
  homebrew/core' messaging only applies to macOS where Casks are an option
  for users, so let's not surface the audit for `texlive` on Linux.
2020-02-15 19:51:48 +00:00
Mike McQuaid
4d00a7bfe5
Merge pull request #7037 from issyl0/tap-new-github-actions-ci
dev-cmd/tap-new: Set up GitHub Actions CI instead of Azure
2020-02-15 19:28:13 +00:00
Issy Long
b3abf3d7c9
dev-cmd/tap-new: Set up GitHub Actions CI instead of Azure
- We recently removed Azure as a supported CI provider
  (Homebrew/homebrew-test-bot PR 325), so `brew test-bot` won't run on
  Azure any more.
- Homebrew CI is moving towards GitHub Actions as the standard.
2020-02-15 17:39:33 +00:00
Mike McQuaid
64c1ca3adb
brew vendor-gems: commit updates. 2020-02-15 17:14:02 +00:00
dependabot-preview[bot]
bd96d29ae9
build: bump rubocop-rspec from 1.38.0 to 1.38.1 in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.38.0...v1.38.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-15 15:26:49 +00:00
Markus Reiter
cb4316df97
Merge pull request #6922 from danielbayley/rmdir
Make rmdir: recursive
2020-02-15 09:58:26 +01:00
Issy Long
1ab843ba47
bump-formula-pr: Only delete Linux bottle line if it exists
- We have some Linux-only formulae that don't have bottles.
- Previously, bumping a Linux-only formula that didn't have a bottle
  line - eg, `adoptopenjdk` which is `bottle :unneeded` - would fail:

```
Error: inreplace failed
/app/linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/adoptopenjdk.rb:

expected replacement of /^    sha256 ".+" => :x86_64_linux\n/m with "\2"
```
2020-02-14 22:41:31 +00:00
Mike McQuaid
ac97c8545a
cmd/upgrade, reinstall: don't install on dry-run.
Fixes #7033.
2020-02-14 12:18:55 +00:00
Issy Long
1df8584d13
bump-formula-pr: Determine Linux-only formulae with depends_on :linux
- We used to use `# tag "linux"` in Homebrew/linuxbrew-core for the ~50
  Linux-only formulae. As of
  6578a4aa86,
  we're using `depends_on :linux` to have a consistent syntax between
  Linux and macOS.
- Therefore, we have to change the search string for Linux-only formulae
  that determines whether or not `brew bump-formula-pr` deletes the bottle
  line.
2020-02-13 21:28:12 +00:00
Mike McQuaid
1b2bb2380e
Merge pull request #7025 from dawidd6/deps-tree-consistent
deps: give consistent results
2020-02-13 09:43:19 +00:00
Dawid Dziurla
967b9b8112
deps: give consistent results
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-02-12 22:38:20 +01:00
Mike McQuaid
59958777c1
update: allow setting Git name and email.
This is needed for `brew test-bot` when no global Git configuration is
present.
2020-02-12 20:00:14 +00:00
Gautham G
8ce7a55add build.rb: Use CLI::Parser to parse args
Fixes #7008
2020-02-11 23:56:38 +05:30
Mike McQuaid
708010e6fd
Merge pull request #7022 from Homebrew/dependabot/bundler/Library/Homebrew/concurrent-ruby-1.1.6
build: bump concurrent-ruby from 1.1.5 to 1.1.6 in /Library/Homebrew
2020-02-11 13:40:55 +00:00
Mike McQuaid
3b32888c65
Merge pull request #7017 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.10.8
build: bump nokogiri from 1.10.7 to 1.10.8 in /Library/Homebrew
2020-02-11 12:50:35 +00:00
Mike McQuaid
baa1491bda
brew vendor-gems: commit updates. 2020-02-11 12:38:38 +00:00
Mike McQuaid
ccd3744fc9
Merge remote-tracking branch 'origin/dependabot/bundler/Library/Homebrew/rubocop-rspec-1.38.0' into dependabot/bundler/Library/Homebrew/concurrent-ruby-1.1.6 2020-02-11 12:37:05 +00:00
dependabot-preview[bot]
e47725716d
build: bump nokogiri from 1.10.7 to 1.10.8 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.7 to 1.10.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.7...v1.10.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 12:31:23 +00:00
dependabot-preview[bot]
11f461a315
build: bump concurrent-ruby from 1.1.5 to 1.1.6 in /Library/Homebrew
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.5 to 1.1.6.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.5...v1.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 12:31:12 +00:00
Mike McQuaid
dca717e699
Merge pull request #6969 from dawidd6/bottle-cellar-priority
bottle: prioritize HOMEBREW_CELLAR over :any over :any_skip_relocation
2020-02-11 12:31:09 +00:00
dependabot-preview[bot]
5a2ededb7a
build: bump rubocop-rspec from 1.37.1 to 1.38.0 in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.37.1...v1.38.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 08:05:39 +00:00
Daniel Bayley
f3a0fcfb6d Make rmdir: recursive 2020-02-11 07:56:15 +00:00
Jonathan Chang
6d46a4eed7 cpu: add new Intel names 2020-02-11 12:14:14 +11:00
Dawid Dziurla
c80107c8a2
bottle: prioritize HOMEBREW_CELLAR over :any over :any_skip_relocation 2020-02-10 21:39:36 +01:00
dependabot-preview[bot]
1e87cec4bf
build: bump tins from 1.24.0 to 1.24.1 in /Library/Homebrew
Bumps [tins](https://github.com/flori/tins) from 1.24.0 to 1.24.1.
- [Release notes](https://github.com/flori/tins/releases)
- [Commits](https://github.com/flori/tins/compare/v1.24.0...v1.24.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 13:58:56 +00:00
Samuel Cochran
b922ebec2a
Add --interactive to brew upgrade 2020-02-06 09:57:49 +11:00
Samuel Cochran
4c91ca06db
Add --interactive to brew reinstall
More often than I realised, I want to `brew reinstall
--build-from-source --interactive $FORMULA` to add some custom
configuration. It seems like a useful addition?
2020-02-06 09:56:51 +11:00
Mike McQuaid
a915114ea7
tap: fix arguments.
- Use Ruby attribute arguments.
- Fix use of `full_clone` in `cmd/tap` to be on by default.
- Remove unnecessary argument in test.
2020-02-05 20:22:21 +00:00
Mike McQuaid
72303fb9bb
Merge pull request #7000 from GauthamGoli/argv-cleanup-10
ARGV: Deprecate ARGV.quieter?
2020-02-05 20:20:20 +00:00
Mike McQuaid
ecce70bc32
Rename --quieter args to --quiet. 2020-02-05 19:43:59 +00:00