aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/audit.rb
AgeCommit message (Collapse)Author
2018-02-07Merge branch 'audit-deny-binary-looking-urls'William Woodruff
2018-02-06audit: Warn on new formulae containing binary URLsWilliam Woodruff
2018-02-05Merge pull request #3757 from EricFromCanada/masterMike McQuaid
docs: add more option descriptions
2018-02-04audit: Remove FILEUTILS_METHODS constantWilliam Woodruff
This constant hasn't been used since there was an `audit_line` method, and as such is vestigial.
2018-02-01docs: add more missing option descriptionsEricFromCanada
and improve wording or formatting where necessary.
2018-01-09audit: allow env :std in custom taps.Mike McQuaid
This is a nicer experience than writing `Requirement`s by hand.
2018-01-07audit: pass explicit sort to handle APFScommitay
2017-12-30requirements: move more to compat.Mike McQuaid
2017-12-29audit: remove unneeded mercurial check.Mike McQuaid
2017-12-03Refactor: Move FormulaAudit.check_http_content to utils/curlMartin Schimandl
2017-10-21Merge branch 'master' into audit_line_rubocop_part_4_rebase_attempt_1Gautham Goli
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-13Merge branch 'master' into audit_line_rubocop_part_4_rebase_attempt_1Gautham Goli
2017-10-10audit: nudge to use predicate for 'executable?' as wellDominyk Tiller
2017-10-09audit: broaden refute_predicate nudgeDominyk Tiller
2017-10-08Merge pull request #3277 from sjackman/audit-notableMike McQuaid
audit: Silence not notable on non-Homebrew taps
2017-10-08audit: Silence not notable on non-Homebrew tapsShaun Jackman
Silence "GitHub repository not notable" on non-Homebrew taps.
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2017-10-08audit: tweak assert/refute_predicate auditDominyk Tiller
Addresses some of the issues I raised in https://github.com/Homebrew/homebrew-core/pull/19127#issue-263566817. Would still like to work out a way to check `File.exist?`-style language inside the `test do` block exclusively but for now it's better to be too conservative on the audit than to be overly-zealous and flag too much.
2017-10-05audit: prefer assert/refute_predicate over File.exist?Dominyk Tiller
2017-09-29audit: don't care about shadowing official taps.Mike McQuaid
We're trying to import all of these formulae anyway.
2017-09-24Rubocop: manual rule fixes.Mike McQuaid
2017-09-24Rubocop: automatic rule fixes.Mike McQuaid
2017-09-24audit: also skip homebrew/science duplicates found by search_tapsilovezfs
Follow-up to #3202.
2017-09-23audit: don't check for homebrew/science duplicatesilovezfs
It's just noise to turn the migration PRs red over expected duplicates.
2017-09-23audit: hack around El Capitan audit failure.Mike McQuaid
2017-09-16Tweaks for older Mac OS X versions.Mike McQuaid
- `brew update` should try to install `curl` before `git` on older versions of Mac OS X where it is needed for accessing modern SSL certificates. - We don't need an HTTP mirror for `git` because `curl` will already be installed before it is downloaded. - Don't recommend GCC on Mac OS X versions where it can't be built with the default system compiler. - Start using the Homebrew `curl` on Mac OS X versions where it is needed as soon as it is installed.
2017-09-15audit: fix check_http_content args.Mike McQuaid
2017-09-14Require more HTTP mirrors for old OS X versions.Mike McQuaid
This allows the bootstrap of `curl` and `git` on versions of Mac OS X that cannot reliably download from HTTPS servers any longer. Once these are both installed users are able to update Homebrew and download files securely. Also, as we're doing this, don't point 10.5 users to Tigerbrew as they are already given caveats for using Homebrew itself.
2017-09-12Merge pull request #3126 from DomT4/curl_auditMike McQuaid
audit: stop demanding a HTTP HEAD mirror for curl
2017-09-05Merge pull request #3091 from GauthamGoli/audit_line_rubocop_part_3Mike McQuaid
audit: Port line_problems to rubocop and add tests part 3
2017-09-05audit: stop demanding a HTTP HEAD mirror for curlDominyk Tiller
Not sure if this is how you want to handle it but having a HEAD mirror for `curl` is just silliness. Ref: https://github.com/Homebrew/homebrew-core/commit/e36b95849ae38ade30605155d75cf6e731b4e38f
2017-09-04audit: Add a global flag to silent warning when auditingGautham Goli
2017-09-04audit: Port audit_class to rubocop, add tests and autocorrectGautham Goli
2017-09-04audit: Port rules from line_problems to rubocop part 3Gautham Goli
2017-09-04Merge pull request #3119 from MikeMcQuaid/audit-subversion-url-fixMike McQuaid
audit: fix subversion remote check logic.
2017-09-03Merge pull request #3096 from vszakats/urlchk1Mike McQuaid
audit: Add some heuristics to https upgrade checks
2017-09-03audit: fix subversion remote check logic.Mike McQuaid
Stop flagging invalid URLs as valid and vice-versa. Fixes #3118.
2017-09-01cleanup range checkViktor Szakats
2017-08-31audit: add a nudge to remove ENV.java_cacheDominyk Tiller
2017-08-29fix length ratio rangeViktor Szakats
2017-08-29limit some heuristics to strict modeViktor Szakats
2017-08-29review follow-up #1Viktor Szakats
2017-08-29url skipped if svn not available when auditing urlsmansimarkaur
2017-08-29Added check for svn availabilitymansimarkaur
2017-08-27try addressing style issues #2Viktor Szakats
2017-08-27try addressing style issuesViktor Szakats
2017-08-27add some heuristics to https upgrade checkViktor Szakats
2017-08-24Merge pull request #3086 from MikeMcQuaid/audit-taps-shushMike McQuaid
audit: don't output when searching taps.
2017-08-23Merge pull request #2995 from GauthamGoli/audit_line_rubocop_part_2JCount
audit: Port line_problems to rubocop and add tests part 2