26315 Commits

Author SHA1 Message Date
apainintheneck
353fe2d322 Update brew ls to work when the cellar doesn't exist 2022-08-13 12:21:14 -07:00
BrewTestBot
891d0cfc72
spdx: update license data.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml).
2022-08-13 00:13:41 +00:00
BrewTestBot
95356dd9dd
brew vendor-gems: commit updates. 2022-08-12 18:11:23 +00:00
dependabot[bot]
399631fced
build(deps): bump rubocop from 1.34.1 to 1.35.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.34.1 to 1.35.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.34.1...v1.35.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12 18:04:47 +00:00
Carlo Cabrera
98a53e4781
language/python: support python3 from PATH in #detected_python_shebang
Some formulae are flexible about the version of Python3 that they use.
However, when we use `#detected_python_shebang` on these formulae, they
become coupled to the specific version of Python3 declared in the
formula.

This is harmful because
1. it prevents us from using `uses_from_macos "python"` even in formulae
   where we should be able to
2. it forces us to rebuild the formula whenever we make changes to the
   Python dependency when nothing but the shebang would have changed as
   a consequence of the rebuild

For an example of this, see Homebrew/homebrew-core#107905.

I'd also like to do this to get rid of some really terrible hacks we
have in `glib-utils` as a means of decoupling `glib` from the specific
versioned Python dependency it used to have.

See Homebrew/homebrew-core#103916, or Homebrew/homebrew-core#106045 for
a proposal to give the same treatment to `gobject-introspection`.
2022-08-13 01:11:09 +08:00
Rylan Polster
dac54fbbfb
Merge pull request #13536 from max-ae/generate-completions-dsl
Formula: add DSL to generate completions
2022-08-12 10:39:37 -04:00
Rylan Polster
e30b2a173c
Merge pull request #13688 from Rylan12/fix-bump-cask-pr
`bump-cask-pr`: fix `sha256` replacement with `arch`
2022-08-12 10:04:50 -04:00
Mike McQuaid
a73a1a665e
Merge pull request #13608 from lukaso/debug-symbols
Support for `--debug-symbols` for macos
2022-08-12 10:05:32 +01:00
Mike McQuaid
04ff6a18f4
Tweak --debug-symbols description. 2022-08-12 09:34:51 +01:00
Rylan Polster
8fb03838db
bump-cask-pr: fix sha256 replacement with arch 2022-08-11 23:59:20 -04:00
Rylan Polster
dd2b1ce7e9
Merge pull request #13681 from Rylan12/cask-variables-rubocop
Add and adjust cask rubocops to handle variables
2022-08-11 20:05:08 -04:00
Rylan Polster
ad7e5ccc44
Add additional test 2022-08-11 19:14:21 -04:00
Lukas Oberhuber
2c829380b5 Test that --debug-symbols succeeds
Due to limitations of the test framework, this only tests
that the command with the --debug-symbols
flag succeeds and that on MacOS the `dsymutil` is run.
2022-08-11 10:54:18 -10:00
Max Eisner
873954cb71
Revert "simplify"
This reverts commit 2369a58665d151035cb8047343a10fb9e0f40806.
2022-08-11 21:32:03 +02:00
Max Eisner
2369a58665
simplify 2022-08-11 20:59:51 +02:00
Max Eisner
fa22a167d3
refactor to variable length commands arg 2022-08-11 18:12:08 +02:00
Mike McQuaid
5ac30ed2ef
Merge pull request #13684 from MikeMcQuaid/rubocop_cmd_fixes
dev-cmd/rubocop: use bundle check.
2022-08-11 16:41:57 +01:00
Mike McQuaid
40c4e5f228
Merge pull request #13671 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.34.1
build(deps): bump rubocop from 1.33.0 to 1.34.1 in /Library/Homebrew
2022-08-11 14:03:59 +01:00
Max Eisner
a79e8c3692
allow subcmd to take an array, formulae like circleci need it 2022-08-11 14:26:17 +02:00
Max Eisner
19530b2239
make subcmd optional again, formulae like certigo need it 2022-08-11 14:07:32 +02:00
Mike McQuaid
74a8e5bb23
dev-cmd/rubocop: use bundle check.
It's not reliable enough to just check for the binary.
2022-08-11 10:57:19 +01:00
Sean Molenaar
e90371f8ab
cask: add audit for incorrect signing 2022-08-11 09:11:29 +02:00
Lukas Oberhuber
3d60d610dd Merge branch 'master' into debug-symbols 2022-08-10 18:44:09 -10:00
Carlo Cabrera
4a623e0a25
Merge pull request #13659 from carlocab/more-gcc-rpath
linux/super: add unversioned GCC lib directory to RPATH
2022-08-11 12:04:24 +08:00
Lukas Oberhuber
aa2682a098 These tests don't test anything
On MacOS, the compile flags `-g` are not set, and I can't figure out
how to set them here. `dsymutil` runs successfully regardless of if
there are debug symbols or not.
Same on linux therefore the test cannot succeed.
2022-08-10 16:55:19 -10:00
Rylan Polster
ec132ff851
Add and adjust cask rubocops to handle variables 2022-08-10 17:45:43 -04:00
Rylan Polster
43bbe2bcfc
Fix nil handling in arch cask DSL 2022-08-10 17:15:37 -04:00
Max Eisner
a666b1bce8
fix style 2022-08-10 22:31:43 +02:00
Rylan Polster
39071d5816
Remove arch from cask stanza ordering temporarily 2022-08-10 15:37:28 -04:00
Max Eisner
d819c949b4
fix test 2022-08-10 20:21:05 +02:00
Max Eisner
e091d62aa3
Merge branch 'master' into generate-completions-dsl 2022-08-10 19:10:44 +02:00
Max Eisner
00471be514
add test 2022-08-10 19:07:19 +02:00
Max Eisner
074bc3c247
fix style 2022-08-10 18:00:44 +02:00
Carlo Cabrera
999623b45d
ENV/super: add Python's libexec/"bin" directory when applicable
When Homebrew/homebrew-core#107517 is merged, builds will no longer be
able to find `python@3.9` as `python3`. This is also what is likely to
happen to `python@3.10` when we add a `python@3.11`.

