1222 Commits

Author SHA1 Message Date
Nanda H Krishna
13d14e64cd
Merge pull request #8624 from nandahkrishna/tty-fix
utils/tty: handling a TTY stderr
2020-09-17 19:48:47 +05:30
Jonathan Chang
3a8bd8514f utils/git: add cherry-pick function 2020-09-17 17:27:38 +10:00
Jonathan Chang
49d2e4cbab utils/git: modernize 2020-09-17 17:27:38 +10:00
nandahkrishna
c1909e80b4
utils/tty: fix TTY handling for stderr 2020-09-17 04:18:13 +05:30
Markus Reiter
01e46966e5 Set Accept-Language header for all curl requests. 2020-09-15 19:01:39 +02:00
Dawid Dziurla
14741e3681
Merge pull request #8410 from dawidd6/github-releases
Support bottle uploads to GitHub Releases
2020-09-15 11:59:35 +02:00
Markus Reiter
2f25e1f03e Strip escape codes from annotations. 2020-09-13 23:45:28 +02:00
Markus Reiter
b27dc174fd
Merge pull request #8714 from reitermarkus/url-incapsula
Ignore URLs protected by Incapsula.
2020-09-13 02:56:06 +02:00
Markus Reiter
753b9fdbd3
Merge pull request #8713 from reitermarkus/toggl-track-prerelease
Allow `toggl-track` to be a pre-release.
2020-09-13 02:41:02 +02:00
Markus Reiter
f21591fd65 Ignore URLs protected by Incapsula. 2020-09-13 02:25:31 +02:00
Markus Reiter
94a306def6 Allow toggl-track to be a pre-release. 2020-09-13 01:14:16 +02:00
Markus Reiter
8cfa050158 Check for CloudFlare protection on status code 403. 2020-09-12 21:33:39 +02:00
Dawid Dziurla
f6601cee10
Support bottle uploads to GitHub Releases
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-09-12 13:03:39 +02:00
Mike McQuaid
fb4d08a49a Fix brew style 2020-09-11 10:29:22 +01:00
Markus Reiter
172bf76d74 Pass verbosity options to curl in download strategies. 2020-09-10 23:50:24 +02:00
Markus Reiter
16acd08d0a Don't override global system_command methods in download strategies. 2020-09-10 23:39:19 +02:00
Markus Reiter
d8905d5a33
Merge pull request #8671 from reitermarkus/audit-annotations
Output annotations for `brew cask audit` (again).
2020-09-10 02:01:01 +02:00
Dawid Dziurla
7500b1cc97
Merge pull request #8459 from dawidd6/bintray-no-raw-json
bintray: don't output raw JSON
2020-09-09 22:26:01 +02:00
Markus Reiter
456e674cd8
Merge pull request #8654 from reitermarkus/rspec-github-actions
Improve RSpec annotations.
2020-09-09 21:54:29 +02:00
Markus Reiter
769fa066e2 Output annotations for brew cask audit. 2020-09-09 21:50:32 +02:00
Dawid Dziurla
4b6318b2ad
curl: allow passing print_stdout parameter 2020-09-09 18:01:48 +02:00
Seeker
e0645f3950 cask/audit: detect tag from URL 2020-09-09 08:57:56 -07:00
Markus Reiter
196d7badfa Improve RSpec annotations. 2020-09-09 10:24:20 +02:00
miccal
c22c6c4a93 Remove cbmc from GITHUB_PRERELEASE_ALLOWLIST 2020-09-09 05:27:18 +08:00
Seeker
be92ef2889 utils/git: add origin_branch 2020-09-08 08:26:05 -07:00
Seeker
15af7189eb utils: add tar
Includes `validate_file` method to be used by `bump-formula-pr`
2020-09-08 07:08:07 -07:00
miccal
f2ff0c21ba Add pock to GITHUB_PRERELEASE_ALLOWLIST 2020-09-08 12:06:26 +08:00
Dustin Rodrigues
c992163c46
Merge pull request #8626 from dtrodrigues/pypi-downcase
utils/pypi: downcase name prior to excluding
2020-09-05 18:53:25 -04:00
Markus Reiter
9e0a26a2fc
Merge pull request #8612 from reitermarkus/audit-cloudflare-protection
Ignore URLs protected by CloudFlare when auditing.
2020-09-06 00:25:59 +02:00
Dustin Rodrigues
33de853b99
Merge pull request #8625 from dtrodrigues/gitlab-release
shared_audits: ensure GitLab API response is valid
2020-09-05 14:54:18 -04:00
Dustin Rodrigues
fc9d715f71 utils/pypi: downcase name prior to excluding 2020-09-05 14:37:34 -04:00
Dustin Rodrigues
6a0f2b663d shared_audits: ensure GitLab API has successful response 2020-09-05 14:32:23 -04:00
Markus Reiter
b2b37894f7
Reword comment.
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-09-05 20:26:18 +02:00
Markus Reiter
d0094d8bda Add GITHUB_FORK_ALLOWLIST. 2020-09-05 19:09:07 +02:00
Markus Reiter
f83ca9bbb3
Merge pull request #8618 from reitermarkus/curl-workaround-everywhere
Use `curl` workarounds for both `curl` and `curl_output`.
2020-09-05 19:00:16 +02:00
Markus Reiter
1858dab31f Add SharedAudits::gitlab_release. 2020-09-05 18:23:05 +02:00
Markus Reiter
36a8a823a1 Use curl workarounds for both curl and curl_output. 2020-09-05 10:42:35 +02:00
Markus Reiter
94a2da5297 Add amd-power-gadget to GITHUB_PRERELEASE_ALLOWLIST. 2020-09-05 05:54:10 +02:00
Markus Reiter
5f7c814593 Move more common code into SharedAudits. 2020-09-05 05:50:24 +02:00
Markus Reiter
803234d381 Ignore URLs protected by CloudFlare when auditing. 2020-09-05 04:10:25 +02:00
Seeker
51d167c122 utils/github: add create_bump_pr 2020-09-04 13:39:15 -07:00
Issy Long
c92ba20be3
utils/github: Fix 'uninitialized constant Utils::Shell'
- I tried `brew pr-publish` on Linux (as we don't have an auto-merge
  Action over there) and it failed with the following error:

