35042 Commits

Author SHA1 Message Date
Mike McQuaid
d80f7ac48e
Merge pull request #15052 from MikeMcQuaid/formulary_service
formulary: require service.
2023-03-24 10:42:17 +00:00
Mike McQuaid
a0eb5ebec7
formulary: require service.
This is used in this file.
2023-03-24 09:23:09 +00:00
Mike McQuaid
9a491a2bd3
Merge pull request #15050 from Homebrew/no_more_ubuntu_16
docker: stop building Ubuntu 16.04 image.
2023-03-24 09:13:17 +00:00
Mike McQuaid
6a77ef2170
docker: stop building Ubuntu 16.04 image.
This is too slow to be building every time and we're long past the
deprecation date.

Fixes https://github.com/Homebrew/brew/issues/14661
2023-03-24 08:57:48 +00:00
Mike McQuaid
fad8deda56
Merge pull request #15046 from issyl0/rubocop-method-parameter-pr
rubocop: Remove the final `Naming/MethodParameterName` exceptions: `pr`
2023-03-24 08:51:49 +00:00
Mike McQuaid
7b4de4ad1f
Merge pull request #15035 from hartwork/dockerfile-fix-build
Dockerfile: Fix the build, package gh exists in Ubuntu >=22 only
2023-03-24 08:44:31 +00:00
Sebastian Pipping
bd16355a07 docker.yml: Run for pull requests also, for debuggability 2023-03-24 05:43:04 +01:00
Sebastian Pipping
05319c86dc Dockerfile: Install gpg (GnuPG 2.x) for Ubuntu 18 and 20 also 2023-03-24 05:42:33 +01:00
Kevin
86c518e2d7
Merge pull request #15007 from apainintheneck/add-service-block-to-formula-api
Add service block to formula api
2023-03-23 17:30:04 -07:00
Issy Long
61dc026fcc
rubocop: Remove the final Naming/MethodParameterName exceptions: pr
- Core RuboCop didn't want this shortening upstreamed, but that's OK!
2023-03-24 00:29:42 +00:00
Sebastian Pipping
51f171e506 Dockerfile: Fix the build, package gh exists in Ubuntu >=22 only 2023-03-23 20:38:08 +01:00
Mike McQuaid
78feddce94
Merge pull request #15044 from Homebrew/revert-15040-move_cask/cmd/reinstall
Revert "move `cask/cmd/reinstall`"
2023-03-23 17:26:21 +00:00
Mike McQuaid
253dca568c
Revert "move cask/cmd/reinstall" 2023-03-23 17:06:42 +00:00
Mike McQuaid
8f9caa3427
Merge pull request #15040 from hyuraku/move_cask/cmd/reinstall
move `cask/cmd/reinstall`
2023-03-23 16:31:01 +00:00
hyuraku
6a5ed3497e repair the options 2023-03-24 00:42:10 +09:00
Mike McQuaid
c31da2b3c9
Merge pull request #15042 from MikeMcQuaid/skip_post_install
Add `brew install --skip-post-install`
2023-03-23 15:37:06 +00:00
Mike McQuaid
95a8c3f638
Add brew install --skip-post-install
Will be needed by `brew test-bot`.
2023-03-23 15:22:27 +00:00
hyuraku
ca3520e379 repair Cask#Reinstall::reinstall_casks 2023-03-23 23:39:58 +09:00
hyuraku
75c867e296 move cask/cmd/reinstall_spec to cask/reinstall_spec 2023-03-23 22:50:28 +09:00
hyuraku
31e49d96af move cask/cmd/reinstall to cask/reinstall 2023-03-23 22:50:03 +09:00
Mike McQuaid
ea92f56da4
Merge pull request #15039 from Homebrew/improve-ci-jobs
Improve some CI jobs
2023-03-23 10:03:37 +00:00
Mike McQuaid
7a22d919ad
Merge pull request #15038 from MikeMcQuaid/update-report-fix-ordering
cmd/update-report: fix ordering.
2023-03-23 09:46:56 +00:00
Mike McQuaid
510c4dce76
Improve some CI jobs
- make the CodeCov CI job informational. We don't want red PRs just
  because the coverage varies slightly. We still get comments inline
  saying where code coverage is met; this is more useful during review
  than a single number and failing status
- make the Triage CI job do less: instead of enforcing a time period for
  review window, make it only exist to self-approve PRs for merge and
  require a maintainer otherwise to review
2023-03-23 09:20:09 +00:00
Mike McQuaid
e75b983686
cmd/update-report: fix ordering.
New formulae/casks were shown as removed and vice versa.

