Doug Hogan
55fcd01bed
cask/cmd/upgrade: add --dry-run option.
2019-07-26 23:20:56 -07:00
Doug Hogan
9e0e012a56
cmd/upgrade: add --dry-run option.
2019-07-26 23:20:51 -07:00
Mike McQuaid
3dc82bc8bf
Commit 'brew style --fix' results.
2019-07-23 17:09:57 +01:00
Cheng XU
1d957c2029
system_command: automatically find secrets from ENV
2019-07-18 15:10:15 +08:00
Cheng XU
66697d4290
ENV: add sensitive_environment function
...
ENV#sensitive_environment is used to list all sensitive environments.
Also refactor the code on determining whether an environment is sensitive.
2019-07-18 15:06:33 +08:00
Cheng XU
9232ca4508
system_command: allow redacting secrets in the log
...
Add a new argument `secrets` to specify secret tokens, so we can redact them in the log.
2019-07-18 15:06:32 +08:00
Michka Popoff
a70179d8b7
pull: extract bottle publishing code
...
and add tests
2019-07-03 21:18:17 +02:00
Michka Popoff
fb643a28f0
pull_spec: fix test
2019-07-03 21:05:21 +02:00
Michka Popoff
3c25ddc6ed
pull: allow to pull from merge commits
2019-07-03 21:05:21 +02:00
Zach Auten
25e7eaee1f
brew install will suggest brew cask install
...
If the user tries to install a cask using brew install
then brew will suggest the user tries 'brew cask install'
closes #6245
2019-06-22 14:21:56 -04:00
Cheng XU
2bd9b2774d
java_requirement: set cask attribute
...
Set `@cask` attribute for JavaRequirement, which is used by
`brew info` to track cask requirement for formulae and
`brew bundle dump` to sort the formulae and casks.
Before:
```
$ brew info --json languagetool | jq '.[0].requirements'
[
{
"name": "java",
"cask": null,
"download": null
}
]
$ brew cask install adoptopenjdk; brew install languagetool
$ brew bundle dump
brew "languagetool"
cask "adoptopenjdk"
```
After:
```
$ brew info --json languagetool | jq '.[0].requirements'
[
{
"name": "java",
"cask": "adoptopenjdk",
"download": null
}
]
$ brew cask install adoptopenjdk; brew install languagetool
$ brew bundle dump
cask "adoptopenjdk"
brew "languagetool"
```
Also added relevant test cases.
2019-06-10 10:37:09 +08:00
Izaak Beekman
75bc30bfff
Limit veclibfort & lapack cop to core & add tests
2019-06-06 18:09:44 -04:00
Izaak Beekman
65fbcc86d0
Add test for MPI choice cop's autocorrect
2019-06-06 16:46:17 -04:00
Izaak Beekman
ffe30058ab
Add MPICH cop and test
...
- Split off from PR Homebrew/brew#6209
- Create stand alone class for cop w/ auto-correct
2019-06-06 16:28:54 -04:00
Misty De Meo
5ab34abd17
Bottles: allow skipping or_later tags
...
This is a developer-only feature, so it's gated via `HOMEBREW_DEVELOPER`.
This is intended to enable testing of macOS 10.15; users building software
manually to test compatibility of early betas need to be able to build
software from source instead of via pouring 10.14 bottles. This isn't
intended to be a general-purpose `HOMEBREW_BUILD_FROM_SOURCE` replacement,
and has no effect on released versions of macOS.
2019-06-06 10:14:10 -07:00
Shaun Jackman
7c5f71e5ac
Merge pull request #6162 from gkpacker/add_uses_from_macos
...
Add uses from macos
2019-06-05 08:23:17 -07:00
Gabriel
9fa8dc5d89
Remove old os/mac/formula spec
2019-06-03 15:52:53 -03:00
Gabriel
678f89ff21
Fix typo
2019-06-03 15:52:53 -03:00
Gabriel
b2969e6063
Add needs_linux tag to specs that fails on MacOS
2019-06-03 15:52:53 -03:00
Gabriel
41f39939ca
Extract linux spec cases & add hash support to default #uses_from_macos
2019-06-03 15:52:53 -03:00
Gabriel
332acbbfc3
Add more spec cases
2019-06-03 15:52:53 -03:00
Gabriel
7a9bfb4c9f
Fix spec
2019-06-03 15:52:53 -03:00
Gabriel
38653f0cbc
Add default #uses_from_macos behaviour spec
2019-06-03 15:52:53 -03:00
Gabriel
aafe87524d
Extends SoftwareSpec with #uses_from_macos
2019-06-03 15:52:53 -03:00
Gabriel
01c5bc48d2
Create extended os formula specs
2019-06-03 15:52:53 -03:00
Gabriel
f2abaf6862
Add #uses_from_macos specs
2019-06-03 15:52:52 -03:00
Markus Reiter
0a0672fade
Don't URL-encode cookies.
2019-05-31 23:39:59 +02:00
Cheng XU
ba517e07e2
fix brew style
error
...
Spec path should end with cask/cmd/cache*_spec.rb.
describe Cask::Cmd::Cache, :cask do
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-05-23 15:50:55 +08:00
Cheng XU
8ad48f56e8
add test for brew cask --cache
2019-05-23 15:28:00 +08:00
Maik Riechert
e113fd70be
add HOMEBREW_CURL_RETRIES
2019-05-18 13:23:08 +01:00
Christian Moritz
3bb0f8c665
fix copying top level symlinks to folders in directory unpack_strategy
2019-05-17 00:54:34 +02:00
Mike McQuaid
191898ced5
Merge pull request #6127 from issyl0/brew_cask_info_space_between_multiple_casks
...
Add a blank line between `brew cask info` output for multiple casks
2019-05-14 08:21:41 +01:00
Mike McQuaid
a17b87368a
Merge pull request #5961 from Moisan/bump-revision
...
Add bump-revision command
2019-05-14 08:11:21 +01:00
Isabell (Issy) Long
7a367980b6
Add a blank line between brew cask info
output for multiple casks
...
- `brew info` adds a blank line between info output for multiple
formulae. This replicates that display for `brew cask info`, as
requested in Issue 6126.
2019-05-13 19:45:08 +01:00
Julian Mayer
a061a8d9f7
add optional checking whether appcast contains the version stanza to "brew cask audit"
2019-05-07 17:06:54 +02:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Thierry Moisan
c5640acae5
Add bump-revision bump command
...
bump-revision will increase by one the revision or add "revision 1" if
it doesn't exist.
2019-04-24 22:17:59 -04:00
Mike McQuaid
fc6bd2ea1c
Fixup more frozen string handling.
2019-04-20 14:07:29 +09:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations.
2019-04-19 21:46:20 +09:00
Mike McQuaid
ef2e297d3b
Disable RubyGems by default.
...
This speeds up all Ruby invocations where we don't need RubyGems by
around 10%. Where we do need RubyGems: include it manually.
2019-04-18 17:45:03 +09:00
Mike McQuaid
1aaffda62f
Merge pull request #6027 from vitorgalvao/remove_to_slashes
...
hbc: remove all *_to_slashes
2019-04-18 11:59:10 +09:00
Vítor Galvão
0ee226769a
hbc: remove all *_to_slashes
2019-04-17 16:31:35 +01:00
Mike McQuaid
ae63381bd9
cli/parser: use cli/args and tweak freeze behaviour.
2019-04-17 22:16:58 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
18630c7032
extend/ARGV: remove unused methods.
2019-04-17 21:08:26 +09:00
Mike McQuaid
8229e592d7
cask/cmd/info_spec: needs network connection.
...
Tag it accordingly.
2019-04-17 17:34:33 +09:00
Mike McQuaid
1281c4a663
Merge pull request #5983 from zachauten/continue-upgrading-casks-after-failure
...
'brew cask upgrade' will continue upgrading casks after a failure
2019-04-14 10:01:32 +01:00
Mike McQuaid
0750971870
Merge pull request #5893 from reitermarkus/version-unstable
...
Add `#unstable?` method for cask versions.
2019-04-14 10:00:57 +01:00
Mike McQuaid
3b842ef41f
Merge pull request #6014 from vitorgalvao/caskroom-home
...
cask home: update to brew.sh
2019-04-14 10:00:15 +01:00