Commit Graph
16219 Commits
Author SHA1 Message Date
Mike McQuaid fbc13f05dd utils/curl: extract status checks into method. 2019-09-18 10:32:13 +01:00
Caleb Xu 78a0105fe2 utils/curl.rb: accept 1xx HTTP status codes
RFC 2616 states:

A client MUST be prepared to accept one or more 1xx status responses
prior to a regular response, even if the client does not expect a 100
(Continue) status message. Unexpected 1xx status responses MAY be
ignored by a user agent.

In the rare cases that we encounter a formula URL with a server that
provides a preliminary 1xx status code, it seems that (at least during
audit) we are failing on encountering this status code, even though
retrieving the file will succeed without issues.
2019-09-17 11:01:03 -04:00
Mike McQuaidandGitHub d40a4173d4 Merge pull request #6453 from reitermarkus/brew-ruby
Fix `brew ruby -r`.
2019-09-16 08:32:39 +01:00
Mike McQuaidandGitHub 4db823cb78 Merge pull request #6443 from MikeMcQuaid/linux-os-version
os/linux: add, use OS::Linux.os_version
2019-09-16 08:28:03 +01:00
Markus Reiter d8afed206f Use AppleScript to check if GUI apps are running. 2019-09-15 01:37:04 +02:00
Markus Reiter 31f15acc01 Add GitHub::check_runs. 2019-09-13 22:30:25 +02:00
Markus Reiter cba1c8ee97 Fix brew ruby -r. 2019-09-13 21:16:48 +02:00
Markus Reiter 7084093d45 Add missing require. 2019-09-13 19:52:43 +02:00
Mike McQuaid 47769f98f1 os/linux: add, use OS::Linux.os_version
Similar to MacOS.version. A bit cleaner for us here but also plan on
using this in Homebrew/homebrew-bundle.
2019-09-13 16:48:13 +01:00
Markus Reiter f010aa48ff Skip AppleScript actions if Automation Access isn't granted. 2019-09-13 16:35:44 +02:00
Kristof Lünenschloß 3e46488ca4 Display packages to upgrade one package per line 2019-09-13 13:43:34 +02:00
Mike McQuaidandGitHub 963cc556d4 Revert "argv: move options_only to cli/args" 2019-09-13 09:34:43 +01:00
Mike McQuaidandGitHub 7df0292f9b Revert "argv: move flags_only to cli/args" 2019-09-13 09:12:26 +01:00
dependabot-preview[bot]andGitHub 0013e156ed build: bump parser from 2.6.4.0 to 2.6.4.1 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.6.4.0 to 2.6.4.1.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.6.4.0...v2.6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-11 16:49:45 +00:00
Mike McQuaid 4b30a61732 prof: use ruby-prof 0.18.0
This is the newest version that works with Ruby 2.3.

Also, update the `.gitignore` to hide it while we're here.
2019-09-11 13:57:20 +01:00
Gautham Goli c7681c4287 argv: move flags_only to cli/args 2019-09-09 14:51:36 +05:30
Gautham Goli 4586632855 argv: move options_only to cli/args 2019-09-07 21:32:50 +05:30
Sean Molenaar 8cb833f7da Audit bitbucket.com repositories 2019-09-05 20:56:25 +02:00
Steven PetersandGitHub d25a954dbe Merge pull request #6272 from SMillerDev/gitlab_audit
Audit gitlab.com repositories
2019-09-05 08:53:18 -07:00
Mike McQuaidandGitHub 7402b552cf Merge pull request #6424 from MikeMcQuaid/brew-pull-testing
pull: fix Homebrew Testing pull regression.
2019-09-05 16:05:24 +01:00
Mike McQuaid 8755e79475 pull: fix Homebrew Testing pull regression.
Don't fail if we fail to parse an issue when pulling.

