Mike McQuaid
2a5d41d41b
Revert "Merge pull request #14547 from Homebrew/revert-14412-homebrew_install_from_api_default"
...
This reverts commit f4e60482791d2ff628efadfdbf0d14d9237d2d29, reversing
changes made to e26784f424061ca16987afcb21e036c66a298492.
2023-02-07 19:25:40 +01:00
Mike McQuaid
932d2cf3b7
Merge pull request #14548 from Homebrew/revert-14382-deprecate-disable-remove
...
Revert "Add deprecations and disables"
2023-02-07 19:11:26 +01:00
Mike McQuaid
f4e6048279
Merge pull request #14547 from Homebrew/revert-14412-homebrew_install_from_api_default
...
Revert "HOMEBREW_INSTALL_FROM_API: make the default for everyone."
2023-02-07 19:11:14 +01:00
hyuraku
ddf4d6af79
repair style
2023-02-07 23:53:09 +09:00
hyuraku
853421e968
repair setup_tar_and_args! method
2023-02-07 23:45:09 +09:00
hyuraku
ade7118057
add new method: gnutar_args
2023-02-07 23:22:33 +09:00
hyuraku
ec1a1566bc
separate setup_tar_and_args method
2023-02-07 23:22:33 +09:00
hyuraku
fde7ca31b8
add alias generic_formula_ignores formula_ignores
2023-02-07 23:22:33 +09:00
hyuraku
26a615f009
move dev-cmd/bottle methods to extend/os
2023-02-07 23:22:33 +09:00
Mike McQuaid
0575903868
Revert "HOMEBREW_INSTALL_FROM_API: make the default for everyone."
2023-02-07 15:13:23 +01:00
Mike McQuaid
6882ac17e7
Revert "Add deprecations and disables"
2023-02-07 15:13:19 +01:00
Rylan Polster
ce56fc8afd
Remove unecessary message of brew edit
2023-02-06 16:24:34 +01:00
Mike McQuaid
5f6c69bca2
HOMEBREW_INSTALL_FROM_API: make the default for everyone.
...
- remove all places we check the flag so it's a no-op now
- flip the messaging to refer to `HOMEBREW_NO_INSTALL_FROM_API` where
relevant
- adjust the documentation
2023-02-05 18:13:08 +01:00
Mike McQuaid
c1b96e7199
Merge pull request #14382 from MikeMcQuaid/deprecate-disable-remove
...
Add deprecations and disables
2023-02-05 17:56:58 +01:00
Douglas Eichelberger
24e7c2c5bd
Remove active_support Time extensions
2023-02-04 13:51:35 -08:00
Mike McQuaid
59c03cb2a6
Add deprecations and disables
...
Do the usual dance:
- commented `odeprecated` to `odeprecated`
- `odeprecated` to `odisabled`
- `odisabled` removed
2023-02-03 10:48:43 +00:00
Mike McQuaid
41ad2eba15
update-maintainers/manpages: not all PLC are maintainers.
...
So list all maintainers separately.
2023-02-02 17:09:25 +00:00
Douglas Eichelberger
dead4de3fc
Resolve Lint/EmptyBlock todos
2023-01-26 21:18:24 -08:00
Mike McQuaid
97def3c104
install: better error when using API and --HEAD.
...
- Tell people what to do to resolve this
- Tweak the instruction ordering to be consistent elsewhere
2023-01-26 11:08:56 +00:00
Mike McQuaid
46d727b475
HOMEBREW_INSTALL_FROM_API: various improvements.
...
- flip the messaging to refer to `HOMEBREW_NO_INSTALL_FROM_API` where relevant
- remove some duplicate checks
- better scope checks to just core tap formulae
2023-01-25 14:29:35 +00:00
Bo Anderson
142734aec9
dev-cmd/vendor-gems: set SDKROOT for older macOS
2023-01-24 13:24:31 +00:00
apainintheneck
a8ee2b7746
Add closed PR check to bump cmds
...
Currently we only check for closed PRs in
`bump-cask-pr`. This adds that check to `bump`
and `bump-formula-pr`. The idea is that this
check can warn users about already updated
packages or those that can't be updated
easily and should be updated manually instead.
2023-01-20 18:46:07 -08:00
Caleb Xu
e0915a2c34
dev-cmd/bottle: use Utils::Gzip.compress_with_options
2023-01-06 23:04:03 -05:00
Rylan Polster
68bbe03d04
Remove remaining formula_api_path
references
2023-01-06 02:46:21 -05:00
Mike McQuaid
37be5bea52
dev-cmd/edit: handle editing with install_from_api
.
...
Before this change, this would fail every time, even when available on
disk (which was not the case for formulae).
With this change, it will attempt to find it from a tap on disk and only
fail if it cannot be found in any.
2023-01-04 13:51:21 +00:00
Mike McQuaid
585d10fdc8
Merge pull request #14313 from apainintheneck/fix-brew-prof
...
cmd/prof: Fix gem errors
2023-01-02 19:14:03 +00:00
apainintheneck
3a35ea3e28
Set ruby-prof to v1.4.3
...
This is the last version of this gem that supports
Ruby 2.6.x. We can stop passing the explicit version
when we move to a newer version of Ruby.
2022-12-29 12:48:13 -08:00
Carlo Cabrera
819aa09e63
Merge pull request #14296 from chenrui333/fix-audit-for-bump-formula-pr-cmd
2022-12-29 16:14:44 +08:00
Rui Chen
c9274ea34f
audit: use full_name
for cask audit
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-12-28 16:29:33 -05:00
Rui Chen
59cff340ca
use formula.full_name
rather than formula.name
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-12-28 11:08:43 -05:00
Rui Chen
c2a3bffbcd
audit: use formula.name
rather than formula.path
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-12-27 17:29:52 -05:00
apainintheneck
2cbe89102e
Comment out path args deprecation
2022-12-27 14:09:31 -08:00
apainintheneck
c2e8bf3e83
Deprecate path args to audit cmd
...
`brew audit` doesn't work as expected when users
pass in formula/cask paths so we are deprecating it.
2022-12-22 10:00:42 -08:00
Mike McQuaid
77c0d38c35
brew style --fix
2022-12-13 11:37:06 +00:00
Mike McQuaid
4a0e16fbd9
dev-cmd/bottle: use gnu-tar
's --mtime
.
...
This allows us to remove all the manual timestamp fiddling and lets
`gnu-tar` handle it for us instead (as-per the most recent
recommendations on https://reproducible-builds.org/docs/archives/ ).
2022-12-12 16:47:56 +00:00
Eric Knibbe
4fe0d085bc
Merge pull request #14218 from EricFromCanada/create-prompt-name
...
dev-cmd/create: also prompt for name when run with `--cask`
2022-12-06 19:06:05 -05:00
Dawid Dziurla
a4d2aa8fa0
Merge pull request #14210 from dawidd6/bump-check-is-a-version
...
dev-cmd/bump: check if Repology output is a version first
2022-12-06 21:24:56 +01:00
EricFromCanada
8f445de261
dev-cmd/create: also prompt for name with --cask
2022-12-06 13:04:51 -05:00
Bevan Kay
74092bc40d
Update Library/Homebrew/dev-cmd/audit.rb
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-06 20:50:00 +11:00
Bevan Kay
839746cf99
dev-cmd/audit: enable --[no]-signing flag for audits
2022-12-06 11:00:59 +11:00
Dawid Dziurla
33f5c41cd2
dev-cmd/bump: check if Repology output is a version first
2022-12-05 16:20:35 +01:00
Dawid Dziurla
b8a505d0d8
Merge pull request #14190 from dawidd6/bump-favor-livecheckable
...
dev-cmd/bump: don't use Repology version if livecheckable
2022-12-05 16:00:56 +01:00
Dawid Dziurla
84795bdd02
dev-cmd/bump: don't use Repology version if livecheckable
2022-11-30 10:14:26 +01:00
apainintheneck
00990e34a7
Merge branch 'master' into create-cop-for-os-checks
2022-11-29 23:14:15 -08:00
apainintheneck
c477b9aab3
Cleanup after adding os specific rubocop
...
- Change name of rubocop warning
- Disable linting on remaining offending lines
- Add todos to move lines with disabled linting
checks to extend/os in the future
2022-11-29 23:13:50 -08:00
Issy Long
c37601f585
dev-cmd/bump-{cask,formula}-pr: args.message
is before the default
...
- I was wondering why `brew bump` PRs have descriptions with both commands, like:
```
Created with `brew bump`.
---
Created by `brew bump-formula-pr`.
```
- Then I read the code and realised that "append" was the wrong word for the
`--message` arg description.
2022-11-19 23:03:23 +00:00
Mike McQuaid
efa04015a1
Merge pull request #14149 from danielbayley/dev-cmd-ruby
...
dev-cmd/`ruby`: add `--version`
2022-11-16 13:39:49 +00:00
Daniel Bayley
4bf2b3df4a
dev-cmd/ruby
: add --version
2022-11-16 13:09:31 +00:00
Bo Anderson
bca9eb05d1
dev-cmd/unbottled: simulate target tag
2022-11-16 00:07:31 +00:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04.
2022-11-09 14:45:43 +00:00