14421 Commits

Author SHA1 Message Date
Markus Reiter
e2d8e3c6ee Remove unneeded RuboCop comment. 2018-08-01 04:12:31 +02:00
Markus Reiter
29182ad068 Remove non-existent download strategies. 2018-08-01 01:59:54 +02:00
Markus Reiter
8ae284e871 Use SystemCommand for curl. 2018-08-01 01:04:42 +02:00
Markus Reiter
f8dc9eff58 Move .tar.xz logic from Xz to Tar. 2018-08-01 00:56:36 +02:00
Markus Reiter
281ead3096 Look for extension first, then fall back to magic number. 2018-08-01 00:56:36 +02:00
Markus Reiter
a21e7ff742 Move Tar up. 2018-08-01 00:56:36 +02:00
Markus Reiter
04e97e82db Use magic number for Adobe Air. 2018-08-01 00:56:36 +02:00
Markus Reiter
e8f7a88976 Only call hdiutil if it’s a bzip2 or zlib. 2018-08-01 00:56:36 +02:00
Markus Reiter
278eace2fa Reorder unpack strategies again. 2018-08-01 00:56:36 +02:00
Markus Reiter
7cf8bb4f8c Add Diff unpack strategy. 2018-08-01 00:56:36 +02:00
Markus Reiter
fc15865760 Reorder unpack strategies. 2018-08-01 00:56:36 +02:00
Markus Reiter
7fb221ffe1 Remove unused brew cask _dump command. 2018-07-30 22:30:12 +02:00
Markus Reiter
ddbefee44a
Merge pull request #4573 from reitermarkus/subversion-spec
Add spec for SVN directory name containing `@`.
2018-07-30 22:25:42 +02:00
Markus Reiter
88783eae31 Refactor Hbc::URL and rename to URL. 2018-07-30 21:07:42 +02:00
Markus Reiter
54aa412015 Use LazyObject for Hbc::URL. 2018-07-30 21:07:42 +02:00
Markus Reiter
428bc9c7a3 Add LazyObject class. 2018-07-30 21:07:42 +02:00
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
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
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
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
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
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