While we're here, do some general code cleanup of stuff that's hard to
follow, named confusingly or duplicated unnecessarily.
2019-09-05 14:21:45 +01:00
Sean Molenaar 0cca6cb8bd Audit gitlab.com repositories 2019-09-05 12:14:33 +02:00
dependabot-preview[bot]andGitHub 900f8359d6 build: bump mime-types from 3.2.2 to 3.3 in /Library/Homebrew
Bumps [mime-types](https://github.com/mime-types/ruby-mime-types) from 3.2.2 to 3.3.
- [Release notes](https://github.com/mime-types/ruby-mime-types/releases)
- [Changelog](https://github.com/mime-types/ruby-mime-types/blob/master/History.md)
- [Commits](https://github.com/mime-types/ruby-mime-types/compare/v3.2.2...v3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-05 05:25:26 +00:00
EricFromCanada 6f2b07163e uses: move comment that was being read by yard 2019-09-04 00:08:31 -04:00
Mike McQuaidandGitHub 78d74a8b29 Merge pull request #6403 from EricFromCanada/custom-global-options
man: include global options with customized descriptions
2019-09-02 14:17:03 +01:00
Mike McQuaid 4add1d1cb3 Check binary URL resources with RuboCop
- Migrate the existing binary URL audit to a RuboCop.
- Check resources as well as main URLs
- Also check for "macos" and "osx" in URLs
- Add whitelists for URLs and formulae
2019-09-02 10:50:49 +01:00
Mike McQuaid 9291fe583e audit: fix --display-cop-names. 2019-09-02 10:48:19 +01:00
Mike McQuaidandGitHub a1bcd336d0 Merge pull request #6409 from EricFromCanada/macos-requirement-json
MacOSRequirement: add to_json method
2019-09-02 08:45:17 +01:00
dependabot-preview[bot]andGitHub 885ac6f89d build: bump parser from 2.6.3.0 to 2.6.4.0 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.6.3.0 to 2.6.4.0.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.6.3.0...v2.6.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 05:35:50 +00:00
EricFromCanada c34b4c3abd MacOSRequirement: add to_json method 2019-09-01 09:10:35 -04:00
EricFromCanada 2477773259 man: include global options with customized descriptions 2019-08-25 23:59:47 -04:00
Chongyu Zhu 22a7b4bc1e python_virtualenv_constants: upgrade virtualenv to 16.7.4 2019-08-24 17:08:23 +08:00
L. E. Segovia b3a1f34b7b upgrade: style fixes 2019-08-23 01:51:06 +00:00
L. E. Segovia efb200e825 breadth-first search for dependents upgrade
Fixes Homebrew/brew#6386
2019-08-22 12:38:28 +00:00
Markus Reiter fca5950748 Remove brew cask automerge. 2019-08-21 11:12:36 +02:00
Mike McQuaid 82e314c467 messages_spec: handle frozen Homebrew.args.
This is an order dependent test failure fix as seen in
https://travis-ci.org/Homebrew/homebrew-test-bot/builds/574559080
2019-08-21 09:08:47 +01:00
Markus ReiterandGitHub 8e4f6bf3a1 Merge pull request #6366 from reitermarkus/depends_on-macos
Use `MacOSRequirement` for casks.
2019-08-21 09:59:59 +02:00
Markus ReiterandGitHub 6ea1048c7f Merge pull request #6383 from reitermarkus/last-modified
Add fallback for out-of-spec `Last-Modified` header.
2019-08-21 09:59:46 +02:00
Markus Reiter 16d2f8264c Use MacOSRequirement for casks. 2019-08-21 06:57:21 +02:00
Markus Reiter 78aee4fed3 Merge MaximumMacOSRequirement into MacOSRequirement. 2019-08-21 06:57:21 +02:00
EricFromCanada 3ed9b35f70 man: allow multi-line paragraphs for comment-based docs 2019-08-20 12:56:21 -04:00
EricFromCanada a9d1457c05 shellenv: suggest .zprofile for zsh users 2019-08-20 12:54:44 -04:00
Mike McQuaidandGitHub c1960b2fd6 Merge branch 'master' into man-page-text 2019-08-20 14:42:24 +01:00
Mike McQuaidandGitHub 0af89779a4 Merge branch 'master' into last-modified 2019-08-20 14:41:59 +01:00
EricFromCanada 20e3edfc78 manpages: add link to API & regenerate 2019-08-20 09:13:28 -04:00
EricFromCanada 8a8359cdd4 manpages: sentence rewording for readability
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00
EricFromCanada b4303cd983 manpages: fix command & option descriptions 2019-08-20 09:03:33 -04:00
EricFromCanada 329c6c78be manpages: relocate some sections
Reorder switches as force/quiet/verbose/debug, --installed before --all, and link to SPECIFYING FORMULAE from top of page.
2019-08-20 08:58:20 -04:00
EricFromCanada ee314617f7 manpages: update command usage strings 2019-08-20 08:55:54 -04:00
EricFromCanada 6340792f78 manpages: output formatting fixes 2019-08-20 08:28:35 -04:00