Carlo Cabrera
8a169364a8
pr-pull: fix typo
...
Error: tried to create Proc object without a block
Do not report this issue until you've run `brew update` and tried again.
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-pull.rb:372:in `proc'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-pull.rb:372:in `pr_check_conflicts'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-pull.rb:439:in `block in pr_pull'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-pull.rb:429:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-pull.rb:429:in `pr_pull'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:93:in `<main>'
Error: Process completed with exit code 1.
https://github.com/Homebrew/homebrew-core/runs/7634004090?check_suite_focus=true#step:10:15
2022-08-02 22:46:30 +08:00
Michka Popoff
374c3985d6
pr-pull: check for conflicts with long running builds
...
This change will prevent us having to run some long running builds
multiple times and to rely on luck to get things merged without conflicts.
The check takes less than 30 secondes on my local setup.
2022-08-01 23:34:06 +02:00
Alexander Bayandin
4f3a7125ef
bump-formula-pr: even more precise tag replacement
2022-07-22 14:18:33 +01:00
Bo Anderson
e4264c9f35
Replace sorbet-runtime-stub with sorbet-runtime
2022-07-19 23:43:14 +01:00
Bo Anderson
676b88c5c4
dev-cmd/update-test: test against merge-base rather than latest master
2022-07-16 02:28:26 +01:00
danielnachun
b137d4ae00
bottle.rb: make GCC relocatable again
2022-07-11 01:25:16 -07:00
Alexander Bayandin
cfa63e9b86
bump-formula-pr: more precise tag/version replacement
2022-07-06 11:45:19 -04:00
Michka Popoff
0815a4481a
Merge pull request #13494 from Bo98/bottle-dep-fix
...
Fix `Keg.bottle_dependencies` including unneeded build dependencies
2022-06-30 22:26:09 +02:00
Mike McQuaid
22d6af1258
Manual brew style fixes.
2022-06-30 08:56:21 +01:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Bo Anderson
2ddce84225
Remove Keg.relocation_formulae
...
We no longer use any formulae for relocation.
2022-06-30 03:39:29 +01:00
Sam Ford
283ff9e3ad
bump-formula-pr: handle url with specs hash
...
The existing `bump-formula-pr` regexes expect a `url` string to only
be followed by a newline. However, `url` also accepts a `specs` hash,
which can appear after the `url` string. For example:
```
url "https://www.example.com/1.2.3.tar.gz ", using: :homebrew_curl
```
This commit modifies the regexes to capture anything after the `url`
string and before the newline. This works for the aforementioned
example, where the trailing hash is on the same line, but it won't
work if the hash appears on a subsequent line. For example:
```
url "https://www.example.com/1.2.3.tar.gz ",
using: :homebrew_curl
```
2022-06-24 19:26:16 -04:00
apainintheneck
3b65ecaf4c
livecheck: fix path to livecheck watchlist
2022-06-21 17:57:19 -07:00
Bo Anderson
02164a35db
Use ORIGINAL_PATHS over envs; reject nil PATH
2022-06-17 19:47:57 +01:00
Bo Anderson
8ada737d40
Encapsulate ENV["SHELL"] usage
2022-06-17 19:47:57 +01:00
Bo Anderson
40bbdc659e
Fix some Style/FetchEnvVar offences
2022-06-17 19:47:57 +01:00
Bo Anderson
cd73e6bac5
Introduce more Ruby constants for values set by brew.sh
2022-06-17 19:47:57 +01:00
Bo Anderson
0a1762bd14
Use RUBY_PATH and HOMEBREW_RUBY_EXEC_ARGS more universally
2022-06-17 19:47:56 +01:00
Bo Anderson
a2033c397e
Use EnvConfig methods over direct ENV access
2022-06-17 19:47:56 +01:00
Bo Anderson
f5dc7a571f
Fix Style/ObjectThen offences
2022-06-17 19:47:55 +01:00
Rylan Polster
b896f6cb0d
Allow more developer commands with HOMEBREW_INSTALL_FROM_API
2022-06-16 21:31:15 -04:00
Bo Anderson
9d09ae1590
dev-cmd/dispatch-build-bottle: remove --macos and --linux conflict
2022-06-14 00:50:00 +01:00
Bo Anderson
6632a4fd49
dev-cmd/extract: strip out old bottle disable reasons
2022-06-10 20:25:21 +01:00
Kid
721a27d68d
dev-cmd/cat: support setting bat theme via environment variable
2022-06-06 08:44:47 +08:00
Mike McQuaid
bdc32c24cc
Merge pull request #12241 from cho-m/bump-cask-arch-lang
...
bump-cask-pr: bump language checksums in non-running hardware
2022-06-01 16:59:56 +01:00
Mike McQuaid
1bb44979ee
Disable and delete code for 3.5.0
...
The next planned release will be 3.5.0 so let's fix things up for there.
2022-05-30 14:59:14 +01:00
Bo Anderson
cbba6af505
dev-cmd/typecheck: relax typing for msgpack
2022-05-30 02:39:13 +01:00
Bo Anderson
318506460f
dev-cmd/typecheck: don't generate RBI for sorbet-static-and-runtime
2022-05-28 04:10:42 +01:00
Bo Anderson
85e75a1e27
dev-cmd/typecheck: don't ignore subprocess exit codes on --update
2022-05-28 04:06:34 +01:00
Mike McQuaid
6d0bf18d7f
Merge pull request #13237 from apainintheneck/tests-changed-option
...
'brew tests --changed' supports changed test files
2022-05-04 14:34:59 +01:00
apainintheneck
489d38324b
'brew tests --changed' supports changed test files
2022-05-03 01:04:22 -07:00
Bo Anderson
2ca517c79a
dev-cmd/typecheck: add --all switch
2022-05-02 21:03:02 +01:00
Sean Molenaar
506337e76d
Merge pull request #13196 from SMillerDev/feature/pr-pull/casks_checksum
2022-04-27 12:30:32 +02:00
Sean Molenaar
9a25a1d5e1
pr-pull: add checksum update clause
2022-04-26 08:57:29 +02:00
Sean Molenaar
05eafa5cac
pr-automerge: allow users to specify a workflow for pr-publish
2022-04-25 20:29:35 +02:00
Mike McQuaid
add2991d4f
Merge pull request #13147 from pmrowla/update-python-resources-env
...
bump-formula-pr: expose update-python-resources CLI flags
2022-04-22 14:23:15 +01:00
Peter Rowlands
e794b913c8
bump-formula-pr: expose update-python-resources CLI flags
2022-04-21 16:12:37 +09:00
Mike McQuaid
2d9bfc62be
Merge pull request #13158 from apainintheneck/tests-changed-switch
...
Added --changed option to "brew tests" dev cmd
2022-04-19 19:11:51 +01:00
apainintheneck
b7d88225bb
Added --changed option to "brew tests" dev cmd
...
This option allows the user to run tests on all
files that have been changed from the master
branch.
2022-04-19 09:53:45 -07:00
Issy Long
63742cd480
dev-cmd/bump-formula-pr: Escape .
s in hostnames in regexps
...
> This regular expression has an unescaped '.' before 'apache.org/dyn/closer', so it might match more hosts than expected.
2022-04-15 15:36:46 +01:00
Mike McQuaid
6745bb2b34
Merge pull request #13120 from hyuraku/dev-cmd/edit_arrange_error_message_of_brew-edit-cask
...
arrange error message of 'brew edit --cask'
2022-04-12 10:11:34 +01:00
EricFromCanada
415f05ca31
bump: resume checking for TLS 1.3 support
...
macOS 12.3's shipping curl now supports TLS 1.3.
2022-04-11 22:59:33 -04:00
hyuraku
47699614fd
repair the command option
2022-04-12 08:39:03 +09:00
hyuraku
f8a05b7338
arrange error message of 'brew edit --cask'
2022-04-11 22:31:44 +09:00
Bo Anderson
0c0cdf8105
dev-cmd/audit: fix error with --installed
2022-04-08 19:10:20 +01:00
Sean Molenaar
d62558aa68
Merge pull request #12692 from SMillerDev/feature/pr-pull/casks
...
pr-pull: allow casks to be pulled
2022-04-04 16:02:51 +02:00
Sean Molenaar
0ec9cf721c
pr-pull: fix trailing whitespace
2022-04-04 14:19:39 +02:00
Sean Molenaar
08341d1c8b
pr-pull: whitespace fix
2022-04-04 14:14:00 +02:00
Sean Molenaar
0d8a3d8041
pr-pull: fix style
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-04-04 13:24:05 +02:00
Michael Cho
7dd3b04979
bump-cask-pr: bump language checksums in non-running hardware
2022-04-03 17:03:06 -07:00