Commit Graph
1791 Commits
Author SHA1 Message Date
Jonathan Chang 49bb2561aa Merge pull request #9087 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.2.0
build(deps): bump rubocop from 0.93.1 to 1.2.0 in /Library/Homebrew
2020-11-11 00:53:11 +11:00
Markus Reiter 52de3f9d8d extract: fix tap regex 2020-11-10 23:28:31 +11:00
Jonathan Chang 500908ee6f rubocop: fix Lint/NoReturnInBeginEndBlocks 2020-11-10 23:28:31 +11:00
Jonathan Chang ab7b757400 rubocop: fix Style/NegatedIfElseCondition 2020-11-10 23:28:31 +11:00
Dustin Rodrigues a8a83d1f24 dev-cmd/audit: only go back in git history until revision or version changes 2020-11-09 22:04:25 -05:00
Rylan Polster 59b1309900 Merge pull request #9039 from Rylan12/move-audit-allowlist-to-core
audit: migrate throttle list to Homebrew/core
2020-11-09 15:14:06 -05:00
Mike McQuaid 93362547c9 dev-cmd/audit: don't do dependency checks on Linux.
Alternate approach to #9091 for
https://github.com/Homebrew/homebrew-core/pull/64423
2020-11-09 16:26:44 +00:00
Mike McQuaid e62090a4f4 dev-cmd/pr-upload: fix brew audit arguments.
I accidentally committed an earlier version for this.
2020-11-09 13:49:40 +00:00
Rylan Polster 4ae72e0bdf tap: add constants for json files 2020-11-09 08:39:56 -05:00
Mike McQuaid 9057a63021 dev-cmd/pr-upload: run brew audit before uploading.
Check that `brew bottle --merge --write` hasn't broken `brew audit`.
2020-11-09 09:59:59 +00:00
Seeker 50ce5ef3a4 bottle: fix adding bottle block to formulae with special licenses 2020-11-08 07:23:33 -08:00
Rylan Polster b4d4f6d504 audit: require JSON arrays/objects for audit exceptions 2020-11-06 12:33:28 -05:00
Rylan Polster f2f2de6ff0 audit: cleanup and only check certain JSON files 2020-11-06 11:23:11 -05:00
Rylan Polster fe95b23736 audit: refactor tap_audit_exception method 2020-11-06 10:49:21 -05:00
Rylan Polster 2d76e830a8 audit: always run and don't fail after tap audits 2020-11-06 10:12:09 -05:00
EricFromCanada 3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
EricFromCanada dddfbf80fc apidoc: add/update yard tags 2020-11-06 00:16:35 -05:00
Rylan Polster 2a941ec6b1 audit, tap: incorporate suggestions from code review 2020-11-05 16:14:09 -05:00
Rylan Polster 089810709c audit: add tap_audit_exceptions attribute 2020-11-05 09:27:06 -05:00
Mike McQuaid c4fc81b26b audit: tweak versioned formulae logic (again).
References https://github.com/Homebrew/brew/pull/9027#issuecomment-722042589
2020-11-05 10:28:02 +00:00
Rylan Polster 6171b51a82 audit: migrate VERSIONED_HEAD_SPEC_ALLOWLIST to Homebrew/core 2020-11-05 01:43:01 -05:00
Rylan Polster fe1c7c16b0 audit: add tap audits for audit exceptions 2020-11-05 01:25:13 -05:00
Rylan Polster e1f463ff26 audit: use name tap_audit_exceptions 2020-11-04 23:42:42 -05:00
Mike McQuaid 878cbb634f update-test: more improvements.
- Explain why `HOMEBREW_UPDATE_TEST` is set and what it does.
- Avoid auto-updating (this should already be not happening but let's
  make sure).
- Set environment variables to ensure we're testing the default update
  behaviour (rather than deferring to user configuration).
- Use `HOMEBREW_BREW_GIT_REMOTE` as well as setting
  `git config remote.origin.url` ourselves.
