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
Bo Anderson
04f6f53b58
dev-cmd/pr-pull: avoid expensive search API calls
2022-09-03 21:19:37 +01:00
Mike McQuaid
af6165aab7
Automate sponsors updates
...
- Add sponsors updating to the existing man/completion/maintainer update workflow
- Hide/deprecated --fail-if-not-changed arguments and make them default behaviour
- Rename man-completions workflow to sponsors-maintainers-man-completions for consistency
- Make output and exit codes more consistent between these updating commands
- Fix maintainers updates not always being committed correctly
2022-09-02 08:24:33 +01:00
Bo Anderson
abfbb46678
Freeze formula definition once first instance is created
2022-08-31 20:40:42 +01:00
Bo Anderson
15280ba107
test: avoid improper, late usage of formula DSL
2022-08-31 20:40:39 +01:00
Bo Anderson
93647e5c98
requirement: require instances to use a subclass
2022-08-31 19:17:55 +01:00
Carlo Cabrera
55f27b932a
Merge pull request #13715 from carlocab/python-site-packages
...
cleanup: handle Python `site-packages` directories
2022-08-31 21:08:14 +08:00
Carlo Cabrera
c6428d9def
Add tests for cleanup_python_site_packages
.
2022-08-31 16:26:54 +08:00
Sean Molenaar
86f011cefb
Cask: automatically add cask audits
2022-08-29 11:28:20 +02:00
Rylan Polster
98999cc510
Merge pull request #13754 from Rylan12/cask-artifacts-hash
...
Include dsl key in cask artifact hash
2022-08-26 23:03:25 -04:00
Bo Anderson
768eb1d51a
test/formula_spec: stub Tap#versioned_formulae_names
2022-08-25 16:13:24 +01:00
Rylan Polster
5c7e7eebe4
Condense artifact entries
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-25 10:24:30 -04:00
Mike McQuaid
61db6207d8
Merge pull request #13577 from iMichka/glibc-install
...
install glibc/gcc automatically if too old.
2022-08-25 11:54:19 +01:00
Michka Popoff
d271614872
install glibc/gcc automatically if too old.
...
Right now this is done through the gcc@5 formula.
See 9692318ca6/Formula/gcc%405.rb (L33)
This is fragile because when we will migrate to gcc@11
we have to think about migrating the installation from one gcc formula to another..
Also, not having the right glibc version results in a non-functional brew
installation on an older Linux: the glibc installation needs
to be done by brew, and not by a workaround in a specific formula
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
Co-Authored-By: Bo Anderson <mail@boanderson.me>
Co-Authored-By: Shaun Jackman <sjackman@gmail.com>
2022-08-25 11:04:37 +01:00
Rylan Polster
90d22bc7b1
Include dsl key in cask artifact hash
2022-08-25 03:04:48 -04:00
Rylan Polster
1c54e915b6
Update cask rubocops to use on_arch blocks and sha256 arm:, intel:
2022-08-25 00:49:28 -04:00