26835 Commits

Author SHA1 Message Date
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
Mohammad Zain Abbas
f9f3d3d84b Minor refractoring 2022-08-10 22:00:08 +02:00
Rylan Polster
39071d5816
Remove arch from cask stanza ordering temporarily 2022-08-10 15:37:28 -04:00
Mohammad Zain Abbas
d1584b67b9 Removed the error message for Cask in case --resources flag is given 2022-08-10 20:50:14 +02: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
Mohammad Zain Abbas
30737e8365
Merge branch 'Homebrew:master' into mohammad 2022-08-10 18:13:35 +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
Mohammad Zain Abbas
9102d254d4
Merge branch 'Homebrew:master' into mohammad 2022-08-10 01:57:22 +02: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
Mohammad Zain Abbas
654ee76b24
Merge branch 'Homebrew:master' into mohammad 2022-08-09 21:06:58 +02: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
Mohammad Zain Abbas
54e220c0f8
Merge branch 'Homebrew:master' into mohammad 2022-08-09 17:17:13 +02:00
Carlo Cabrera
6d07c6eaa0
tests: update language/python/shebang spec 2022-08-09 22:38:05 +08:00
Carlo Cabrera
ab4f1047fb
language/python: use versioned Python name in detected_python_shebang
Needed for Homebrew/homebrew-core#107517.
2022-08-09 22:36:39 +08:00
Mike McQuaid
7fcc30c56b
Merge pull request #13667 from abitrolly/search-v-desc
`brew search --verbose` to tell about `brew desc`
2022-08-09 13:06:31 +01:00
Anatoli Babenia
fded404e13
Suggestion with better wording
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-09 11:59:13 +03:00
Anatoli Babenia
be2ae9a6be brew search --vebose to tell about brew desc 2022-08-09 09:50:44 +03:00
BrewTestBot
37d769ea3e
brew vendor-gems: commit updates. 2022-08-08 18:09:15 +00:00
dependabot[bot]
2cb86faaeb
build(deps): bump rubocop-ast from 1.19.1 to 1.21.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.19.1 to 1.21.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.19.1...v1.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 18:06:36 +00:00
Mohammad Zain Abbas
1742a72a96
Merge branch 'Homebrew:master' into mohammad 2022-08-08 19:23:04 +02:00
Sean Molenaar
8e49be58b3
Merge pull request #13623 from SMillerDev/fix/exceptions/report_issues_inreplace_head
brew.rb: tell users to fix head issues with inreplace
2022-08-08 16:48:24 +02:00
Sean Molenaar
95080ebbb7
inreplace: style fixes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-08 16:18:06 +02:00
Mike McQuaid
aee92fb143
Merge pull request #13647 from hyuraku/cmd/info--cask--json=v2-handle-multiple-taps
check whether token is multiple tap's name
2022-08-08 13:52:01 +01:00
Mike McQuaid
713ff600ef
Merge pull request #13569 from FnControlHomebrew/cleanup
Run periodic cleanup after installing all packages
2022-08-08 13:51:11 +01:00
Sean Molenaar
12d31853ab
inreplace: fix map 2022-08-08 14:01:44 +02:00
hyuraku
acf39f8777 add TODO comment 2022-08-08 19:58:50 +09:00
Mohammad Zain Abbas
be7dde6aac Minor fixes 2022-08-08 01:37:45 +02:00
Mohammad Zain Abbas
1ca2350e35 Added an error message if --resources flag is given with a Cask 2022-08-07 22:24:37 +02:00
Mohammad Zain Abbas
d0355d7640 Fixed brew style issues with livecheck tests 2022-08-07 21:49:16 +02:00
Mohammad Zain Abbas
e15f0b22b9 Added resources' tests for use_homebrew_curl? method (brew tests --only=livecheck/livecheck) 2022-08-07 21:30:56 +02:00
Mohammad Zain Abbas
7ae71097ee Added tests for resources for livecheck_url_to_string 2022-08-07 21:10:10 +02:00
Mohammad Zain Abbas
eba3d5cf1c Added tests for resource when given a valid livecheck_url symbol 2022-08-07 20:58:10 +02:00