708 Commits

Author SHA1 Message Date
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
Mike McQuaid
e09147fe75 brew style --fix 2020-09-01 14:26:45 +01:00
Dustin Rodrigues
13f0b4706f pypi: add pulumi to the blocklist 2020-08-31 10:09:00 -04:00
Claudia
246db8a134
Capture stdout during popen_write
Fix tests and fulfill intended semantics by having `popen_write`
transparently capture standard output.
2020-08-31 14:04:49 +02:00
Markus Reiter
0129247391 Refuse to install Git if HOMEBREW_TEST_GENERIC_OS is set. 2020-08-29 21:45:51 +02:00
Markus Reiter
d01fe62a9b
Merge pull request #8490 from reitermarkus/document-livecheck-formula
Document `LivecheckFormula`.
2020-08-26 11:35:46 +02:00
Markus Reiter
3777253fbf
Merge pull request #8494 from reitermarkus/document-shared-audits
Document `SharedAudits`.
2020-08-26 11:22:48 +02:00
Markus Reiter
d49bff4ba8 Document LivecheckFormula. 2020-08-26 10:55:39 +02:00
Markus Reiter
d17491bd4c Document Shebang. 2020-08-26 10:54:46 +02:00
Markus Reiter
18a69b660e Document SharedAudits. 2020-08-26 10:53:22 +02:00
Markus Reiter
1359f2e323
Merge pull request #8493 from reitermarkus/document-pypi
Document `PyPi`.
2020-08-26 10:51:02 +02:00
Markus Reiter
456b84e0b4
Merge pull request #8491 from reitermarkus/document-spdx
Document `SPDX`.
2020-08-26 09:40:48 +02:00
Markus Reiter
6a3b9149e0 Document PyPi. 2020-08-26 09:39:51 +02:00
Markus Reiter
8b07c0ef12 Document SPDX. 2020-08-26 09:16:05 +02:00
Markus Reiter
e5a9072422 Document Repology. 2020-08-26 09:11:39 +02:00