Fixes #15036
2023-03-23 08:48:48 +00:00
apainintheneck
6ccf21c2c9 Merge branch 'master' into add-service-block-to-formula-api 2023-03-22 20:06:32 -07:00
apainintheneck
801ee5e474 Address feedback
- style nits
- better comments for tests that are not idempotent
- moved appdir placeholder constant to global.rb
2023-03-22 19:43:49 -07:00
Douglas Eichelberger
65d858da12
Merge pull request #15025 from dduugg/enable-unpack-strategy-types
Enable UnpackStrategy types
2023-03-22 12:06:12 -07:00
Douglas Eichelberger
9ba677f6d4
Update Library/Homebrew/extend/pathname.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-03-22 10:04:53 -07:00
Mike McQuaid
7ad3306e68
Merge pull request #15003 from issyl0/audit-for-keg_only-HOMEBREW_PREFIX
formula_auditor: Having `HOMEBREW_PREFIX` in `keg_only` reasons is bad
2023-03-22 14:13:33 +00:00
Issy Long
10b1af8b29
formula_auditor: Appease RuboCop with another &. 2023-03-22 13:54:43 +00:00
Issy Long
21f38ca3af
formula_auditor: Correct safe navigation positioning
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-03-22 13:43:33 +00:00
Mike McQuaid
dea9da6139
Merge pull request #15033 from dduugg/enable-types
Enable more typing
2023-03-22 13:30:08 +00:00
Mike McQuaid
cb24395a9b
Merge pull request #15034 from gromgit/update/check-shim-output
update*: check shim output
2023-03-22 13:29:14 +00:00
Adrian Ho
ff42a4e3b7 update*: check shim output
The shims _Should Not Fail_, but [when bugs happen](https://github.com/orgs/Homebrew/discussions/4331), they just cause confusing errors.
2023-03-22 18:03:47 +08:00
apainintheneck
e83a2562bb Update service and formulary specs 2023-03-22 00:01:58 -07:00
apainintheneck
bc85857e13 service: make serialization non-recursive
This helps with type annotations and makes it easier to
reason about the code as well.
2023-03-21 23:20:49 -07:00
apainintheneck
38146893c3 api_hashable: Make API path subs generic
This turns the ability to replace common paths with placeholders
into a mixin that can be used with both Casks and Formulae.

The idea here is to make formula hash generation more consistent.
2023-03-21 23:20:42 -07:00
Douglas Eichelberger
adfd12cfd0 Enable more typing 2023-03-21 21:42:51 -07:00
Nanda H Krishna
ce07d6ad31
Merge pull request #15031 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-03-21 22:30:10 -04:00
Douglas Eichelberger
91afda651a Update Pathname#magic_number 2023-03-21 17:37:48 -07:00
Douglas Eichelberger
b1f722aed7 Update RBI files 2023-03-21 17:37:48 -07:00
Douglas Eichelberger
f38a672938 brew style --fix 2023-03-21 17:37:48 -07:00
Douglas Eichelberger
82dc57dfea Enable UnpackStrategy types 2023-03-21 17:37:46 -07:00
BrewTestBot
8f5f8df00a
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-03-22 00:27:09 +00:00
Issy Long
a8b1e2c18d
Merge pull request #15028 from reitermarkus/toplevel-stanzas
Fix `toplevel_stanzas`.
2023-03-21 22:42:12 +00:00
Rylan Polster
285907b324
Merge pull request #15030 from Homebrew/dependabot/github_actions/reitermarkus/rerun-workflow-1.3.1
build(deps): bump reitermarkus/rerun-workflow from 1.3.0 to 1.3.1
2023-03-21 15:17:18 -04:00
dependabot[bot]
6b1a67a047
build(deps): bump reitermarkus/rerun-workflow from 1.3.0 to 1.3.1
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](1a15891377...7381e98aa2)

---
updated-dependencies:
- dependency-name: reitermarkus/rerun-workflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 18:56:48 +00:00
Rylan Polster
bf93a67258
Merge pull request #15029 from MikeMcQuaid/rubydoc-link
docs/README: improve rubydoc.brew.sh link
2023-03-21 14:29:53 -04:00
Mike McQuaid
7d09b90fff
docs/README: improve rubydoc.brew.sh link
This shouldn't really be maintainers only.

Fixes https://github.com/Homebrew/brew/issues/15026
2023-03-21 17:50:49 +00:00
Markus Reiter
3c89f99df1
Fix toplevel_stanzas. 2023-03-21 14:43:59 +01:00