Nanda H Krishna
f2fbbfe70c
Enable use of latest formula version in resource livecheck
URLs
2022-12-19 00:12:16 -05:00
Bevan Kay
2614a29419
fix style
2022-12-19 14:43:16 +11:00
Bevan Kay
84f288be79
fix style
2022-12-19 14:39:48 +11:00
Bevan Kay
01f865f93a
update test
2022-12-19 14:35:31 +11:00
Bevan Kay
1ddd130ef9
add comment to .drop(), don't add blank lines to services array
2022-12-19 14:35:20 +11:00
apainintheneck
47b3f6fe6e
Stop including/extending search.rb
...
- Instead use class methods.
- This is better than use it as a mixin
when only a small number of methods are
used in each class or module.
- It also allows us to conditionally
require it in `brew install`.
- Removed unused search require in descriptions.rb.
2022-12-17 11:08:13 -08:00
apainintheneck
0ae416d0ee
Refactor Search#search_descriptions
...
- Move cask logic back into method from extend/os and check
whether to display it based on args since formula?
is passed by default on Linux now
- Use #search_descriptions in `brew desc` instead of
duplicating logic
- Remove need for extend/os/search
2022-12-17 10:03:41 -08:00
apainintheneck
ba664fa1b4
Move Search#search_casks out of extend/os
...
This doesn't need to be isolated anymore because
there is a check for the formula and cask args
and formula is passed by default on Linux now.
2022-12-17 09:27:33 -08:00
Evgeny
77726d1913
docs: Change comma style in Acceptable-Casks
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-17 14:31:48 +07:00
BrewTestBot
f8797e88b9
Update RBI files for rspec-expectations.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-12-16 18:12:50 +00:00
BrewTestBot
9609e46d50
brew vendor-gems: commit updates.
2022-12-16 18:05:04 +00:00
dependabot[bot]
840daaa2a3
build(deps): bump rspec-expectations in /Library/Homebrew
...
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations ) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/rspec/rspec-expectations/releases )
- [Changelog](https://github.com/rspec/rspec-expectations/blob/main/Changelog.md )
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.12.0...v3.12.1 )
---
updated-dependencies:
- dependency-name: rspec-expectations
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-16 18:01:19 +00:00
Evgeny
45cb6753b5
docs: Fix wrong condition for an app rejection
...
Swapped logic of rejection from work to failure and added an example
2022-12-16 20:16:09 +07:00
Sean Molenaar
884c4bec14
Merge pull request #14255 from SMillerDev/chore/docs/require_casks_pass_gatekeeper
...
docs: Document that casks should pass GateKeeper
2022-12-16 11:46:59 +01:00
Sean Molenaar
5724c495f5
docs: Document that casks should pass GateKeeper
2022-12-16 11:07:13 +01:00
Mike McQuaid
82d89bbbcb
Merge pull request #14240 from apainintheneck/add-casks-to-install-search
...
Show casks in install not found output
2022-12-15 09:07:04 +00:00
apainintheneck
3aac0fef7e
Simplify cask search
...
The cask_tokens and cask_names arrays here
were almost identical so we'll just use
cask_tokens for both.
2022-12-14 19:27:59 -08:00
apainintheneck
0193caac2e
Merge branch 'speed-up-cask-full-names' into add-casks-to-install-search
2022-12-14 00:01:57 -08:00
apainintheneck
363df2a648
Speed up cask search
...
Add new method to get all cask names
without using Cask.all which is slow
in this case.
2022-12-14 00:00:34 -08:00
apainintheneck
cb64bc4df3
Move pkg type logic into search_name
...
Now the search_name method takes the command line
args and only returns package types that line up
with those args.
That means it will only return casks if casks are valid
and same with formulae.
2022-12-13 22:50:00 -08:00
Kevin
0afc41ceef
Explain edge case in install/cmd
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-13 20:31:33 -08:00
Mike McQuaid
ed3789a0bb
Merge pull request #14249 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.40.0
...
build(deps): bump rubocop from 1.35.1 to 1.40.0 in /Library/Homebrew
2022-12-13 14:21:27 +00:00
Mike McQuaid
77c0d38c35
brew style --fix
2022-12-13 11:37:06 +00:00
Mike McQuaid
40f85af824
brew.sh: fix shellcheck.
2022-12-13 11:37:05 +00:00
Mike McQuaid
e71d1e2dd4
rubocop/lines: cleanup weird interpolation.
2022-12-13 11:37:05 +00:00
Mike McQuaid
4e03afeeb6
utils/github/api: curl format token, not a ruby one.
2022-12-13 11:37:05 +00:00
Mike McQuaid
08644386e1
Dockerfile: cleanup style, add comments.
2022-12-13 11:37:05 +00:00
Bo Anderson
917a1e7bff
rubocops/shell_commands: fix missing require
2022-12-13 11:37:05 +00:00
BrewTestBot
cd21875929
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-12-13 11:37:05 +00:00
BrewTestBot
426da6b951
brew vendor-gems: commit updates.
2022-12-13 11:37:05 +00:00
dependabot[bot]
0e03a1b6d9
build(deps): bump rubocop from 1.35.1 to 1.40.0 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.35.1 to 1.40.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.35.1...v1.40.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-12-13 11:37:04 +00:00
Mike McQuaid
85db0abf18
Merge pull request #14248 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.16.0
...
build(deps): bump rubocop-rspec from 2.15.0 to 2.16.0 in /Library/Homebrew
2022-12-13 10:31:21 +00:00
Mike McQuaid
79267e1e76
rubocop_rspec: fix incorrect failures.
2022-12-13 09:58:58 +00:00
BrewTestBot
77e374b305
Update RBI files for rubocop-rspec.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-12-13 09:40:27 +00:00
BrewTestBot
00d3fb3276
brew vendor-gems: commit updates.
2022-12-13 09:34:19 +00:00
dependabot[bot]
feabf4977f
build(deps): bump rubocop-rspec in /Library/Homebrew
...
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec ) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases )
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.15.0...v2.16.0 )
---
updated-dependencies:
- dependency-name: rubocop-rspec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 09:30:40 +00:00
Mike McQuaid
38a02327ea
Merge pull request #14245 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-mocks-3.12.1
...
build(deps): bump rspec-mocks from 3.12.0 to 3.12.1 in /Library/Homebrew
2022-12-13 09:29:48 +00:00
apainintheneck
daa87fa10f
Add specific examples to install cmd
...
- provide specific install instructions
when a cask/formula doesn't exist
and we search for similar ones
- print and exit early if a named formula that
was removed recently has the same name
- exit early if the tap is specified because
we don't get good search results
2022-12-12 21:04:59 -08:00
BrewTestBot
96a93b342e
Update RBI files for rspec-mocks.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-12-12 18:12:31 +00:00
BrewTestBot
7b1ba5d4e4
brew vendor-gems: commit updates.
2022-12-12 18:06:48 +00:00
dependabot[bot]
d5ee175057
build(deps): bump rspec-mocks from 3.12.0 to 3.12.1 in /Library/Homebrew
...
Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks ) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/rspec/rspec-mocks/releases )
- [Changelog](https://github.com/rspec/rspec-mocks/blob/main/Changelog.md )
- [Commits](https://github.com/rspec/rspec-mocks/compare/v3.12.0...v3.12.1 )
---
updated-dependencies:
- dependency-name: rspec-mocks
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 18:02:59 +00:00
Mike McQuaid
c1d7b10045
Merge pull request #14236 from apainintheneck/add-ignores-for-os-cop
...
Only use OS cop internally
2022-12-12 17:44:40 +00:00
Mike McQuaid
240b7b37e3
Merge pull request #14234 from MikeMcQuaid/bottle_tar_mtime
...
dev-cmd/bottle: use `gnu-tar`'s `--mtime`.
2022-12-12 17:30:01 +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
Bevan Kay
e8e6ee30b4
add initial tests
2022-12-13 00:00:43 +11:00
apainintheneck
a481729ade
Show casks in install not found output
...
- Move `search_names` and `print_missing_formula_help` out of `cmd/search.rb` to `search.rb`
- Change to using those functions in `cmd/install.rb` when a formula or cask doesn't exist
2022-12-10 13:02:38 -08:00
Tom Forbes
173e6bf1d3
Fix tests
2022-12-10 15:02:18 +00:00
Tom Forbes
2c378249aa
Allow pip to use the local wheel cache while installing dependencies
2022-12-10 15:00:42 +00:00
apainintheneck
07ff122c8d
Ignore os cop in tap Formula/Cask folders
2022-12-09 18:07:13 -08:00
Mike McQuaid
11cdffb4fe
Merge pull request #14235 from Homebrew/dependabot/bundler/Library/Homebrew/json_schemer-0.2.24
...
build(deps): bump json_schemer from 0.2.23 to 0.2.24 in /Library/Homebrew
3.6.15
2022-12-09 08:59:24 +00:00