Maxim Belkin
ae32922d0f
swap which and command -v
2018-08-23 20:48:12 +00:00
Maxim Belkin
947e1eb57b
Fix for Linux make shim
2018-07-30 09:24:46 -05:00
Mike McQuaid
adf2dd9e10
Merge pull request #4568 from MikeMcQuaid/versioned-formula-handle-unavailable
...
formula: handle unavailable versioned formulae.
2018-07-30 09:45:53 +01:00
Mike McQuaid
e52d6dba79
formula: handle unavailable versioned formulae.
...
If people decide to copy these into their Homebrew/homebrew-core
`Formula` directory then it breaks generating the hash for any
non-versioned formulae.
See https://github.com/Homebrew/homebrew-bundle/issues/351
2018-07-30 09:16:53 +01:00
ilovezfs
10a7e998a1
Merge pull request #4567 from Homebrew/revert-4561-curl-system-command
...
Revert "Use `SystemCommand` for `curl`."
2018-07-30 06:59:31 +02:00
ilovezfs
cd2b85c40f
Revert "Use SystemCommand for curl."
2018-07-29 21:45:04 -07:00
Markus Reiter
3c3b05d457
Merge pull request #4564 from reitermarkus/not-a-cask-file-error
...
Raise error when file does not contain a cask.
2018-07-29 12:31:49 +02:00
Markus Reiter
785ec4ef57
Add tests for `CaskUnreadableError.
2018-07-29 12:03:42 +02:00
Markus Reiter
17c9137c3e
Merge pull request #4561 from reitermarkus/curl-system-command
...
Use `SystemCommand` for `curl`.
2018-07-29 11:47:44 +02:00
Markus Reiter
5a45315349
Raise error when file does not contain a cask.
2018-07-29 11:42:34 +02:00
commitay
b68d8e7282
Merge pull request #4555 from commitay/unstable
...
audit: change the "unstable" spec message to devel/head
2018-07-29 09:50:46 +10:00
commitay
fabb0931e3
audit: change the "unstable" spec message to devel/head
2018-07-29 09:32:46 +10:00
Markus Reiter
355df64d93
Use SystemCommand for curl.
2018-07-29 01:23:33 +02:00
Mike McQuaid
b335a7357b
Merge pull request #4559 from reitermarkus/fix-cab
...
Don’t match `MZ` for `Cab`.
2018-07-27 14:10:54 +01:00
Markus Reiter
aacf603ad2
Fix .codecov.yml.
2018-07-27 01:21:38 +02:00
Markus Reiter
8a24472e2e
Don’t match MZ for Cab.
2018-07-27 00:54:31 +02:00
Mike McQuaid
5d4adead0b
Merge pull request #4557 from MikeMcQuaid/no-link-caveats-output
...
link: when refusing to link display keg only caveats instead.
2018-07-26 15:03:47 +01:00
Mike McQuaid
19d87bf15f
link: when refusing link display keg only caveats
...
These are a bit easier to follow and have been recently improved.
Inspired by conversation in #4441 .
2018-07-26 10:49:55 +01:00
Mike McQuaid
b89367e6d9
caveats: tweak keg_only_text
...
- make it a public method
- allow skipping the reason
- output how to set the various variables in your current shell
2018-07-26 10:49:07 +01:00
Mike McQuaid
74c77db5bd
shell: tweak export_value parameters.
...
Let’s have a default value for shell (considering this isn’t a public
API) to make it easier to use.
2018-07-26 10:48:25 +01:00
Mike McQuaid
b74974611c
Merge pull request #4548 from MikeMcQuaid/coverage-tweaks
...
Tweak code coverage logic
2018-07-26 10:21:46 +01:00
Mike McQuaid
afec4e2988
Tweak code coverage logic
...
- make OS detection looser to exclude more Linux files on macOS (and
vice versa)
- Allow slight (0.5%) coverage drops to account for somewhat random
fluctuations.
2018-07-26 10:09:02 +01:00
Markus Reiter
478f50f589
Merge pull request #4545 from reitermarkus/tap-path-regex
...
Make `HOMEBREW_TAP_PATH_REGEX` also match exact path.
2018-07-25 23:54:58 +02:00
Markus Reiter
34ed58a4fb
Merge pull request #4549 from reitermarkus/tap-command-file
...
Add `Tap#command_file?` method.
2018-07-25 23:37:14 +02:00
Markus Reiter
dfa5bfdf9d
Add Tap#command_file? method.
2018-07-25 11:42:28 +02:00
Markus Reiter
2912ebfbfe
Add test for Tap::from_path.
2018-07-25 11:04:00 +02:00
Markus Reiter
0ab6b957df
Make HOMEBREW_TAP_PATH_REGEX also match exact path.
2018-07-25 11:04:00 +02:00
Markus Reiter
a1f0ff4322
Merge pull request #4547 from reitermarkus/fix-name_error
...
Don’t rescue `NameError` for `#run`.
2018-07-25 11:03:44 +02:00
Markus Reiter
802d7de8e8
Don’t rescue NameError for #run.
2018-07-25 10:42:16 +02:00
Markus Reiter
bfd82a3be1
Merge pull request #4546 from reitermarkus/remove-macho-check
...
Remove `MachO` check for `Executable`.
2018-07-25 10:28:35 +02:00
Mike McQuaid
8a0edc7389
Merge pull request #4544 from commitay/jenkins-comment
...
utils/github: remove full stop from the "skipping" comment
2018-07-25 09:14:42 +01:00
Markus Reiter
d8624f5fe7
Remove MachO check for Executable.
2018-07-25 10:03:50 +02:00
commitay
7542c4edb7
utils/github: remove full stop from the "skipping" comment
2018-07-25 15:38:14 +10:00
Markus Reiter
def529ba3e
Merge pull request #4541 from reitermarkus/unpack-strategies
...
Merge `Hbc::Container` classes into `UnpackStrategy`.
2018-07-24 18:21:45 +02:00
Markus Reiter
83a1e8dd97
Refactor UnpackStrategy::Dmg.
2018-07-24 16:44:27 +02:00
Markus Reiter
1d167a6b9f
Reraise SystemCallError as ErrorDuringExecution.
2018-07-24 16:44:27 +02:00
Markus Reiter
eccd20e276
Merge Hbc::Container classes into UnpackStrategy.
2018-07-24 16:44:27 +02:00
ilovezfs
6027683d4e
Merge pull request #4542 from MikeMcQuaid/more-mojave-bottle-tweaks
...
Change Mojave bottle behaviour
2018-07-24 10:52:46 +02:00
Mike McQuaid
6417332a3a
Change Mojave bottle behaviour
...
Rather than relying on a `HOMEBREW_FORCE_BOTTLE` variable (which ends
up doing silly things like forcing bottle usage even when options are
provided) instead handle this at the `or_later` bottle detection
level so on prerelease versions of macOS any bottle looks like an
`or_later` bottle (unless various environment variables are set).
Fixes issues noted in:
https://github.com/Homebrew/brew/pull/4520#issuecomment-407229605
2018-07-24 09:25:32 +01:00
Markus Reiter
8223df081c
Merge pull request #4540 from reitermarkus/unpack-strategies
...
Refactor unpack strategies into separate files.
2018-07-23 21:38:34 +02:00
Mike McQuaid
758aefaa27
Merge pull request #4539 from MikeMcQuaid/tab-options-handling
...
tab: correctly handle options request.
2018-07-23 20:16:42 +01:00
Markus Reiter
b6e54a06e0
Refactor unpack strategies into separate files.
2018-07-23 20:59:28 +02:00
Markus Reiter
2c9dc62d35
Merge pull request #4534 from reitermarkus/remove-gpg-container
...
Remove `Hbc::Container::Gpg`.
2018-07-23 20:59:11 +02:00
Mike McQuaid
ea97da9879
tab: correctly handle options request.
...
Because a `Tab` is an `OpenStruct` the existing calls to
`any_args_or_options?` would always return `false`. This means that
`Formula#declared_runtime_dependencies` would never call
`Tab#without?` to check whether a dependency has been brought in by an
option.
Fixes #4407
2018-07-23 19:58:39 +01:00
Mike McQuaid
994593505e
Merge pull request #4538 from MikeMcQuaid/audit-new-formula-issue-comment-exception-warning
...
audit: output new formula issue comment failure message.
2018-07-23 19:53:59 +01:00
Mike McQuaid
0fe1f01e41
audit: output new formula issue comment failure message.
...
This should help debug when this fails to be created.
2018-07-23 19:33:59 +01:00
Markus Reiter
b7eb7e48f0
Remove Hbc::Container::Gpg.
2018-07-23 19:35:01 +02:00
Markus Reiter
d6a245c051
Merge pull request #4536 from reitermarkus/container-system-command
...
Add `system_command` helpers.
1.7.1
2018-07-23 18:46:56 +02:00
Mike McQuaid
b993c7745e
Merge pull request #4537 from MikeMcQuaid/bottle-merge
...
bottle: add --json and --merge docs.
2018-07-23 15:51:41 +01:00
Mike McQuaid
44eeb59774
bottle: add --json and --merge docs.
...
Fixes #4519 .
2018-07-23 14:51:47 +01:00