Commit Graph
19967 Commits
Author SHA1 Message Date
fd08ffdd67 cmd/update.sh: update Git logic.
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
2020-11-25 08:44:40 +00:00
Maxim Belkin 82ad6a56e9 Address review comments. 2020-11-24 21:01:22 -06:00
Maxim Belkin 2b6c1e220d brew.sh: don't mention HOMEBREW_DEVELOPER 2020-11-24 20:51:49 -06:00
Maxim Belkin 7c4b1841bc Use set -e/set +e instead of odie 2020-11-20 18:02:22 -06:00
Maxim Belkin 22bc5a94e7 Properly handle outdated cURL
`HOMEBREW_CURL_PATH` has an effect only when `HOMEBREW_DEVELOPER` is set. However, the part of `brew.sh` that prints a message about outdated cURL disregards the value of `HOMEBREW_DEVELOPER`, which leads to a misleadnig message telling the user that `HOMEBREW_CURL_PATH` is outdated even though another cURL was used/tested.

This PR fixes it and instructs Homebrew to:

1. Display a warning message when system cURL is outdated and either `HOMEBREW_CURL_PATH` **or `HOMEBREW_DEVELOPER`** are not set. New `HOMEBREW_CURL_WARNING` variable is set to display the above warning only once (useful when `brew` calls itself internally).
2. Display `Installing Homebrew cURL` before auto-installing cURL in `update.sh` (due to `HOMEBREW_FORCE_BREWED_CURL`) and stop/exit if this step fails.
3. Display `Installing Homebrew Git` before auto-installing Git in `update.sh` (due to `HOMEBREW_FORCE_BREWED_GIT`) and stop/exit if this step fails.
2020-11-19 10:14:10 -06:00
Daniel Bayley cfceee7872 Fix brew style checks on Brewfiles
Fixes https://github.com/Homebrew/homebrew-test-bot/issues/522
2020-11-17 16:05:11 +00:00
Markus ReiterandGitHub af4143150d Merge pull request #9163 from reitermarkus/lzma
Unify `Lzma` and `Xz`.
2020-11-17 15:23:55 +01:00
Mike McQuaidandGitHub 07b8304468 Merge pull request #8899 from hyuraku/hide_deprecated_cask_command
hide deprecated cask command
2020-11-17 13:35:05 +00:00
Markus ReiterandGitHub 421853217f Merge pull request #9161 from peterlewis/dmg-ulmo-fix
unpack_strategy: Move `Dmg` to above `Xz` and `Lzma`
2020-11-17 13:51:57 +01:00
Markus ReiterandGitHub b21c59f751 Merge pull request #9152 from reitermarkus/update-gems
Update Gems.
2020-11-17 13:51:27 +01:00
Mike McQuaidandGitHub 78a166b4ad Merge pull request #9156 from EricFromCanada/macos-version-array
macos_requirement: fix display of versions as array
2020-11-17 12:46:05 +00:00
Peter LewisandMarkus Reiter 362c64855c unpack_strategy: Move Dmg to above Xz and Lzma 2020-11-17 13:10:29 +01:00
hyurakuandMarkus Reiter faf7aab6dd remove deprecated cask command from man page 2020-11-17 13:04:00 +01:00
Mike McQuaid 844fa3bbd5 spec_helper: increase needs_network timeout and retry.
This should help with flakiness on these tests.
2020-11-17 12:01:09 +00:00
Markus Reiter f3c81760cb Unify Lzma and Xz. 2020-11-17 12:20:08 +01:00
Markus Reiter e8c0de0db4 Disable Performance/ConstantRegexp cop for now. 2020-11-17 11:15:02 +01:00
Markus Reiter 0184e271d8 Fix RuboCop offenses. 2020-11-17 11:09:55 +01:00
Markus Reiter e41b3e8741 Update Gems. 2020-11-17 11:09:55 +01:00
EricFromCanada 4f330c5e19 macos_requirement: fix display of versions as array 2020-11-16 23:22:18 -05:00
Markus ReiterandGitHub 9f458142b7 Merge pull request #9146 from reitermarkus/upgrade
Mention `--greedy` when no casks were upgraded.
2020-11-16 22:03:10 +01:00
Markus Reiter 3b7404560a Exclude casks and formulae with and without /. 2020-11-16 20:44:10 +01:00
ClaudiaandMarkus Reiter b36fd8ebd9 Fix brew audit Formula/formula.rb
Fix a regression introduced in PR #8542, which wouldn’t exclude
formulae and casks from stricter style checks properly unless tapped.
This caused `brew audit Formula/formula.rb` to report violations which
were not meant for formulae and casks.

The fix is to add Exclude patterns for formulae and casks in any
`git clone`d tap’s working tree.

