1012 Commits
Author SHA1 Message Date
XuehaiPan 0331cbeda3 utils/shfmt.sh: use utils/shfmt.sh as shell script formmatter 2021-11-08 20:57:52 +08:00
EricFromCanada c952ea7358 bump: fix tests 2021-10-25 15:55:11 -04:00
Rylan Polster fa4bb7d74a Refactor audit exception handling 2021-10-21 21:11:05 -04:00
Bo Anderson 2d539bc6af utils/curl: don't use --cookie-jar to enable cookie engine
Fixes #12293.
2021-10-21 22:52:20 +01:00
Bevan Kay 55d9e88a14 Mirror --write-only behaviour to cask, fix incorrect arg reference 2021-10-20 22:40:08 +11:00
Mike McQuaid 9b5f191db1 Merge pull request #12236 from knksmith57/support-custom-google-analytics-id-override
feat: support user-configured Google Analytics reporting
2021-10-20 10:42:03 +01:00
EricFromCanada 811d0fa0bd bump: add option to retrieve a subset of results
Plus a few fixes for output.
2021-10-19 20:14:39 -04:00
Kyle Smith 7866a4b586 feat: support user-configured Google Analytics reporting
Allow users to set a custom Google Analytics tracking ID to report user behaviour
via new environment variable: $HOMEBREW_ADDITIONAL_GOOGLE_ANALYTICS_ID.

If provided, this tracking ID will be used _in addition to_ the default tracking
ID used by <https://brew.sh/analytics/>.
2021-10-19 10:49:43 -05:00
Bevan Kay 70ac4d70d2 audit: extend cloudflare https audit exception regex 2021-10-11 15:52:37 +11:00
Bo Anderson c6d27823ea Merge pull request #12206 from Bo98/vendor-gems-fix
utils/git: remove external dependency loading
2021-10-07 17:41:22 +01:00
Xuehai PanandMike McQuaid 2d89e7d24e utils/shfmt.sh: apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-07 22:16:57 +08:00
Bo Anderson 36a57aa738 utils/git: remove external dependency loading 2021-10-07 14:51:52 +01:00
XuehaiPan 3113bf7158 utils/shfmt.sh: redirect differences to stderr 2021-10-07 19:48:53 +08:00
XuehaiPan 735eb78601 utils/shfmt.sh: success with auto-fixable changes on brew style --fix 2021-10-07 19:43:03 +08:00
Mike McQuaid 7ec024e090 utils/git: require formula.
This is currently causing `brew vendor-gems` to fail.
2021-10-07 11:23:55 +01:00
Mike McQuaid 96e060056f Merge pull request #12196 from Rylan12/release-notes-api
Use GitHub API to generate release notes
2021-10-07 11:22:21 +01:00
Carlo Cabrera 7dabb465b3 system_config: don't print path to curl shim
See discussion at #12191.
2021-10-06 23:58:04 +08:00
Rylan Polster 4f1bbf003a Use GitHub API to generate release notes 2021-10-05 14:43:17 -04:00
Bo Anderson 03a72760ef utils/curl: add comment detailing options handling 2021-10-05 13:24:29 +01:00
Bo Anderson c6cddacc5e utils/curl: fix false flag handling 2021-10-04 18:17:00 +01:00
Bo Anderson 73a1ff82d2 utils/curl: fix flag handling 2021-10-04 17:44:51 +01:00
Bo Anderson ebc0783c5f Merge pull request #12167 from Bo98/brewed-curl-old-macos
Install and use Homebrew's `ca-certificates` on macOS <= 10.15.5
2021-10-04 05:29:57 +01:00
Bo Anderson 30b24cf4ad Use HOMEBREW_CURL universally, including formulae 2021-10-04 02:03:04 +01:00
Bo Anderson 1952d27ba2 Install and use Homebrew's ca-certificates on macOS <= 10.15.5 2021-10-03 17:52:10 +01:00
Mike McQuaid 41e94afda5 Fix brew style
Fixes for https://github.com/Homebrew/brew/pull/12152.

Extracted into a separate PR so this can be merged immediately.
2021-09-30 10:13:53 +01:00
XuehaiPan 8edc69e205 utils/shfmt.sh: enable coloring only when brewed diffutils is installed 2021-09-28 00:21:21 +08:00
Bo Anderson eb360dbbb0 utils/bottle: fix local JSON handling for bottle rebuilds 2021-09-27 03:44:33 +01:00
Bo Anderson b55498269f Revamp APIs around bottle specifications 2021-09-20 15:02:05 +01:00
XuehaiPan 065c5b79fe utils/shfmt.sh: refactor function align_multiline_if_condition 2021-09-16 23:32:53 +08:00
XuehaiPan d559d3ff46 utils/shfmt.sh: reuse similar code fragments 2021-09-16 23:16:07 +08:00
XuehaiPan c2d5d84b21 Merge remote-tracking branch 'upstream/master' into fix-inconsistent-shell-style 2021-09-16 01:01:49 +08:00
XuehaiPan 09a16bcea1 utils/shfmt.sh: implement checkers for forbidden styles 2021-09-16 00:53:53 +08:00
XuehaiPan 1bb68bda3f utils/shfmt.sh: add function wrap_then_do 2021-09-16 00:07:57 +08:00
XuehaiPan a839d7e5ff utils/shfmt.sh: add function prototypes 2021-09-15 22:12:03 +08:00
XuehaiPan 9efde249c1 style: add shfmt implementation 2021-09-15 22:12:01 +08:00
XuehaiPan 3f96d963f7 style: fix inconsistent code style for shell scripts 2021-09-15 14:59:01 +08:00
XuehaiPan d77d510ce9 brew.sh: alias which as type -P 2021-09-15 02:18:27 +08:00
Mike McQuaid 1a904af264 Merge pull request #12018 from FnControlOption/upgrade-tsort
upgrade: use topological sort to upgrade formulae
2021-09-12 19:26:22 +01:00
XuehaiPan 5c6d2b154f utils/ruby.sh: remove dependency for which command 2021-09-11 15:02:04 +08:00
fn ⌃ ⌥ 0c3e49092c upgrade: use topological sort to upgrade formulae 2021-09-09 13:41:50 -07:00
Sam Ford f88966a8a5 Use curl options where appropriate 2021-09-07 14:13:19 -04:00
Sam Ford d44979fa67 Curl#curl_args: Fix and refactor options 2021-09-07 14:13:17 -04:00
Mike McQuaid 8bac9850f6 Merge pull request #11920 from cho-m/gitlab-released-at-keep-time
audit: gitlab prerelease check keep time/zone
2021-09-07 10:34:34 +01:00
Mike McQuaid 7c37a34cca Merge pull request #11927 from FnControlOption/fetch
fetch: fix `--bottle-tag` when unbottled on host system
2021-09-01 16:08:05 +01:00
FnControlOption 7d0a36752b curl: echo any cookies received on a redirect 2021-09-01 06:32:30 -07:00
FnControlOption b9fc4e36f0 fetch: fix --bottle-tag when unbottled on host system 2021-08-26 14:44:53 -07:00
Michael Cho 3d2d7c93e7 audit: gitlab prerelease check keep time/zone 2021-08-24 20:10:01 -07:00
Michka Popoff 07df4a7e70 Use Homebrew curl for audit and fetch when specified in the formula
Introduce new :using for urls
2021-08-17 13:35:55 +02:00
Rylan Polster 9b2a504207 Fix API fetch methods in Utils::Analytics 2021-08-09 18:39:49 -04:00
Rylan Polster 737dd1654b Refactor API methods 2021-08-06 04:31:27 -04:00