17707 Commits

Author SHA1 Message Date
Markus Reiter
d14f5dae7e Add spec for SVN directory name containing @. 2018-07-30 20:13:29 +02:00
Markus Reiter
b5548f9548
Merge pull request #4551 from ffeu/fix_svn_with_at_symbol
Adjusting SVN commands to consider the @ symbol
2018-07-30 20:01:46 +02:00
Maxim Belkin
947e1eb57b
Fix for Linux make shim 2018-07-30 09:24:46 -05:00
feu
4bb82ccd94 just one target.directory check in fetch_repo 2018-07-30 11:12:48 -03:00
feu
c63d8813af svn update/checkout with system_command 2018-07-30 10:04:54 -03: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
feu
43d53a67b7 just adjusting spaces 2018-07-29 20:54:13 -03:00
feu
ce3ac54e2c changing to use system_command .. chdir 2018-07-29 11:36:43 -03: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
feu
ad18c5c4b1 adjusting args in fetch_repo 2018-07-27 10:23:36 -03: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
feu
a0f30934aa removing unnecessary .to_s 2018-07-25 19:46:35 -03:00
feu
9594a56879 removing svn_cached_location and using svn_escape(path) inside subversion.rb 2018-07-25 19:32:36 -03: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
feu
3098a900d1 removing unintentional added spaces 2 2018-07-25 16:59:57 -03:00
feu
c3516cf472 removing unintentional added spaces 2018-07-25 16:52:21 -03:00
feu
2f18fff999 adjusting svn commands to consider the @ symbol 2018-07-25 16:42:16 -03: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