Markus Reiter
66d80cb114
Allow running audit
for different architecture.
2023-04-12 21:46:48 +02:00
Issy Long
10bdb9f653
Don't pass cask_node
into Stanza
, stanza_node.parent
is enough
2023-04-12 20:46:23 +01:00
Issy Long
519c1b46d8
In-line converting nodes to stanzas; move comment detection to Stanza
...
- Since comment detection is only used in `Stanza`, move it there.
- The `stanzaify` method was only in `CaskBlock` since the other use of
`Stanza.new` was. Since it's only used in one other place, move it to
where it's used.
2023-04-12 20:46:22 +01:00
Issy Long
233db299cd
rubocop/cask: Check for correct stanza grouping within on_*
blocks
...
- A variant of this was an ancient TODO from 2018 (with `if/else` blocks).
- Now in 2023 we have `on_*` blocks within Casks that are very common.
- The most common stanzas present inside `on_*` blocks are `version`,
`sha256` and `url`. So I feel like it's worth keeping a consistent
style for these inside and outside `on_*` blocks.
2023-04-12 20:46:20 +01:00
Markus Reiter
5c56cb73c6
Merge pull request #15214 from Homebrew/dependabot/bundler/Library/Homebrew/yard-0.9.33
...
build(deps): bump yard from 0.9.32 to 0.9.33 in /Library/Homebrew
2023-04-12 21:35:26 +02:00
BrewTestBot
503305b185
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-04-12 19:11:07 +00:00
BrewTestBot
284fb1b7dd
Update RBI files for yard.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-04-12 19:08:42 +00:00
BrewTestBot
009b50c73b
brew vendor-gems: commit updates.
2023-04-12 19:02:50 +00:00
BrewTestBot
689753ca53
brew vendor-gems: commit updates.
2023-04-12 19:02:11 +00:00
dependabot[bot]
f7851d0bf4
build(deps): bump rubocop from 1.50.0 to 1.50.1 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.50.0 to 1.50.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.50.0...v1.50.1 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 18:58:54 +00:00
dependabot[bot]
327ed30d22
build(deps): bump yard from 0.9.32 to 0.9.33 in /Library/Homebrew
...
Bumps [yard](https://github.com/lsegal/yard ) from 0.9.32 to 0.9.33.
- [Release notes](https://github.com/lsegal/yard/releases )
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lsegal/yard/compare/v0.9.32...v0.9.33 )
---
updated-dependencies:
- dependency-name: yard
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 18:58:08 +00:00
Markus Reiter
19939ac276
Fix codesign audit paths.
2023-04-12 19:57:42 +02:00
Bo Anderson
8c69c95417
Merge pull request #15204 from Bo98/portable-ruby-2.6.10_1
...
Portable Ruby 2.6.10_1
2023-04-12 16:13:36 +01:00
hyuraku
b8f18309c3
repair variable
2023-04-12 22:23:08 +09:00
hyuraku
acca57a2d8
repair cask_results query
2023-04-12 21:59:28 +09:00
Mike McQuaid
81b6c79d42
Merge pull request #15209 from Bo98/search-no-remote
...
search: remove remote searching
2023-04-12 13:29:11 +01:00
Bo Anderson
3697825784
search: remove remote searching
2023-04-12 13:16:19 +01:00
Bo Anderson
e2aae0fa63
Require Ruby 2.6.10
2023-04-12 13:15:34 +01:00
Mike McQuaid
92d68e318d
Merge pull request #15174 from razvanazamfirei/fish-completions
...
Update fish completions
2023-04-12 12:39:23 +01:00
hyuraku
f7b51d8cd1
pass opitions as named parameters
2023-04-12 20:16:10 +09:00
Issy Long
14ff148750
Merge pull request #15207 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.50.0
...
build(deps): bump rubocop from 1.49.0 to 1.50.0 in /Library/Homebrew
2023-04-12 12:10:34 +01:00
Razvan Azamfirei
5080010da2
change some fish completions to brew --repo
2023-04-12 05:15:19 -04:00
Mike McQuaid
0d749b5db0
Merge pull request #15173 from ywwry66/fix-brew-tests-tar
...
Don't save mac metadata/extended attributes for `brew bottle`
2023-04-12 06:58:41 +01:00
Kevin
9f1d00e1df
Merge pull request #15206 from reitermarkus/macos-version-tests
...
Make test not depend on macOS version.
2023-04-11 22:50:25 -07:00
Markus Reiter
a085fb4ead
Fix code style.
...
Co-authored-by: Issy Long <issyl0@github.com>
2023-04-12 00:05:47 +02:00
Issy Long
5aa24832df
brew style --fix
2023-04-11 21:12:13 +01:00
BrewTestBot
ad188c9a4b
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-04-11 20:04:55 +00:00
BrewTestBot
73b1fd1388
brew vendor-gems: commit updates.
2023-04-11 19:58:03 +00:00
dependabot[bot]
e6cc04668c
build(deps): bump rubocop from 1.49.0 to 1.50.0 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.49.0 to 1.50.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.49.0...v1.50.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 19:54:01 +00:00
Markus Reiter
3275b927b8
Make test not depend on macOS version.
2023-04-11 21:02:10 +02:00
Carlo Cabrera
90f8bd5127
github_runner_matrix: fix dependent runner assignment
2023-04-12 02:37:37 +08:00
Bo Anderson
1b0bd8a6a9
Portable Ruby 2.6.10_1
...
Release notes: https://github.com/Homebrew/homebrew-portable-ruby/releases/tag/2.6.10_1
2023-04-11 18:10:37 +01:00
Ruiyang Wu
73a1380055
dev-cmd/bottle: Refactor setup_tar_and_args!
to extend/os
2023-04-11 11:00:47 -04:00
Ruiyang Wu
d7427ab762
Don't save mac metadata/extended attributes for brew bottle
...
This commit includes `--no-mac-metadata` `--no-acls` and `--no-xattrs`
in `default_tar_args` for `brew bottle` command.
Although `default_tar_args` is only active when `--only-json-tab` is
not passed, in which case we don't require reproducible bottles, it is
nonetheless beneficial to "regularize" tarball creation. In
particular, this resolves a sporadic `brew tests
--only=dev-cmd/bottle:20` failure (see
https://github.com/orgs/Homebrew/discussions/4376 and
https://github.com/Homebrew/brew/pull/14997 ).
Furthermore, with `gnu tar`, `--no-acls` and `--no-xattrs` are default
flags. As for "mac metadata", although I couldn't find official
documentation, this post (https://superuser.com/a/61188 ) shares some
info:
- Resource forks (resource forks have been extended attributes since 10.4)
- Custom icons set in Finder and the images of Icon\r files
- Metadata in PSD files
- Objects stored in scpt files, AppleScript Editor window state, descriptions of scripts
- Information about aliases (aliases stop working if extended attributes are removed)
- Quarantine status or source URLs of files downloaded from the internet
- Spotlight comments
- Encoding of files saved with TextEdit
- Caret position of files opened with TextMate
- Skim notes
None of these is supposed to be in the bottle I believe.
2023-04-11 11:00:47 -04:00
Ruoyu Zhong
f5d414e365
os/mac/xcode: fix Clang version for Xcode 14.3
...
The one shown on the Wikipedia [^1] seems to be wrong. I can confirm
the actual version locally.
[^1]: https://en.wikipedia.org/wiki/Xcode#Xcode_11.0_-_14.x_(since_SwiftUI_framework)_2
2023-04-11 22:27:37 +08:00
Bo Anderson
448bf1a49c
Merge pull request #15183 from Bo98/prof-group2
...
Revert "Revert "Split prof gems into their own group""
2023-04-11 15:11:57 +01:00
hyuraku
4999639140
- remove cask/cmd/audit
...
- repair cmd/audit
2023-04-11 23:06:01 +09:00
Mike McQuaid
df14a969d0
Merge pull request #15198 from Bo98/xcode-14.3
...
Xcode 14.3 updates
2023-04-11 10:34:30 +01:00
Mike McQuaid
d8a7f34ac7
Merge pull request #15197 from issyl0/fix-ventura-caveats-test-diff
...
Fix `ruby_source_path` in Ventura `systemsettings-caveats` fixture JSON
2023-04-11 10:33:11 +01:00
Mike McQuaid
294ea23397
Merge pull request #15192 from ZhongRuoyu/update-maintainers-slice
...
dev-cmd/update-maintainers: fix undefined method
2023-04-11 10:32:32 +01:00
Bo Anderson
5c55cd78fd
os/mac/xcode: update for Xcode 14.3
2023-04-11 02:50:44 +01:00
Bo Anderson
4465f36f2c
os/mac/pkgconfig/13: update for macOS 13.3
2023-04-11 02:50:26 +01:00
Issy Long
6536b641f4
Fix ruby_source_path
in Ventura systemsettings-caveats
fixture JSON
...
- Cask source paths were added to the API in 844db75361. The main
`everything.json` file was updated with the new data in that commit,
but this one was missed causing local test failures.
Before:
```
Cask::Cask#to_h when loaded from cask file returns expected hash
Failure/Error: expect(JSON.pretty_generate(hash)).to eq(expected_json_after_ventura)
[...]
Diff:
@@ -93,7 +93,7 @@
"en",
"eo"
],
- "ruby_source_path": "Formula/everything.rb",
+ "ruby_source_path": "Casks/everything.rb",
"ruby_source_checksum": {
"sha256": "b2707d1952f02c3fa566b7ad2a707a847a959d36f51d3dee642dbe5deec12f27"
}
# ./test/cask/cask_spec.rb:231:in `block (4 levels) in <top (required)>'
# ./test/support/helper/spec/shared_context/homebrew_cask.rb:52:in `block (2 levels) in <top (required)>'
```
2023-04-11 00:33:11 +01:00
Issy Long
41466025cc
dev-cmd/style: Properly clean up the --display-cop-names
option
...
- I remember making these changes as part of the RuboCop bump
Dependabot PR (15136), but I must have not actually pushed them. Odd.
2023-04-11 00:19:09 +01:00
Nanda H Krishna
7ea4726f24
Merge pull request #15194 from Homebrew/dependabot/bundler/Library/Homebrew/addressable-2.8.4
...
build(deps): bump addressable from 2.8.3 to 2.8.4 in /Library/Homebrew
2023-04-10 15:29:41 -04:00
Nanda H Krishna
fc1d7c256a
Merge pull request #15195 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.17.1
...
build(deps): bump rubocop-performance from 1.16.0 to 1.17.1 in /Library/Homebrew
2023-04-10 15:28:34 -04:00
BrewTestBot
82dc6aaeae
Update RBI files for rubocop-performance.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-04-10 19:12:19 +00:00
BrewTestBot
34641b76a8
Update RBI files for addressable.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-04-10 19:10:20 +00:00
BrewTestBot
c7566f6524
Update RBI files for yard.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-04-10 19:08:52 +00:00
BrewTestBot
47ec180089
brew vendor-gems: commit updates.
2023-04-10 19:06:13 +00:00