19698 Commits

Author SHA1 Message Date
lionellloh
557b1d09a2 correct logic for standard license checking 2020-07-28 21:01:36 +08:00
lionellloh
b91587d171 audit-license: adapt code to use Array of licenses 2020-07-28 21:01:36 +08:00
lionellloh
9a2f84d4a5 Modify to_hash output 2020-07-28 21:01:35 +08:00
Lionell Loh Jian An
3d27894015 Apply suggestions from code review
Code review changes

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-28 21:01:35 +08:00
lionellloh
88eae0633b overwrote license attr_rw with a special license method 2020-07-28 21:01:35 +08:00
Mike McQuaid
f797392dae
Merge pull request #8118 from MikeMcQuaid/bundle-update
brew.sh: run `brew update` before `brew bundle`.
2020-07-28 13:47:46 +01:00
Mike McQuaid
1c84c37f49
Merge pull request #8119 from reitermarkus/effective-arch
Fix `effective_arch` on Linux.
2020-07-28 12:29:07 +01:00
Markus Reiter
23340403c1 Fix effective_arch on Linux. 2020-07-28 12:58:21 +02:00
Mike McQuaid
0be15fc4b7
Run brew update before brew bundle.
This should help with cases like
https://github.com/Homebrew/homebrew-bundle/issues/751
and is good practise in general.

Also, document the `brew update --preinstall` flag that is being used
here so others can run it manually e.g. as part of CI if needed.
2020-07-28 11:49:52 +01:00
Dawid Dziurla
7279e6f465
Merge pull request #8116 from dawidd6/workflow-dispatch-publish
pr-publish: use workflow_dispatch trigger
2020-07-28 12:36:33 +02:00
Dawid Dziurla
7d7b80774e
pr-publish: use workflow_dispatch trigger 2020-07-28 12:06:16 +02:00
Mike McQuaid
376094560f
Merge pull request #8117 from Homebrew/revert-8076-301-redirect
Revert "curl: alert on 301 redirect"
2020-07-28 11:02:28 +01:00
Mike McQuaid
a85eb3fa49
Revert "curl: alert on 301 redirect" 2020-07-28 10:38:27 +01:00
Markus Reiter
c0d42dd922 Remove --force from global_options. 2020-07-28 10:31:11 +02:00
Markus Reiter
698ac63a06
Merge pull request #8115 from reitermarkus/cask-audit
Make `Cask::Auditor` return a `Hash` with warnings and errors.
2020-07-28 10:12:56 +02:00
Mike McQuaid
f6bb1f1ef8
Merge pull request #8053 from Bo98/java.io.tmpdir
formula: set java.io.tmpdir
2020-07-28 09:06:38 +01:00
Markus Reiter
bf9659423a Increase timeout for some integration tests. 2020-07-28 09:50:15 +02:00
Markus Reiter
5cf7ffd93e Make Cask::Auditor return a Hash with warnings and errors. 2020-07-28 09:50:15 +02:00
Mike McQuaid
e6b066a3d9
Merge pull request #8108 from mistydemeo/upgrade_avoid_unrequested_casks
upgrade: avoid upgrading unrequested casks
2020-07-28 08:47:00 +01:00
Mike McQuaid
cb214d9c09
Merge pull request #8106 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.2.3
build(deps): bump codecov from 0.2.2 to 0.2.3 in /Library/Homebrew
2020-07-28 08:29:12 +01:00
Bob Wombat Hogg
9b47057b12 Fix brew test on Linux stdenv 2020-07-27 21:41:03 -04:00
Markus Reiter
276c570c16 Pass individual args explicitly to ENV extensions. 2020-07-28 02:52:45 +02:00
Maxim Belkin
219d1322be brew.sh: fixes for UTF-8 2020-07-27 22:16:30 +00:00
Dawid Dziurla
fddeceda3c
Merge pull request #8110 from dawidd6/with-label
pr-automerge: fix variable name
2020-07-27 23:21:22 +02:00
Dawid Dziurla
367de3523a
pr-automerge: fix variable name 2020-07-27 22:39:54 +02:00
Misty De Meo
f6468ecf00 upgrade: avoid upgrading unrequested casks
Fixes #8107.
2020-07-27 13:25:35 -07:00
Seeker
69ca7c5cd7 pr-upload: fix for non-homebrew-core taps 2020-07-27 13:13:56 -07:00
dependabot-preview[bot]
b4f26f9fe9
build(deps): bump codecov from 0.2.2 to 0.2.3 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.2.2...v0.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 19:29:58 +00:00
Dawid Dziurla
5c87a909ea
Merge pull request #7888 from dawidd6/pr-stuff
dev-cmd/pr-*: allow to run on other taps too
2020-07-27 21:04:48 +02:00
Mike McQuaid
37da769dc3
Merge pull request #8104 from maximeg/fix-cask-pkg
Fix uninitialized constant Cask::Pkg
2020-07-27 19:24:49 +01:00
Dawid Dziurla
a0bf5c9ead
pr-publish: check if url repo equals provided tap arg
Co-authored-by: Jonathan Chang <jchang641@gmail.com>
2020-07-27 20:07:21 +02:00
Maxime Garcia
65bb03a7db Fix uninitialized constant Cask::Pkg 2020-07-27 18:04:29 +02:00
Dawid Dziurla
a8e524d334
bottle: fix inreplace string 2020-07-27 17:23:08 +02:00
Mike McQuaid
97cf1750f3
Merge pull request #8101 from vidusheeamoli/fix-StringInreplaceExtension-usage
dev-cmd/bump-formula-pr.rb: fix StringInreplaceExtension usage
2020-07-27 16:07:09 +01:00
Jonathan Chang
8b11584785
Merge pull request #8091 from jonchang/bottle-version-check
pr-upload: ensure bottle and formula version match
2020-07-28 00:25:04 +10:00
Mike McQuaid
2ff56c9e71
Merge pull request #7927 from MLH-Fellowship/integrate-cask
Allow references to casks when running upgrade and outdated
2020-07-27 15:11:32 +01:00
Jonathan Chang
80b62d8c2c pr-upload: style tweaks
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-27 23:55:45 +10:00
Jonathan Chang
ebfd308241 pr-upload: ensure bottle and formula version match 2020-07-27 23:55:45 +10:00
vidusheeamoli
cff79348c9
dev-cmd/bump-formula-pr.rb: fix StringInreplaceExtension usage 2020-07-27 14:55:31 +01:00
William Ma
fa60d99265 outdated: vary deprecated message depending on flag 2020-07-27 09:34:52 -04:00
William Ma
f8708ae80c Add todo for --json=v1 deprecation 2020-07-27 09:12:30 -04:00
Mike McQuaid
047738069f
Speed up timing-out tests.
- make `brew readall` only check Homebrew/brew syntax with no tap
  passed.
