16410 Commits

Author SHA1 Message Date
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
Mike McQuaid
9eedb1e2ca
system_command_result_spec: fix frozen objects. 2020-02-05 19:28:25 +00:00
Gautham Goli
1f9563f4bc ARGV: Deprecate ARGV.quieter? 2020-02-04 18:53:33 +02:00
Mike McQuaid
4493f27db2
Merge pull request #6989 from Homebrew/revert-6988-revert-6965-external-help-cli-parser
help: print cli/parser help message if used
2020-02-02 17:51:02 +01:00
Mike McQuaid
a55454dfea
Merge pull request #6992 from igas/url-in-json
Add stable url, tag and revision to json output
2020-02-02 17:50:37 +01:00
Igor Kapkov
5ef9b8863a Move urls code and add devel urls 2020-02-02 17:11:29 +01:00
Mike McQuaid
8a9dcad2c7
Move more command handling logic to commands.rb. 2020-02-02 17:05:45 +01:00
Igor Kapkov
82fde4e1e5 Add stable url, tag and revision to json output 2020-02-02 16:59:49 +01:00
Mike McQuaid
eb87651341
Revert "Revert "help: print cli/parser help message if used"" 2020-02-02 16:36:59 +01:00
Mike McQuaid
243e703700
tap: default to full clones.
This makes `Tap` consistent with what the installer is doing.

Generally shallow clones get slower and slower (and more and more
pointless) the more they are fetched so don't make sense for our
use-case.

Keep the option around anyway because it's useful for integration tests.
2020-02-02 16:36:37 +01:00
Mike McQuaid
bbe300ab2a
Merge pull request #6983 from GauthamGoli/argv-cleanup-9
ARGV: Replace ARGV.verbose? with Homebrew.args.verbose?
2020-02-02 15:41:47 +01:00
Gautham Goli
acde828a45 ARGV: Replace ARGV.verbose? with Homebrew.args.verbose? 2020-02-02 14:00:04 +01:00
Mike McQuaid
2082379a61
Revert "help: print cli/parser help message if used" 2020-02-02 09:11:23 +01:00
Mike McQuaid
af700b7186
Merge pull request #6965 from dawidd6/external-help-cli-parser
help: print cli/parser help message if used
2020-02-01 23:40:56 +01:00
Mike McQuaid
8471421c86
utils/ruby.sh: fix macOS portable Ruby detection.
Avoid unconditionally installing due to a variable name change.
2020-02-01 19:10:17 +01:00
Mike McQuaid
2b86e036fb
Merge remote-tracking branch 'origin/master' into external-help-cli-parser 2020-02-01 19:05:24 +01:00
Mike McQuaid
b03efb4356
Move shared man/help logic to cli/parser. 2020-02-01 19:05:03 +01:00
Mike McQuaid
cd423a2755
help: tweak structure/formatting. 2020-02-01 19:04:16 +01:00