- Run `brew help` quietly first to hide irrelevant portable Ruby output.
- Run `brew update --verbose --debug` to get even more output on
  failure.

Fixes https://github.com/Homebrew/brew/issues/8979
2020-11-04 13:22:59 +00:00
Rylan Polster 55e86125a6 audit: don't fail if exception list doesn't exist 2020-11-03 14:38:44 -05:00
Rylan Polster 869941bccd audit: migrate throttle list to Homebrew/core 2020-11-03 13:06:33 -05:00
Mike McQuaid 18c638de30 Merge pull request #9029 from MikeMcQuaid/diy-downcase
diy: downcase names.
2020-11-03 11:47:13 +00:00
Mike McQuaid 488a43ecd7 Merge pull request #9027 from Homebrew/revert-9016-revert-9009-improve-versioned-linking
Improve @-versioned formulae linking.
2020-11-02 14:33:32 +00:00
Mike McQuaid 4f3c590873 Unify and use Git username/email/GPG handling.
We're using essentially the same logic to setup Git for committing in
multiple places but the way we're doing so is inconsistent. Moved to
using two shared utility methods and use them consistently.
2020-11-02 12:21:18 +00:00
Mike McQuaid a9c988772b diy: downcase names.
Fixes #9026
2020-11-02 12:09:25 +00:00
Mike McQuaid bd7969c2b2 audit: fix non-core versioned formulae handling/
Fixes issue mentioned in #9016.
2020-11-02 11:25:51 +00:00
Jonathan Chang 006fd4985f audit: fdroidserver can have mixed python versions 2020-11-01 15:00:10 +11:00
Mike McQuaid 1702b34f18 update-test: improve debugging output.
Output more information about the refs and commit message for the start,
expected and actual end commits to ease debugging.
2020-10-26 12:17:22 +00:00
FX Coudert be4723fac8 Allow both python@3.8 and python@3.9 2020-10-25 13:19:00 +01:00
FX Coudert 672bb870ef Make python@3.9 the main formula 2020-10-24 01:05:36 +02:00
Mike McQuaid 4b361c26ea Merge pull request #8889 from hyuraku/fix_brew_edit
fix brew edit
2020-10-20 13:36:31 +01:00
hyuraku ae81ed1353 fix brew edit 2020-10-20 20:48:43 +09:00
Rylan Polster 6dec175574 tap-new: don't need to checkout default branch 2020-10-15 16:56:53 -04:00
Rylan Polster 64d135d0a7 tap-new: add option for branch name 2020-10-15 15:00:35 -04:00
Jonathan Chang 1b45ed1045 pr-automerge: enable --autosquash argument 2020-10-13 22:44:17 +11:00
Mike McQuaid e508c14ae2 dispatch-build-bottle: fix brew style. 2020-10-13 11:46:57 +01:00
Markus Reiter bf7fe45e89 Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
Jonathan Chang 84930afb0a Merge pull request #8906 from jonchang/tweak-signoff
pr-pull: clean up review signoff trailer code
2020-10-12 22:11:31 +11:00
Jonathan Chang e7b65c62a0 pr-pull: clean up review signoff trailer code 2020-10-12 21:44:13 +11:00
Dawid Dziurla ffe7f2a8da Merge pull request #7925 from dawidd6/dev-cmd-bottle
dev-cmd: add dispatch-build-bottle command
2020-10-12 10:33:43 +02:00
Dawid Dziurla 3095fbc8ec dev-cmd: add dispatch-build-bottle command 2020-10-11 13:00:15 +02:00
Markus Reiter 4382ee9d14 Remove files.yaml for Sorbet. 2020-10-10 19:10:58 +02:00
Markus Reiter d5e600e3af Remove unknown Homebrew::Error class. 2020-10-10 16:06:48 +02:00
Markus Reiter 24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter d36df37099 Replace custom stubs with sorbet-runtime-stub. 2020-10-09 16:45:13 +02:00