This is likely to break many builds, so let's make sure they can keep
finding a `python3` for formulae that don't have a dependency on the
latest Python3.

This is arguably something we should've done earlier: it also means that
builds that go looking for an unversioned `python` end up finding our
Python3 (whenever present in the build environment) instead of, say,
`/usr/bin/python` which is typically Python2.
2022-08-10 22:51:44 +08:00
Mike McQuaid
64d368aeb9
missing_formula: message for postgres rename.
PostgreSQL is being renamed to always be a versioned formula so handle
when people type `brew install postgresql`.
2022-08-10 15:15:21 +01:00
Max Eisner
3786887146
add examples 2022-08-10 15:50:18 +02:00
Max Eisner
08bf179f7a
fix documentation 2022-08-10 15:50:17 +02:00
Max Eisner
55a26ce4cc
make executable and subcmd mandatory args 2022-08-10 15:50:17 +02:00
Max Eisner
e448601964
rename cmd to subcmd 2022-08-10 15:50:15 +02:00
Mike McQuaid
6b697470fd
brew style --fix
For https://github.com/Homebrew/brew/pull/13671
2022-08-10 14:19:33 +01:00
Mike McQuaid
9382160be6
Merge pull request #13670 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.1.2.1
build(deps): bump parser from 3.1.2.0 to 3.1.2.1 in /Library/Homebrew
2022-08-10 14:15:32 +01:00
Carlo Cabrera
478e42d536
linux/linkage_checker: remove gcc from undeclared_deps 2022-08-10 19:04:35 +08:00
Rylan Polster
044fefdce9
Merge pull request #13657 from Rylan12/add-arch-and-variable-cask-dsl
Add `arch` cask DSL
2022-08-09 15:49:46 -04:00
Rylan Polster
19c955d19a
Fix tests 2022-08-09 14:54:33 -04:00
BrewTestBot
d39ba743f9
brew vendor-gems: commit updates. 2022-08-09 18:08:02 +00:00
BrewTestBot
ef6c4816ca
brew vendor-gems: commit updates. 2022-08-09 18:07:48 +00:00
dependabot[bot]
ca0ab6eceb
build(deps): bump rubocop from 1.33.0 to 1.34.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.33.0 to 1.34.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.33.0...v1.34.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 18:05:25 +00:00
dependabot[bot]
46098f95a1
build(deps): bump parser from 3.1.2.0 to 3.1.2.1 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.1.2.0 to 3.1.2.1.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.1.2.0...v3.1.2.1)

---
updated-dependencies:
- dependency-name: parser
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 18:05:07 +00:00
Rylan Polster
76ae20a12f
Re-add on_arch_conditional DSL 2022-08-09 11:34:52 -04:00
Carlo Cabrera
6d07c6eaa0
tests: update language/python/shebang spec 2022-08-09 22:38:05 +08:00