12066 Commits

Author SHA1 Message Date
Mike McQuaid
cc8bc44286 audit: ensure curl always has an HTTP url.
This makes using `HOMEBREW_CURL` significantly nicer as then the system
`curl` (that, on old versions, sucks at SSL) can download a version of
`curl` that it can build from source.
2017-06-08 14:20:04 +03:00
Mike McQuaid
fd4aaf030f Merge pull request #2749 from MikeMcQuaid/edit-default-editors
edit: tweak default editors.
2017-06-08 12:46:56 +03:00
Mike McQuaid
8b29a07cfa Merge pull request #2750 from MikeMcQuaid/no-auto-update-no-report-issue-prompt
brew: no issue report prompt unless autoupdating.
2017-06-08 12:46:40 +03:00
Mike McQuaid
882f64169c Merge pull request #2751 from MikeMcQuaid/reinstall-remove-partial-keg
reinstall: remove partially installed keg.
2017-06-08 12:46:17 +03:00
Mike McQuaid
10549d13f4 brew: no issue report prompt unless autoupdating.
Otherwise: you may be on an old enough version that we don't care.
2017-06-07 16:37:39 +01:00
Mike McQuaid
486d3d84b1 edit: tweak default editors.
Add `atom` (not my editor of choice [TextMate for life!]) but widely
used enough to probably warrant it. Also, reorder based on my best
guestimates of current usage and cleanup the editor code while we're
here.
2017-06-07 16:07:53 +01:00
Mike McQuaid
838bb38b3e reinstall: remove partially installed keg.
Previously if a `brew reinstall` was Ctrl-Cd after some files had been
installed it wouldn't try to remove the partially installed keg and the
renaming of the backed-up keg would fail. Alternatively, remove the
partially installed keg as if it has been Ctrl-Cd or otherwise failed
then it's not desirable to keep it.
2017-06-07 15:58:13 +01:00
Markus Reiter
e2e578fd83 Merge pull request #2729 from reitermarkus/cask-require-sha
Fix parsing `--require-sha` and `HOMEBREW_CASK_OPTS`.
2017-06-07 13:22:59 +02:00
Mike McQuaid
1627df997c Merge pull request #2744 from DomT4/this_time_of_year_again
High Sierra: more initial support
2017-06-07 09:46:10 +01:00
Mike McQuaid
2cf2c020ba tty: handle non-tty stdin.
When stdin is not a tty then the message `stty: stdin isn't a terminal`
will be produced. Silence this message and fall back to `tput` when it
fails and default to 80 if we get no results at all.