Working outside of the productive Homebrew installation makes sure that
the latter doesn’t interfere with development, and vice versa.
It also helps track work in progress, especially if one tends to forget
things.
2020-11-16 20:01:48 +01:00
Markus Reiter 3ee66d8c0d Add type annotations related to upgrade. 2020-11-16 19:45:15 +01:00
Mike McQuaid 2b9edf72bc unlink: unlink only keg-only versioned formulae.
As otherwise we unlink those that don't conflict e.g. `gcc@8` and
`gcc@9`.
2020-11-16 14:45:15 +00:00
Mike McQuaidandGitHub 40cc423fa1 Merge pull request #9136 from EricFromCanada/man-page-formatting
Update manpage formatting
2020-11-16 14:39:47 +00:00
Mike McQuaidandGitHub 76ef45fac7 Merge pull request #9134 from Rylan12/pr-pull-ci-cyntax-only
pr-pull: skip bottles for CI-syntax-only PRs
2020-11-16 14:20:26 +00:00
EricFromCanada 72bc057014 manpage: fixes for formatting 2020-11-16 08:02:50 -05:00
EricFromCanada f784b7107f manpage: fixes for grammar 2020-11-16 07:56:50 -05:00
EricFromCanada 19f3acea41 manpage: update instructions & description in template file 2020-11-16 07:56:50 -05:00
EricFromCanada eb16624c5f manpage: reformat lists of subcommands & env vars
Modify parser.rb to add a colon between each term and the line break, which `ronn` converts into a definition list.
The <br> that follows ensures each term description is on a new line in the manpage output, and also replaces the
double trailing space for generating the hard return that follows each term in the HTML output.
Also modify man.rb to print environment variables with list markup matching the cask commands, and then drop
trailing colons from both lists of terms (cask commands, env vars) and non-list terms (analytics, bundle, services;
a <br> is added here because it would prevent the term description from being indented in the manpage output).
https://docs.brew.sh/Manpage#cask-command-options-cask
2020-11-16 07:56:50 -05:00
Mike McQuaidandGitHub aaa38b6a35 Merge pull request #9109 from SeekingMeaning/automerge/exclude-linux-only
pr-automerge: don't automerge PRs with linux-only label
2020-11-16 12:54:59 +00:00
Mike McQuaidandGitHub a83336db02 Merge pull request #9105 from samford/expand-livecheck-preprocess_url-tests
Expand Livecheck#preprocess_url tests
2020-11-16 12:54:05 +00:00
Mike McQuaidandGitHub 2675fa03af Merge pull request #9144 from dtrodrigues/discussions
docs - remove Discourse from communication methods
2020-11-16 12:47:49 +00:00
Mike McQuaidandGitHub 3844cd6dc5 Merge pull request #9054 from fxcoudert/bigsur
macOS Big Sur
2020-11-16 12:22:34 +00:00
Markus Reiter 7893d316ab Mention --greedy when no casks were upgraded. 2020-11-16 04:35:55 +01:00
Markus Reiter bfe9598fa9 Disable Lint/DuplicateBranch cop for formulae and casks. 2020-11-16 03:13:39 +01:00
Markus Reiter 1b732ec7b2 Fix RuboCop offenses. 2020-11-16 02:05:29 +01:00
Markus Reiter f2693a0a00 brew vendor-gems: commit updates. 2020-11-16 02:03:45 +01:00
Rylan PolsterandMarkus Reiter 20ee7e8881 add Lint/DuplicateBranch cop exceptions 2020-11-16 02:02:52 +01:00
Rylan PolsterandMarkus Reiter 50890ebd51 fix Lint/DuplicateBranch style 2020-11-16 02:02:52 +01:00
Rylan PolsterandMarkus Reiter dda0dc72a7 format note comments 2020-11-16 02:02:52 +01:00
dependabot[bot]andMarkus Reiter 7fb1e8be87 build(deps): bump rubocop from 1.2.0 to 1.3.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.2.0...v1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-16 02:02:52 +01:00
Dustin Rodrigues 1c925d52fe docs - remove Discourse from communication methods 2020-11-15 13:20:03 -05:00
Eric KnibbeandGitHub 82e1b27624 Merge pull request #9138 from EricFromCanada/cache-path-cleaned
cleanup.rb: ensure cache exists before touching .cleaned
2020-11-15 09:17:37 -05:00
Jonathan ChangandGitHub 63b03fb8e6 Merge pull request #9141 from jonchang/old-macos-audits
audit: don't error on old OS X versions
2020-11-15 20:51:11 +11:00
Jonathan ChangandGitHub fb6159467a Merge pull request #9137 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.6060
build(deps): bump sorbet from 0.5.6049 to 0.5.6060 in /Library/Homebrew
2020-11-15 17:21:09 +11:00
Jonathan Chang e547e3aba9 audit: don't error on old OS X versions 2020-11-15 17:18:32 +11:00
Ikko AshimineandGitHub 1e07b77f49 bintray: fix typo in it comment
non-existant -> non-existent
2020-11-15 13:42:01 +09:00
dependabot[bot]andGitHub 53e3177ee8 build(deps): bump sorbet from 0.5.6049 to 0.5.6060 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.6049 to 0.5.6060.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-15 00:36:28 +00:00
Jonathan ChangandGitHub 1f8dc4886a Merge pull request #9115 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-macho-2.5.0
build(deps): bump ruby-macho from 2.2.0 to 2.5.0 in /Library/Homebrew
2020-11-15 11:29:49 +11:00