Seeker
be6dd72c16
Merge pull request #10305 from SeekingMeaning/safe-popen-tests
...
utils/popen: add `safe` argument to `popen_read` and `popen_write`
2021-01-13 10:51:46 -08:00
Rylan Polster
4b8477ba70
Completions, Settings: move to Homebrew namespace
2021-01-13 11:20:28 -05:00
Rylan Polster
f1f3fdc315
settings: add module for managing git config settings
2021-01-12 16:27:25 -05:00
Seeker
eefe5bb295
git_repository: add safe
argument to git_head
/git_short_head
2021-01-12 10:29:27 -08:00
Seeker
88306d5f5d
utils/popen: add safe
argument to popen_read
and popen_write
2021-01-12 10:22:40 -08:00
Seeker
14b4916dda
utils/ast: move helper functions from FormulaAST
to AST
2021-01-11 20:35:14 -08:00
Jonathan Chang
1a9c3fa06e
Merge pull request #10272 from jonchang/master
...
Improve documentation and add type signatures.
2021-01-12 13:18:28 +11:00
Seeker
f113f78ae2
Merge pull request #10283 from SeekingMeaning/github-util-cleanup
...
utils/github: cleanup
2021-01-11 16:21:19 -08:00
Seeker
850cc8af3e
Merge pull request #10279 from SeekingMeaning/formula-rewriter
...
utils/ast: add `FormulaAST` class
2021-01-11 16:19:50 -08:00
Rylan Polster
e7b369273a
completions: link official taps automatically
2021-01-11 12:27:57 -05:00
Seeker
b29c27b9a8
Merge pull request #10251 from SeekingMeaning/bump-pr-match
...
bump-*-pr: check existing PRs for exact file match
2021-01-11 08:40:47 -08:00
Jonathan Chang
ce45868973
Improve documentation and add type signatures.
2021-01-11 10:40:59 +11:00
Seeker
86a7895115
utils/github: cleanup
2021-01-10 10:42:17 -08:00
Seeker
2ebfb4221c
utils/ast: add FormulaAST
class
2021-01-10 09:25:46 -08:00
Kevin Abel
226bbc74e8
utils/ast: Loose the check for Formula class node
...
Allows single class files with side-effects that load other classes that inherit `Formula`.
2021-01-09 15:11:30 -06:00
Seeker
2901d2058a
bump-*-pr: check for valid tap
2021-01-08 11:42:37 -08:00
Seeker
b9854bd4cf
rubocops: add unless_multiple_conditions
2021-01-08 10:33:54 -08:00
Rylan Polster
234267cc93
completions: make opt-in only
2021-01-08 11:10:24 -05:00
Mike McQuaid
57eaae6146
Merge pull request #10248 from MikeMcQuaid/analytics-tweaks
...
Improve submitted analytics data
2021-01-08 10:01:19 +00:00
Mike McQuaid
060c59772f
Merge pull request #10258 from SeekingMeaning/github-scopes
...
github: check token scopes even if authorized
2021-01-08 09:42:56 +00:00
Seeker
7a086689ec
Merge pull request #10245 from SeekingMeaning/git-repository-head
...
utils: add `git_repository`
2021-01-07 22:25:31 -08:00
Seeker
4886b3b138
github: check token scopes even if authorized
2021-01-07 17:47:08 -08:00
Seeker
332778025a
utils/ast: add Sorbet method signatures
2021-01-07 13:54:05 -08:00
Seeker
41e0619de8
utils: add git_repository
2021-01-07 11:45:11 -08:00
Seeker
1395259ad6
bump-*-pr: check existing PRs for exact file match
2021-01-07 09:15:42 -08:00
Mike McQuaid
8af4895479
Improve submitted analytics data
...
- Use default `custom-prefix` label on macOS ARM (as `/usr/local` is
not the default).
- Add architecture (or Rosetta) to analytics event label.
- Don't send minor versions on Big Sur.
- Remove defunct `HOMEBREW_OSX_VERSION` reference.
2021-01-07 09:28:40 +00:00
Mike McQuaid
a1c97c8f3b
utils/git: quieter git --version.
...
Let's avoid printing this unless `--debug` (to avoid
`brew bundle check -v` outputting this).
Fixes https://github.com/Homebrew/homebrew-bundle/issues/865
2021-01-06 08:51:11 +00:00
Seeker
8828b4bd68
utils/ast: add stanza_text
helper function
2021-01-03 22:26:19 -08:00
Markus Reiter
e5d656bcce
Avoid unnecessary downloads in audit
.
2021-01-02 11:09:01 +01:00
Seeker
6f606b4e58
bottle: check actual bottle block contents when --keep-old
2020-12-31 09:52:24 -08:00
Seeker
24636d8bea
utils/ast: cleanup
...
- move `add_bottle_stanza!` from `Utils::Bottles` to `Utils::AST`
- add `replace_bottle_stanza!`
- simplify parameters
2020-12-29 03:40:39 -08:00
Mike McQuaid
4c1b2630dc
Fix sorbet errors.
2020-12-28 13:34:07 +00:00
Mike McQuaid
879589583d
Merge pull request #10095 from hyuraku/add-options-to-search
...
search: add two options
2020-12-28 13:21:10 +00:00
Rylan Polster
27ffa4e6e0
audit: fix prerelease audit
2020-12-24 13:55:16 -05:00
Rylan Polster
cb8e9a695f
Merge pull request #10087 from Rylan12/migrate-shared-audit-exceptions
...
audit: migrate shared audits to taps
2020-12-23 16:36:42 -05:00
hyuraku
0b574eff90
search: add two options
2020-12-23 23:06:02 +09:00
Seeker
aaf7bc2bc5
utils: add AST helper functions for editing formulae
2020-12-22 22:05:23 -08:00
Rylan Polster
da29827a87
audit: cleanup shared audit exception handling
2020-12-22 10:51:29 -05:00
Rylan Polster
ec4fe89a94
audit: migrate shared audits to taps
2020-12-21 14:45:02 -05:00
Markus Reiter
f47c1eae32
Merge pull request #10053 from miccal/shared-audits-update
...
shared_audits: add xit to GITHUB_PRERELEASE_ALLOWLIST
2020-12-20 09:19:29 +01:00
miccal
aad02c4524
shared_audits: add xit to GITHUB_PRERELEASE_ALLOWLIST
2020-12-20 07:15:46 +08:00
Sam Ford
e687774e8a
Curl: Allow option to omit --retry
in curl_args
2020-12-19 18:11:45 -05:00
Sam Ford
9d92ed868b
Curl: Add debug parameter to curl_with_workarounds
2020-12-19 18:03:27 -05:00
Mike McQuaid
74fb058c7e
More deprecations
...
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00:00
Mike McQuaid
3f2afc0eb2
utils/github: tweak search_code style.
...
As suggested by reitermarkus in
https://github.com/Homebrew/brew/pull/10055#discussion_r545829663
2020-12-18 13:47:57 +00:00
Mike McQuaid
48c0c673f8
Fix GitHub search behaviour change
...
Handle the case where paths are now returned with preceding `/`.
2020-12-18 13:21:06 +00:00
Jonathan Chang
09c3058618
Remove basic authentication support for GitHub.
...
Since we (and GitHub) no longer support password authentication
using non-token passwords, always set the Authorization header,
rather than needlessly checking for a (possibly incorrect) username.
2020-12-17 23:09:22 +11:00
Seeker
78a02e03a9
utils/ruby: silence which
errors when finding ruby
2020-12-15 16:25:50 -08:00
Seeker
85373df30e
Merge pull request #9095 from SeekingMeaning/bottle-ast
...
bottle: add bottle stanza by traversing AST
2020-12-11 09:05:14 -08:00
Mike McQuaid
323fec5032
utils/bottles: install bundler gems if necessary.
2020-12-11 12:26:45 +00:00