- pass specified tap to `brew readall` test for speed
- only shell out once in `FormulaInfo` test for speed
2020-07-27 14:01:22 +01:00
Mike McQuaid
25db60ebbb
Unify (mostly) Homebrew code style
Make the Homebrew/cask and Homebrew/homebrew-core style more closely
match the rest of Homebrew.

To accomplish this:
- Run `brew cask style` to ensure we don't break style there when
  making changes or upgrading RuboCop in Homebrew/brew.
- Fix the HomepageMatchesUrl cop to better handle weird input.
- Remove the now unneeded `.rubocop_shared.yml`
- Fix the cask fixtures with `brew cask style --fix`.
- Share more style between Homebrew/brew, casks and formulae.
2020-07-27 12:57:40 +01:00
Mike McQuaid
2100335441
Merge pull request #8049 from MLH-Fellowship/cask-commands
commands: Print cask commands
2020-07-27 12:44:21 +01:00
William Ma
f1b6a8debd Fix style 2020-07-26 22:12:08 -04:00
William Ma
2188b268de
Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-26 22:03:04 -04:00
Baffour Adu Boampong
119bc54e58 Removed duplicate method in bump-formula-pr 2020-07-26 22:47:32 +00:00
Baffour Adu Boampong
9e88b44bd7 Merge fixes 2020-07-26 22:39:46 +00:00
Dawid Dziurla
886d2edec2
Merge pull request #8082 from dawidd6/bump
bump-formula-pr: fix when no 'version' stanza in formula found
2020-07-26 19:20:06 +02:00
vidusheeamoli
1ba6d187e6 sorbet/homebrew.rbi: solve fetch.rb type error
Latest changes to fetch.rb introduced 2 new type errors.
These changes in sorbet/rbi/homebrew.rbi resolves those errors.
2020-07-26 21:09:34 +05:30