BrewTestBot
ed47b6c3fa
brew vendor-gems: commit updates.
2023-04-17 19:08:46 +00:00
dependabot[bot]
0ca62aa85a
build(deps): bump rubocop from 1.50.1 to 1.50.2 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.50.1 to 1.50.2.
- [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.1...v1.50.2 )
---
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-17 19:04:25 +00:00
Mike McQuaid
8548ea17d7
Merge pull request #15249 from dduugg/module-function-cleanup
...
Refactor module_function to reduce rbi need
2023-04-17 19:44:33 +01:00
Douglas Eichelberger
df5c5842cc
Fix tests
2023-04-17 11:30:12 -07:00
Douglas Eichelberger
95bea08a3b
Fix visibility modifiers
2023-04-17 11:10:40 -07:00
Douglas Eichelberger
7fdd75ad41
brew style --fix
2023-04-17 11:00:55 -07:00
Douglas Eichelberger
09c679e75f
Refactor module_function to reduce rbi need
2023-04-17 10:37:59 -07:00
Carlo Cabrera
e98bfdd012
Merge pull request #15248 from ZhongRuoyu/bottle-manifest
...
github_packages: fix bottle manifest schema violation
2023-04-17 23:41:55 +08:00
Ruoyu Zhong
a196d33482
github_packages: fix bottle manifest schema violation
...
According to [^1] [^2], image manifest annotations need to be a
string-string map.
This should fix the errors seen in Homebrew/homebrew-core#128517 ,
Homebrew/homebrew-core#128558 , et al.
[^1]: 2879913ce4/schema/image-manifest-schema.json (L35)
[^2]: 2879913ce4/schema/defs-descriptor.json (L22)
2023-04-17 23:17:20 +08:00
Mike McQuaid
991206385f
Merge pull request #15246 from razvanazamfirei/fix-methods-error
...
fix: fix undefined 'git_origin_branch' methods
2023-04-17 15:10:05 +01:00
Razvan Azamfirei
a2b80e4ec2
fix origin_branch_name
2023-04-17 09:57:06 -04:00
Carlo Cabrera
140273badb
Merge pull request #15247 from dduugg/15245
2023-04-17 21:47:21 +08:00
Douglas Eichelberger
6f813eba13
Fix 'undefined method git_default_origin_branch?'
2023-04-17 06:32:15 -07:00
Mike McQuaid
775cddf6d9
Merge pull request #15032 from dduugg/rm-git-extend
...
Refactor GitRepositoryExtension to avoid monkey-patching
2023-04-17 12:21:11 +01:00
Mike McQuaid
7b32e6e9af
Merge pull request #15241 from colindean/add-size-to-ghp-manifest
...
Add bottle file size to GHP manifest annotations
2023-04-17 12:17:53 +01:00
Mike McQuaid
0b3910d012
Merge pull request #15240 from apainintheneck/remove-cask-os-versions
...
cask: remove os_versions
2023-04-17 12:17:11 +01:00
Colin Dean
2787eead89
Add bottle file size to GHP manifest annotations
...
This will reduce the number of requests necessary to ascertain the size
of formulas' bottle archives for analysis purposes.
Currently, getting the size of each bottle requires 1 request for the
formula.json and followed by N requests per formula-version, which
for most formulae is 7— more than 47k requests!
After this change, size retrieval can ascertain all bottle sizes for a
formula-version in a single request, at the cost of one additional
request per formula-version if that formula-version has not been
rebuilt since this change was introduced.
To start, size retrieval will incur an additional P requests where
P is the number of packages. Over the next few weeks and months,
the retrieval will go a lot faster as all new and updated packages will
require only one request.
2023-04-16 21:32:47 +00:00
apainintheneck
1322b9cb79
cask: remove os_versions
...
This was originally used by the API but was replaced months
ago by SimulateSystem. Essentially, it's only current use
was in the #to_h method but is not used internally at all
when creating cask instances from the API JSON.
2023-04-16 13:52:24 -07:00
Douglas Eichelberger
403f08db8b
Remove delegation
2023-04-16 09:30:21 -07:00
Markus Reiter
ac0663ae5d
Merge pull request #15237 from EricFromCanada/bye-appcast
...
docs: deprecate `appcast`
4.0.14
2023-04-16 15:20:00 +02:00
EricFromCanada
819bef620c
docs: deprecate appcast
2023-04-16 09:01:12 -04:00
Mike McQuaid
d84aeb955a
Merge pull request #15238 from issyl0/rm-useless-test
...
Delete a Cask RuboCop test for an edge case that is not fixed
2023-04-16 10:55:58 +01:00
Mike McQuaid
9fa77a6951
Merge pull request #15236 from ZhongRuoyu/sponsors-branches-only
...
workflows/sponsors-maintainers-man-completions: only run on branches
2023-04-16 10:54:11 +01:00
Kevin
db40abd5ce
Merge pull request #15231 from reitermarkus/shell-profile
...
Don't use deprecated `Kernel#shell_profile`.
2023-04-16 00:07:20 -07:00
Douglas Eichelberger
b90897e280
Create git_repo attr
2023-04-15 19:35:13 -07:00
Douglas Eichelberger
a6fbf5f1ac
brew style --fix
2023-04-15 19:35:13 -07:00
Douglas Eichelberger
1ffb77f821
cleanup
2023-04-15 19:35:13 -07:00
Douglas Eichelberger
8307255ce8
Update call sites
2023-04-15 19:35:13 -07:00
Douglas Eichelberger
3d1232eeac
rename methods
2023-04-15 19:35:13 -07:00
Douglas Eichelberger
429f23dcc6
Create GitRepoPath
2023-04-15 19:35:12 -07:00
Issy Long
e51ad41434
Delete a Cask RuboCop test for an edge case that is not fixed
...
- This test tests nothing. And the TODO comment is wrong.
- We _could_ fix it, but it's a very edgy edge case which pertains to
`livecheck` blocks which currently don't have stanza grouping or
ordering cop support. If we decide in the future to add these, we can
add this back too (provided I remember).
- Also I think I may have got confused with the stanza grouping vs.
stanza ordering cops when writing this, rendering this test more
useless.
2023-04-15 23:09:42 +01:00
Markus Reiter
ad3d207172
Merge pull request #15219 from vitorgalvao/patch-1
...
audit.rb: Check for signature with sptcl
2023-04-15 12:40:28 +02:00
Markus Reiter
b2b2689dbf
Merge pull request #15232 from EricFromCanada/cask-artifacts
...
cask/artifact: fix up some definitions
2023-04-15 12:39:24 +02:00
Markus Reiter
b67fffbc31
Merge pull request #15228 from reitermarkus/audit-repo-discontinued
...
Fix repo audit for discontinued casks.
2023-04-15 12:39:10 +02:00
Ruoyu Zhong
b6eed8cef0
workflows/sponsors-maintainers-man-completions: only run on branches
...
This prevents running the jobs on tags. It can be dangerous to
force-push a tag, even though previous workflow runs actually failed.
Example of previous failure:
https://github.com/Homebrew/brew/actions/runs/4657211778/jobs/8241583576
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-04-15 08:17:45 +08:00
Issy Long
4fe3436682
Merge pull request #15211 from issyl0/rubocop-cask-stanza-grouping-in-on-blocks
2023-04-14 21:57:34 +01:00
EricFromCanada
b9dab243b5
cask/artifact: fix up some definitions
...
And expand the list of artifacts that target: works with.
2023-04-14 15:47:33 -04:00
Markus Reiter
38695f96c7
Don't use deprecated Kernel#shell_profile.
2023-04-14 21:14:44 +02:00
Vítor Galvão
654859c25f
audit.rb: Check for signature with sptcl
2023-04-14 18:47:35 +01:00
Markus Reiter
95e3b43647
Fix repo audit for discontinued casks.
2023-04-14 19:02:07 +02:00
Carlo Cabrera
2816c1274f
Merge pull request #15224 from carlocab/github-vars
...
brew: don't filter `GITHUB_EVENT_NAME`
2023-04-14 20:53:19 +08:00
Carlo Cabrera
de95396407
brew: don't filter GITHUB_EVENT_NAME
...
We need this in `test-bot`. See Homebrew/homebrew-test-bot#905 and
Homebrew/homebrew-test-bot#906 .
2023-04-14 20:40:14 +08:00
Markus Reiter
46c0df1379
Merge pull request #15063 from reitermarkus/audit-arch
...
Allow running `audit` for different architecture.
2023-04-14 13:29:05 +02:00
Mike McQuaid
9912dcab7c
Merge pull request #15220 from Homebrew/dependabot/bundler/Library/Homebrew/yard-0.9.34
...
build(deps): bump yard from 0.9.33 to 0.9.34 in /Library/Homebrew
2023-04-13 19:43:45 +01:00
BrewTestBot
85b0db6e07
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-13 18:25:42 +00:00
BrewTestBot
4d4419c915
brew vendor-gems: commit updates.
2023-04-13 18:18:32 +00:00
dependabot[bot]
4d87cd16be
build(deps): bump yard from 0.9.33 to 0.9.34 in /Library/Homebrew
...
Bumps [yard](https://github.com/lsegal/yard ) from 0.9.33 to 0.9.34.
- [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.33...v0.9.34 )
---
updated-dependencies:
- dependency-name: yard
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 18:14:38 +00:00
Issy Long
6de61e4994
Ensure that stanza grouping works for nested stanzas with comments
...
- Since moving `comments_hash` to `Stanza`, we've been using the wrong
kind of "comments": the comments for the _stanza_, not the comments
for the entire Cask.
- Add a test to ensure this actually works. There was previously an
infinite loop here due to the bad `comments`, visible in a `StanzaOrder`
cop test, which I speculatively added a failing test for. Turns out
that supporting nested stanza _ordering_ (vs. just grouping) is a
whole separate piece of work (there are multiple TODOs there already),
so I've backed that out and will do that separately.
2023-04-13 15:59:18 +01:00
Mike McQuaid
688b732ea0
Merge pull request #15216 from ZhongRuoyu/locale
...
test/cask/dsl_spec: fix test for certain locale settings
2023-04-13 08:27:51 +01:00
Ruoyu Zhong
b4dba7a42a
locale: reorder segments to match standard format
...
Following #14998 , reorder the locale segments to `language`, `script`,
`region` to match the standard format. This does not require changes
outside the `Locale` class because `Locale` instances are always
constructed with the `parse` method.
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-04-13 11:31:24 +08:00