1222 Commits

Author SHA1 Message Date
Mike McQuaid
762b35bbc8
Merge pull request #12438 from carlocab/actions-annotations
utils/github/actions: support notices and new annotation parameters
2021-11-16 12:10:30 +00:00
Carlo Cabrera
6795a88520
utils/github/actions: support notices and new annotation parameters
GitHub Actions annotations also suport a "notice" annotation type. You
can also set the title of an annotion, and the set `endLine` and
`endColumn` parameters.

See https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
2021-11-16 14:44:43 +08:00
fn ⌃ ⌥
dddce0de74 Style fixes 2021-11-15 10:49:07 -08:00
fn ⌃ ⌥
e6e730f49d update-python-resources: skip dependencies of excluded packages 2021-11-14 03:52:44 -08:00
XuehaiPan
50cde98fd3 utils/shfmt.sh: allow single line if blocks 2021-11-12 19:57:32 +08:00
XuehaiPan
391e7e22f8 utils/shfmt.sh: add != and =~ to within test regex 2021-11-12 19:57:28 +08:00
XuehaiPan
2345a34095 utils/shfmt.sh: rename regex variables 2021-11-12 19:29:09 +08:00
Caleb Xu
333f44f84e
github: use system_command when pushing bump PR 2021-11-10 12:42:14 -05:00
EricFromCanada
093e6e11da
svn: add flags if needed for :trust_cert or remote_exists? 2021-11-09 13:56:40 -05:00
Bo Anderson
d0f6f7d52b
Require Ruby 2.6.8 2021-11-08 18:39:21 +00:00
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 Pan
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