Mike McQuaid
49bacd681e
diagnostic: remove some checks.
...
- Some of these are currently failing globally on GitHub Actions.
- Some(/all?) of these predate our use of the macOS sandbox,
environment filtering, PATH filtering and pushing users much harder to
use bottles instead of building from source
- I haven't seen a case for a long time where any of these actually
debugged a user issue. If/when this happens: we can add a given check
back.
- This should allow us to dramatically reduce the amount of cleanup
that `brew test-bot` needs to do on GitHub Actions.
2022-11-29 09:21:34 +00:00
apainintheneck
2601cc410b
Only optimize for the core tap
2022-11-17 21:15:43 -08:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04.
2022-11-09 14:45:43 +00:00
Sean Molenaar
d477d1663a
Service: add method to define a root requirement
2022-11-06 13:52:53 +01:00
Bo Anderson
e7b47bc34e
test: sort metadata alphabetically
2022-11-05 16:51:33 +00:00
Bo Anderson
7d7083d0f3
Universally apply Ruby disable options
2022-11-05 01:58:12 +00:00
Issy Long
6f2f97b98f
test/rubocops/formula_desc: Ensure autocorrect when desc
ends in .
...
- This was another thing that I should have done in PR 3411 in 2017,
tested that the regex for autocorrecting `desc` stanzas ending in full
stops actually worked. At least I'm getting to it now.
2022-11-03 23:13:19 +00:00
Issy Long
f3d43110b5
test/rubocops/formula_desc: Ensure that desc
allows ending with etc.
...
- This was funny (and embarrassing), I was looking at my first contributions to
Homebrew since someone asked me how long I'd been involved.
- Turns out that in 2017 I improved the formula description RuboCop rule to
allow descriptions to end with `etc.` in
https://github.com/Homebrew/brew/pull/3411 . Apparently I didn't have time
back then to write a test for it. So now I will remedy this 5 years later.
2022-11-03 22:25:07 +00:00
Ian Gregory
a715dec49d
Add --adopt
switch
...
Allows `brew install` & co. to adopt existing cask artifacts that are
identical to those being installed.
Discussion: #14006
2022-10-21 23:28:51 -04:00
Bo Anderson
4f4747cf98
Merge pull request #14014 from Bo98/ruby3-part2
...
Additional fixes for Ruby 3 compatibility
2022-10-20 16:17:01 +01:00
Mike McQuaid
bfd2263425
integration_test: fix Bundler deprecation.
...
Otherwise in some configurations some tests will fail.
2022-10-20 13:33:27 +01:00
Mike McQuaid
416af82670
macOS Ventura (and related) test fixes
...
- fix `check_for_config_scripts` test, no idea why this wasn't working
- don't autoretry tests if `focus` or `byebug` are enabled
- add a ARM64 Ventura bottle symlink
2022-10-20 11:28:27 +01:00
Bo Anderson
eac32f0b20
Additional fixes for Ruby 3 compatibility
2022-10-18 01:54:59 +01:00
Bo Anderson
9b99594753
Preliminary compatibility fixes for Ruby 3
2022-10-11 02:53:27 +01:00
Dawid Dziurla
38026e6d8d
test: update for default.target
2022-10-07 20:22:13 +02:00
Bo Anderson
af234779af
test: support non-master init.defaultbranch
2022-10-07 18:44:03 +01:00
Mike McQuaid
c49f2e8b4c
Merge pull request #13941 from apainintheneck/default-no-casks-on-linux
...
Warn linux users about using --cask
2022-10-04 09:39:28 +01:00
apainintheneck
a178fc6a88
Cleanup no cask on linux specs
2022-10-02 08:51:17 -07:00
apainintheneck
5d27b70757
Set --formula by default on linux
2022-10-01 17:28:07 -07:00
apainintheneck
020c50e588
Warn linux users about using --cask
2022-10-01 16:11:39 -07:00
Sam Ford
40b0070beb
Modify comments and other text
...
The `check_for_resources` code arguably speaks for itself, so it
doesn't feel like a necessary addition. Besides that, this cleans up
some other comments and text to better align with existing examples.
2022-09-27 00:18:20 -04:00
Mohammad Zain Abbas
42d8c852ae
Merge branch 'Homebrew:master' into mohammad
2022-09-25 03:09:36 +02:00
Mohammad Zain Abbas
03c372ef52
Minor fixes
2022-09-25 02:06:23 +02:00
Rylan Polster
f66b5ff208
Include test deps when loading a formula from the API
2022-09-21 02:53:58 -04:00
Mohammad Zain Abbas
5b1397d44d
Merge branch 'Homebrew:master' into mohammad
2022-09-18 02:48:29 +02:00
Sean Molenaar
67c6cae6a0
Merge pull request #13857 from SMillerDev/feature/cask/auto_audit
...
Cask: automatically add cask audits
2022-09-15 16:27:07 +02:00
Sean Molenaar
f049e90e41
audit_spec: style fix
2022-09-15 15:33:25 +02:00
Sean Molenaar
5697ca79b1
audit_spec: limit stanza check
2022-09-15 15:27:43 +02:00
Mike McQuaid
1b3f5980be
Merge pull request #13839 from apainintheneck/no-autoremove-build-deps-when-built-from-src
...
autoremove: ignore build deps when built from src
2022-09-14 13:10:14 +01:00
apainintheneck
f068f74f55
Move autoremove code to util and add tests
2022-09-13 23:23:48 -07:00
Mohammad Zain Abbas
e058da1706
Merge branch 'master' into mohammad
2022-09-14 05:19:50 +02:00
Sean Molenaar
ff54095b8a
Cask: automatically add cask audits
...
This reverts commit 16618374653dc5461dd971e8ed1992188cc3803d.
2022-09-13 11:19:33 +02:00
Mike McQuaid
7349c2b996
brew style --fix
2022-09-13 09:43:09 +01:00
Mike McQuaid
c7bd51b995
Merge pull request #13844 from troymccabe/feature/13834-brew-docs-cmd
...
Adds `brew docs` to close #13834
2022-09-12 14:54:29 +01:00
Troy McCabe
ac9a96874e
Adds brew docs
to close #13834
2022-09-11 22:10:37 -05:00
Mike McQuaid
04dfb9d4b8
Merge pull request #13820 from MikeMcQuaid/update-update-sponsors
...
update-sponsors: don't require admin token.
2022-09-08 11:14:49 +01:00
Bo Anderson
b6e3b146b2
test/dev-cmd/audit_spec: use eq
instead of match
2022-09-07 20:36:09 +01:00
Mike McQuaid
bc295f7947
update-sponsors: don't require admin token.
...
Instead, use a different API to query these with a lower scope.
This should be usable by GitHub Actions.
2022-09-07 16:49:41 +01:00
Rylan Polster
89cb768055
Merge pull request #13553 from max-ae/generate-completions-dsl-rubocop
...
rubocop: generate_completions DSL
2022-09-06 12:09:46 -04:00
Shaun Jackman
aa5f6a7ccd
Fix test/unpack_strategy/zstd for Ubuntu 22.04
2022-09-06 14:16:17 +01:00
Shaun Jackman
b9e1a51266
test: Update tests that mock gcc@5
2022-09-06 14:16:16 +01:00
Max Eisner
2946752083
extend tests
2022-09-06 14:42:03 +02:00
Max Eisner
7380f58173
extend tests
2022-09-06 14:42:03 +02:00
Max Eisner
3db65e7ee5
move tests to own specs file
2022-09-06 14:42:02 +02:00
Max Eisner
cf84800939
fix style
2022-09-06 14:42:01 +02:00
Max Eisner
4e286ee36d
fix test
2022-09-06 14:42:01 +02:00
Max Eisner
45d1c70559
add test
2022-09-06 14:42:01 +02:00
Mike McQuaid
1661837465
Revert "Cask: automatically add cask audits"
2022-09-06 11:46:40 +01:00
Mike McQuaid
e2759fbdff
Deprecate reading all formulae through commands
...
We added the `--all` flag (now renamed to `--eval-all`) for various
commands for this behaviour so let's start deprecating this.
Also, introduce a `HOMEBREW_EVAL_ALL` environment variable to use the
existing, less secure, behaviour by default and avoid passing
`--eval-all` everywhere.
2022-09-05 13:57:22 +01:00
Mike McQuaid
997fd648ce
Merge pull request #13788 from Homebrew/sponsors
...
Automate sponsors updates
2022-09-05 12:07:31 +01:00