3482 Commits

Author SHA1 Message Date
Seeker
3a2dc79153 cask/create: update template to match new style 2020-08-06 09:39:07 -07:00
Markus Reiter
490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Markus Reiter
62671b1703 Remove wrong test. 2020-08-06 16:13:14 +02:00
Markus Reiter
6c964d4a78 Pass verbose? to Keg#link, Keg#unlink and Keg#optlink. 2020-08-06 16:12:52 +02:00
Markus Reiter
57fa48b758 Remove unneeded call to #shutup! in spec. 2020-08-06 16:12:52 +02:00
Mike McQuaid
fb0a6338b1
Remove more tap pinning code.
This was deprecated and removed a while ago.
2020-08-06 12:24:10 +01:00
Sam Ford
72985277e8
Add strategy to livecheck DSL 2020-08-05 11:54:37 -04:00
Elizabeth Tackett
a3278ad345 add bump spec 2020-08-05 10:10:05 -05:00
Jonathan Chang
0e8962f816
Merge pull request #8211 from jonchang/license-groups
license: permit no license for non-core taps, add exempted license groups
2020-08-05 20:55:11 +10:00
Jonathan Chang
fa80b484f1
license: style fixes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-08-05 20:26:13 +10:00
Dustin Rodrigues
5157c08327 style: clarify GitHub .git error message 2020-08-05 01:00:36 -04:00
Jonathan Chang
f1e06b865a audit: permit license groups 2020-08-05 12:52:20 +10:00
Dustin Rodrigues
e76cea16b1
Merge pull request #8213 from dtrodrigues/homepage-style
style: autocorrect readthedocs and GitHub .git homepages
2020-08-04 19:25:24 -04:00
Mike McQuaid
2dc8918650
Merge pull request #8191 from reitermarkus/bottle-publisher
Remove unused `BottlePublisher` class.
2020-08-04 15:20:34 +01:00
Dustin Rodrigues
1c5e73a578 style: autocorrect readthedocs and GitHub .git homepages 2020-08-04 09:45:18 -04:00
Mike McQuaid
acfdbce6d4
tap-new: update GitHub Actions.
This should be using the split options for a better user experience
and can use both Linux and macOS now.
2020-08-04 11:57:39 +01:00
Mike McQuaid
9f80629f64
Merge pull request #8203 from MLH-Fellowship/add-caskroom
caskroom: Add --caskroom to match --cellar
2020-08-04 09:05:08 +01:00
Seeker
0653bb1d2d
Merge pull request #8186 from SeekingMeaning/version/token-comparisons
version: extend token comparisons to strings, integers, and nil
2020-08-03 10:10:01 -07:00
William Ma
cf961caa27 caskroom: Add --caskroom command 2020-08-03 12:35:03 -04:00
Elizabeth Tackett
db27f446d0 WIP repology module tests 2020-08-03 11:27:35 -05:00
Mike McQuaid
a3efb35b0e
Merge pull request #8145 from MLH-Fellowship/integrate-uses
uses: Print cask uses
2020-08-03 09:07:22 +01:00
Seeker
144a454e34 test/version_spec: add special token comparison examples 2020-08-02 12:52:43 -07:00
Markus Reiter
1b3ae7f9e6 Remove unused BottlePublisher class. 2020-08-02 16:15:24 +02:00
Dustin Rodrigues
de8cc4106a style: don't allow PR/MR urls for patches 2020-08-01 16:20:46 -04:00
William Ma
72c672b814 Merge branch 'master' into integrate-uses 2020-08-01 12:12:09 -04:00
William Ma
e05538a7d9 Create DependenciesHelpers file, add tests 2020-07-31 11:35:45 -04:00
Markus Reiter
4381c32524 Add test for parsing with ignore_invalid_options. 2020-07-31 15:07:17 +02:00
Markus Reiter
d4c2ffd705 Refactor CLI::Parser. 2020-07-31 15:07:17 +02:00
Markus Reiter
8d97029b03
Merge pull request #8084 from reitermarkus/cli-parser
Refactor usage of global `Homebrew.args`.
2020-07-30 11:44:12 +02:00
Mike McQuaid
4888a677c7
Merge pull request #8126 from MLH-Fellowship/integrate-deps
deps: Print cask dependencies
2020-07-30 10:20:30 +01:00
Markus Reiter
05365b5542 Pass args more explicitly in FormulaInstaller. 2020-07-30 03:21:12 +02:00
Markus Reiter
ca18a72673 Refactor output_unsupported_error. 2020-07-30 03:21:12 +02:00
Markus Reiter
e14506e589 Pass args in uninstall instead of using global args. 2020-07-30 03:21:12 +02:00
Markus Reiter
24eff8f81a Pass args in SoftwareSpec instead of using global args. 2020-07-30 03:21:12 +02:00
Markus Reiter
f8934c0255 Pass args in Install and Messages instead of using global args. 2020-07-30 03:21:12 +02:00
William Ma
f96240eec7 deps: Add tests for CaskDependent 2020-07-29 13:37:38 -04:00
Seeker
4bd6c343d0 dev-cmd/audit: enforce uses_from_macos only if core tap 2020-07-28 10:28:00 -07:00
lionellloh
4f45ddd55b brew style --fix 2020-07-28 21:04:45 +08:00
lionellloh
26c786fc0a double quotes to single quotes 2020-07-28 21:01:36 +08:00
Lionell
0d6ea9e26c Updated tests to pass 2020-07-28 21:01:36 +08:00
Lionell
721c9b06cd audit-license: Small change to use license_array 2020-07-28 21:01:36 +08:00
lionellloh
4a14ae6589 Audit-license: more tests to ensure behaviour 2020-07-28 21:01:36 +08:00
lionellloh
797a07d555 All tests adapted to pass 2020-07-28 21:01:36 +08: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
Markus Reiter
276c570c16 Pass individual args explicitly to ENV extensions. 2020-07-28 02:52:45 +02: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
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
Issy Long
fdbb2ac16a
Merge pull request #7985 from vidusheeamoli/utils-inreplace-to-true
sorbet: set utils/inreplace.rb to true
2020-07-26 10:37:30 +01:00