```
Error: uninitialized constant Utils::Shell
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:69:in `initialize'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:278:in `exception'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:278:in `raise'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:278:in `raise_api_error'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:228:in `open_api'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:464:in `workflow_dispatch_event'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-publish.rb:43:in `block in pr_publish'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-publish.rb:33:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-publish.rb:33:in `pr_publish'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'
```
2020-09-03 10:24:09 +01:00
Maxim Belkin
a6d29894d9 cleanup: fix and reuse portable ruby logic.
Align the logic in `cleanup_portable_ruby` with that in `ruby.sh`.

Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-09-03 09:43:41 +01:00
Sean Molenaar
742b3faaa4
Merge pull request #8351 from SMillerDev/audit/pre_release
add cask pre-release check
2020-09-02 22:00:39 +02:00
Mike McQuaid
8604cdb15a
Merge pull request #8541 from claui/fix-patch-stdout
Return standard output in `popen_write`
2020-09-02 17:48:12 +01:00
Claudia
09d7889ed8
Extract constant IO_DEFAULT_BUFFER_SIZE 2020-09-02 18:15:51 +02:00
Markus Reiter
ebd4ce467c Output GitHub Actions annotations for brew style. 2020-09-02 16:44:16 +02:00
Sean Molenaar
0279dda595
add cask pre-release check 2020-09-02 15:47:12 +02:00
Seeker
5acdcd26d0 formula: rename installed_prefix to latest_installed_prefix 2020-09-01 09:32:32 -07:00
Mike McQuaid
8b97c27c21 brew style manual fixes 2020-09-01 14:26:45 +01:00