Mike McQuaid
af6d995de8
dev-cmd/bump: add switch to open pull requests.
...
This enables the simplification of
https://github.com/Homebrew/actions/blob/master/bump-formulae/main.rb
and exposing this workflow to more Homebrew users.
2022-01-12 17:31:55 +00:00
Mike McQuaid
3a709d36b2
Start process to remove Enumerable
from Formula
and Cask::Cask
.
...
This is the first step to address
https://github.com/Homebrew/brew/issues/11292 .
2022-01-03 14:59:10 +00:00
Mike McQuaid
b09f421027
repology: always use Homebrew curl.
...
This seems to be required even with TLSv1.3 support now.
Also, while we're here, improve the error handling/output.
2022-01-03 13:17:12 +00:00
Steve Peters
d53dab62c9
bump-revision: add --remove-bottle-block option
...
This removes a bottle block for the specified formulae
while bumping the revision.
2021-12-26 03:42:39 -08:00
xxyzz
5f3a69c227
don't skip any language
2021-12-25 15:01:49 +08:00
Rylan Polster
2e6b6ab3a2
Fix style
2021-12-24 21:15:21 -05:00
xxyzz
4cf996bcdf
add comment
2021-12-21 18:01:49 +08:00
xxyzz
fb415a15e9
bump-cask-pr: avoid replacing sha256 twice on multilang cask
...
this script always get `inreplace failed` on cask like firefox because the
default sha256 is replaced twice
2021-12-21 16:12:29 +08:00
Bo Anderson
6e37c67fba
Fix disabled args appearing in documentation.
2021-12-17 02:02:45 +00:00
Mike McQuaid
11c5f8f05a
Improve discovery of some environment variables
...
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:
- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependents
- automatically reinstalling broken dependents
For each of these: let's improve the documentation of the commands
whose behaviour is changed and the environment variables themselves.
2021-11-25 09:10:59 +00:00
XuehaiPan
9ef52080e3
utils: extract common word "for" in reason
2021-11-23 23:59:09 +08:00
XuehaiPan
d749173adc
utils: mark reason
as keyword argument in ensure_formula_installed!
2021-11-23 23:31:22 +08:00
XuehaiPan
3376479e95
utils: add method ensure_formula_installed!
2021-11-23 22:48:39 +08:00
Mike McQuaid
9be410b348
Merge pull request #12465 from XuehaiPan/bat-back-to-cat
...
dev-cmd/cat: auto-install `bat` when running `brew cat ...` with `HOMEBREW_BAT` set
2021-11-23 14:10:28 +00:00
XuehaiPan
c6719e5854
dev-cmd/cat: require "formula" only when necessary
2021-11-23 21:35:44 +08:00
Mike McQuaid
5c0d0effe3
Merge pull request #12459 from FnControlOption/tap-new
...
tap-new: add `--github-packages` switch
2021-11-23 11:55:22 +00:00
XuehaiPan
687dbe5268
dev-cmd/cat: auto-install bat
when running brew cat ...
with HOMEBREW_BAT
set
2021-11-23 15:20:57 +08:00
fn ⌃ ⌥
5657e109af
Apply suggestions from code review
2021-11-22 16:34:47 -08:00
Mike McQuaid
591c67f4e3
Merge pull request #12453 from FnControlOption/extract
...
extract: remove bottle blocks
2021-11-22 12:26:55 +00:00
Mike McQuaid
ef4e329ce4
Merge pull request #12457 from FnControlOption/pr-upload
...
pr-upload: deprecate `--github-org=`
2021-11-22 12:26:23 +00:00
Mike McQuaid
a8429df637
Merge pull request #12458 from FnControlOption/patch-11
...
bump-cask-pr: replace `--write` with `--write-only` in help text
2021-11-22 12:24:18 +00:00
Carlo Cabrera
001bd96fa3
Merge pull request #12454 from carlocab/strict-linkage
...
linkage: add `--strict` flag to detect opportunistic linkage
2021-11-22 20:02:28 +08:00
fn ⌃ ⌥
56724da0b7
tap-new: add --github-packages
switch
2021-11-19 12:35:50 -08:00
fn ⌃ ⌥
c0ca9275f9
bump-cask-pr: replace --write
with --write-only
in help text
2021-11-19 12:14:47 -08:00
fn ⌃ ⌥
93b8fa7838
pr-upload: deprecate --github-org=
2021-11-19 11:48:23 -08:00
fn ⌃ ⌥
8f96ba3c1e
extract: remove bottle blocks
2021-11-19 10:45:30 -08:00
Carlo Cabrera
601bf83fee
linkage: add --strict
flag to detect opportunistic linkage
...
There was a previous discussion about making `brew linkage --test` fail
for unrequested dependencies (#9172 ). I'm not sure what the outcome of
that was, but it still seems like a good idea to try to help us find
cases of opportunistic linkage as they happen rather than when they
cause CI failures in another PR sometime later.
Let's do this by adding a `--strict` flag to `brew linkage --test`. My
intention is for `brew linkage --test --strict` failures to be warnings
rather than errors in CI, which should mitigate some of the concerns
about doing this that were raised in #9172 .
2021-11-19 18:14:38 +08:00
Steve Peters
aa4e39785c
dev-cmd/unbottled: don't skip non-core formulae
...
Related to Homebrew/homebrew-test-bot#705
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
2021-11-18 08:13:44 -08:00
EricFromCanada
dd439b4c11
bump: skip PR check if livecheck does not return a version
2021-11-11 10:02:30 -05:00
fn ⌃ ⌥
7f292fc7d0
bump-cask-pr: use version substring before comma unless they match
2021-11-08 10:07:27 -08:00
Rylan Polster
2537b8d76d
Merge pull request #12375 from Rylan12/fix-audit-args
...
`dev-cmd/audit`: fix cask arg handling
2021-11-08 00:47:57 -05:00
Bo Anderson
38ebaac869
dev-cmd/bottle: fix pkg_version comparison on merge
2021-11-08 03:42:41 +00:00
Rylan Polster
e09139fb47
Clarify comment
2021-11-06 00:59:46 -04:00
Rylan Polster
46f7c8b0b6
Move handling to dev-cmd/audit.rb
2021-11-06 00:51:20 -04:00
Bo Anderson
d4c33634db
dev-cmd/bottle: correct all
rebuild matching logic
2021-11-06 03:44:14 +00:00
Bo Anderson
d2ba21c1b1
dev-cmd/bottle: don't gen all
bottles if a bottle spec already exists
2021-11-05 17:29:18 +00:00
Eric Knibbe
6b38ed834c
Merge pull request #12298 from EricFromCanada/curl-tls13-tests
...
bump: fix tests
2021-10-26 06:39:41 -04:00
danielnachun
e69fbaf357
bottle.rb: fix typo in go regex
2021-10-25 23:21:01 -07:00
EricFromCanada
c952ea7358
bump: fix tests
2021-10-25 15:55:11 -04:00
Dawid Dziurla
fbabb0dad2
Merge pull request #12311 from iMichka/linux
...
pr-automerge: remove linux to homebrew-core label
2021-10-25 12:10:48 +02:00
Bo Anderson
c6dbff43bd
dev-cmd/dispatch-build-bottle: allow an array of macOS runners
2021-10-24 15:09:01 +01:00
Michka Popoff
f96f29f68d
pr-automerge: remove linux to homebrew-core label
...
Merging is done, we don't use this label anymore
2021-10-23 16:48:42 +02:00
Bo Anderson
96815c8e60
Merge pull request #12303 from Bo98/dispatch-build-timeout
...
dev-cmd/dispatch-build-bottle: add --timeout flag
2021-10-22 17:07:44 +01:00
Bo Anderson
dc5edb14c3
dev-cmd/dispatch-build-bottle: add --timeout flag
2021-10-22 16:38:45 +01:00
Rylan Polster
fa4bb7d74a
Refactor audit exception handling
2021-10-21 21:11:05 -04:00
Bo Anderson
4d430e8dd5
dev-cmd/pr-upload: add --upload-only switch
2021-10-21 02:39:27 +01:00
Bevan Kay
55d9e88a14
Mirror --write-only behaviour to cask, fix incorrect arg reference
2021-10-20 22:40:08 +11:00
Michka Popoff
1cc7ca33c0
update: migrate everyone from linuxbrew-core to homebrew-core
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-20 11:01:38 +01:00
Mike McQuaid
144ca4ef61
Merge pull request #12234 from ni-nwoythaler/feature/12230-formula-cask-paths
...
Add `--print-path` flag to `brew edit`
2021-10-20 09:25:19 +01:00
Nathan Woythaler
0b8605bcbe
Add --print-path
flag to brew edit
...
Add a `--print-path` flag to `brew edit`, in order to print the source `.rb`
file of both casks and formulae. In order to prevent faulty reporting, `brew
formula $SOME_CASK` will now error out if a cask matches, but a formula does
not.
2021-10-20 09:04:59 +01:00