Follow-up from #2714.
2017-06-07 06:57:50 +01:00
Dominyk Tiller
bcdd919b84
pkgconfig: add initial files for 10.13 2017-06-07 05:12:45 +01:00
Dominyk Tiller
08cee5a0d5
os/mac/xcode: add CLT Clang for 10.13 2017-06-07 04:39:29 +01:00
Markus Reiter
b40e4afac5 Fix parsing --require-sha and HOMEBREW_CASK_OPTS. 2017-06-06 16:40:03 +02:00
Markus Reiter
2fa8596302 Sort Hbc::installed. 2017-06-06 15:53:02 +02:00
Mike McQuaid
d9abe6552d Merge pull request #2738 from constXife/master
undefined local variable or method `ruby_version' on macOS 10.13 beta
2017-06-06 08:25:25 +01:00
Mike McQuaid
29d2268252 Merge pull request #2734 from rwhogg/fix-reinstall-without-bottle
cmd/reinstall: Fix reinstallation of formulae without bottles
2017-06-06 08:07:15 +01:00
Mike McQuaid
24d39430b5 diagnostic_spec: tweak_formatting. 2017-06-06 08:03:06 +01:00
constXife
4f5643a676 Fix undefined variable ruby_version 2017-06-06 13:45:09 +07:00
Dominyk Tiller
cc86d4184d
os/mac/xcode: recognise Xcode 9.0 2017-06-06 04:33:55 +01:00
Dominyk Tiller
a0ae034654
os/mac: add Xcode 9.0 Beta recognition 2017-06-06 04:30:29 +01:00
Dominyk Tiller
a88350425b
os/mac/xcode: expect Xcode 8.3.3 2017-06-06 04:15:36 +01:00
Dominyk Tiller
04184ebc02
os/mac: add Xcode 8.3.3 support 2017-06-06 04:14:55 +01:00
Bob W. Hogg
51e83cdf91 cmd/reinstall: Fix reinstallation of formulae without bottles
Reinstallation of non-bottled formulae was failing because it
used a deprecated method.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-06-05 18:35:43 -07:00
Dominyk Tiller
5a9dad0bf0
mac/version: add High Sierra symbol 2017-06-05 19:40:33 +01:00
JCount
d5838c7e80 pull_spec: use stable, non-fork PR for patch expectation 2017-06-04 15:41:50 -04:00
Mike McQuaid
54e01d76db Merge pull request #2599 from peternewman/patch-1
Fix internal links on the manpage
2017-06-04 11:52:13 +01:00
Mike McQuaid
9e17e44b3e Change manpage internal links in correct location. 2017-06-04 11:12:56 +01:00
Markus Reiter
0d124f7510 Merge pull request #2718 from reitermarkus/rubocop-audit
Fix `rubocop` in `brew audit`.
2017-06-04 12:07:26 +02:00
Markus Reiter
515411707a Merge pull request #2727 from reitermarkus/refactor-formula-versions
Refactor `FormulaVersions`.
2017-06-04 11:59:44 +02:00
Markus Reiter
8ffc77d8e8 Refactor formula_at_revision. 2017-06-04 10:24:16 +02:00
Markus Reiter
3064b5b3c3 Add test for brew style. 2017-06-04 10:11:59 +02:00
Misty De Meo
087035868a
AbstractCommand: fix return type of .abstract? 2017-06-03 20:47:46 -07:00
Misty De Meo
4ffca8faa2
cask_loader: fix return types for .can_load? 2017-06-03 20:47:46 -07:00
Misty De Meo
ffa65c7498
String: backport #match? from 2.4.0 2017-06-03 20:47:39 -07:00
Markus Reiter
7c0a3a1233 Fix rubocop in brew audit. 2017-06-03 23:50:31 +02:00
Mike McQuaid
98959f1fb9 release-notes: fix style complaint. 2017-06-03 20:52:36 +01:00
Mike McQuaid
3a08f81470 audit: fix pypi strict audit capture group. 2017-06-03 20:25:12 +01:00
Mike McQuaid
4676e2f35a release-notes: include PR author names.
Attribution is love.
2017-06-03 19:06:19 +01:00
Mike McQuaid
1e33120a22 Merge pull request #2723 from MikeMcQuaid/missing-formula-shallow-clones
missing_formula: note on shallow clones.
2017-06-03 10:20:38 +01:00
Mike McQuaid
390bf44f69 missing_formula: note on shallow clones.
This avoids the user confusion on incomplete results seen in
http://discourse.brew.sh/t/missing-formula-location/818/7
2017-06-03 10:02:40 +01:00
Mike McQuaid
1d034265af Merge pull request #2726 from MikeMcQuaid/audit-pypi-urls
audit: check pypi URLs
2017-06-03 10:01:22 +01:00
Mike McQuaid
d6c4dfc783 Merge pull request #2725 from MikeMcQuaid/audit-formulae-options-fix
audit: fix false negative for formulae options.
2017-06-03 10:01:10 +01:00
Mike McQuaid
965b7a4be9 Merge pull request #2722 from MikeMcQuaid/formula-installer-show-upgrade-revision
formula_installer: display full upgrade version.
2017-06-03 10:00:57 +01:00
Mike McQuaid
34670f9b22 Merge pull request #2720 from MikeMcQuaid/install-cask-env-filtering
install: fix cask install with env filtering.
2017-06-03 10:00:27 +01:00
Mike McQuaid
ff51f6ea42 Merge pull request #2719 from MikeMcQuaid/external-command-homebrew-path
brew.rb: use HOMEBREW_PATH for external commands.
2017-06-03 10:00:07 +01:00
Mike McQuaid
b7d007fb50 Merge pull request #2724 from MikeMcQuaid/capital-desc
formula_desc_cop: desc should be capitalised.
2017-06-03 09:57:26 +01:00
Markus Reiter
0b66796540 Merge pull request #2712 from 13k/hbc-dsl-appcast-fix
Fix curl invocation in Hbc::DSL::Appcast
2017-06-03 07:57:06 +02:00
Markus Reiter
e15d107041 Merge pull request #2728 from reitermarkus/brew-cask-info
Fix `brew cask info` for removed Casks.
2017-06-03 07:55:03 +02:00
Markus Reiter
8d514ae8f0 Merge pull request #2716 from reitermarkus/re-revert
Re-revert "Fix operator spacing."
2017-06-03 00:49:06 +02:00
Markus Reiter
7fb6e7dde0 Fix brew cask info for removed Casks. 2017-06-03 00:05:13 +02:00