36540 Commits

Author SHA1 Message Date
Dawid Dziurla
244006f15a
github_packages: retry skopeo copy 5 times 2023-03-08 15:32:31 +01:00
Mike McQuaid
8d71aa02dd
Merge pull request #14918 from SMillerDev/master
bump-formula-pr: add release notes if found
2023-03-08 14:02:36 +00:00
Sean Molenaar
2f32da0455
fix syntax 2023-03-08 14:28:34 +01:00
Mike McQuaid
b6b30667f0
Merge pull request #14829 from gibfahn/incorrect_headers
download_strategy: handle incorrectly quoted filename* headers
2023-03-08 13:07:07 +00:00
Sean Molenaar
9bd567aab9
Update Library/Homebrew/dev-cmd/bump-formula-pr.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-03-08 14:04:28 +01:00
Sean Molenaar
048ed5d683
Update Library/Homebrew/dev-cmd/bump-formula-pr.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-03-08 13:59:14 +01:00
Sean Molenaar
8532bb23cc
Update Library/Homebrew/dev-cmd/bump-formula-pr.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-03-08 13:58:45 +01:00
Mike McQuaid
97b66d3ae7
download_strategy: add another presence check. 2023-03-08 12:49:25 +00:00
Mike McQuaid
e5c0fb4ca6
Merge pull request #14892 from apainintheneck/irb-improvements
`brew irb` improvements
2023-03-08 12:46:56 +00:00
Mike McQuaid
b1801333cb
Merge pull request #14917 from dduugg/string-inflections
Remove ActiveSupport String inflections
2023-03-08 12:39:54 +00:00
apainintheneck
deabd4a5f9 Change history and config file dirs
Now both REPL history is written to $HOME.
- Pry: $HOME/.brew_pry_history
- IRB: $HOME/.brew_irb_history

The IRB config file has also been moved to the
library directory.
2023-03-07 19:15:05 -08:00
Gibson Fahnestock
160e7da779
download_strategy: handle incorrectly quoted filename* headers
Some servers erroneously double-quote the filename in the filename*
header. This is (as far as I can tell from the spec) a bug in the
server, and should be fixed there.

In general though using `""` as the filename seems like behaviour worth
handling in brew anyway, as there may be other places where the parser
returns an empty string.

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-03-08 01:28:39 +00:00
Issy Long
9c9f6b36b5
sorbet: Oops, missed a * for **/*.rb path wildcards 2023-03-07 23:10:28 +00:00
Issy Long
7053036d93
sorbet: Run brew typecheck --update --suggest-typed on schedule in CI
- No idea if this works, let's experiment.
- Suggested in https://github.com/Homebrew/brew/pull/14893#issuecomment-1456040533.
2023-03-07 23:08:16 +00:00
Mike McQuaid
3e2c713c92
Merge pull request #14870 from nandahkrishna/fix-requirement
Fix `{MacOS,Xcode}Requirement` handling and improve output
2023-03-07 19:26:47 +00:00
Nanda H Krishna
51329635d9
api: fix merge_variations 2023-03-07 14:12:41 -05:00
Nanda H Krishna
bb4f41ea43
api: fix bottle_tag identification 2023-03-07 14:12:40 -05:00
Nanda H Krishna
3113b44d1f
brew unbottled: fix XcodeRequirement handling on Linux 2023-03-07 14:12:40 -05:00
Nanda H Krishna
f03e462995
xcode_requirement: improve outputs 2023-03-07 14:12:40 -05:00
Nanda H Krishna
56703a49ed
macos_requirement: fix version_specified?, improve outputs 2023-03-07 14:12:40 -05:00
Douglas Eichelberger
6cfab10e2b typecheck 2023-03-07 10:45:53 -08:00
Sean Molenaar
139f90df97
bump-formula-pr: add release notes if found 2023-03-07 19:44:35 +01:00
Douglas Eichelberger
7aab1c2a38 Remove ActiveSupport String inflections 2023-03-07 10:16:52 -08:00
Douglas Eichelberger
6ffda80a8a brew style 2023-03-07 10:14:57 -08:00
Douglas Eichelberger
544960b4fc Replace String#underscore with util 2023-03-07 10:13:38 -08:00
Mike McQuaid
bd309509da
Merge pull request #14916 from dduugg/refactor-searchable
Refactor searchable
2023-03-07 17:31:36 +00:00
Douglas Eichelberger
1f742727af Move tests 2023-03-07 09:08:54 -08:00
Douglas Eichelberger
23587b70a1 Port Descriptions 2023-03-07 09:08:54 -08:00
Douglas Eichelberger
1195772b02 Refactor Searchable into Homebrew::Search 2023-03-07 09:08:54 -08:00
Mike McQuaid
fdd7b04ccf
Merge pull request #14914 from dduugg/revert-splat-AbstractUninstall
Revert splat changes to AbstractUninstall
2023-03-07 15:35:10 +00:00
Carlo Cabrera
999582f412
Fix typo 2023-03-07 23:34:57 +08:00
Carlo Cabrera
4c4e9369b1
Fix brew style 2023-03-07 23:28:59 +08:00
Douglas Eichelberger
900ee97f95 Revert splat changes to AbstractUninstall 2023-03-07 06:46:59 -08:00
Carlo Cabrera
46c3c86caa
Parse ld version from -version_details 2023-03-07 22:41:07 +08:00
Mike McQuaid
246b36cfb3
Merge pull request #14910 from issyl0/ubuntu-1804-actions-runners-brownout
ci: Move from Ubuntu 18.04 to Ubuntu 20.04 Actions runners
2023-03-07 14:25:42 +00:00
Issy Long
b95c549437
ci: Move to Ubuntu 20.04 Actions runners
- The 18.04 runners are deprecated and going away in less than a month.
  Today was another scheduled brownout from GitHub
  (https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/),
  and they've been unmarked as required checks in the branch protections
  because the images are unavailable and the jobs were failing.
- However, we still need to test that Homebrew works correctly on
  non-latest Ubuntu versions so that we can test that we're correctly
  using brewed gcc/glibc, hence upgrading to 20.04 which is still old.
2023-03-07 12:48:42 +00:00
Mike McQuaid
c94321191b
Merge pull request #14907 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.48.0
build(deps): bump rubocop from 1.47.0 to 1.48.0 in /Library/Homebrew
2023-03-07 11:52:56 +00:00
BrewTestBot
dfc2519912
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-07 10:58:56 +00:00
Mike McQuaid
b698cef945
brew style --fix (and a manual one) 2023-03-07 10:48:35 +00:00
BrewTestBot
fed0f7141e
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-07 10:48:31 +00:00
BrewTestBot
3c20406ff5
brew vendor-gems: commit updates. 2023-03-07 10:47:58 +00:00
dependabot[bot]
f9b7861efa
build(deps): bump rubocop from 1.47.0 to 1.48.0 in /Library/Homebrew
Dependabot couldn't find the original pull request head commit, 46c63f2b6eb241a7647e76db693fc91a88121c11.
2023-03-07 10:47:58 +00:00
Mike McQuaid
ad0d1a719f
Merge pull request #14908 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.19.0
build(deps): bump rubocop-rspec from 2.18.1 to 2.19.0 in /Library/Homebrew
2023-03-07 10:43:26 +00:00
Mike McQuaid
0209ba1cd0
Merge pull request #14879 from scpeters/max_open_files_message
lock_file: better message if too many open files
2023-03-07 09:30:21 +00:00
Mike McQuaid
2fe078d448
Merge pull request #14902 from g0t4/cat_mention_brew_info_github
when `brew cat` fails, suggest `brew info --github`
2023-03-07 09:29:06 +00:00
Mike McQuaid
a6b70eee69
Merge pull request #14896 from issyl0/sorbet-autogenerate-tty-rbi
sorbet: Autogenerate the RBI file for `utils/tty.rb`
2023-03-07 09:23:02 +00:00
Mike McQuaid
26eec1f6b3
Merge pull request #14911 from dduugg/cmd-types
Enable typing in cmd/
2023-03-07 09:19:25 +00:00
Mike McQuaid
742824228f
dev-cmd/cat_spec: remove unneeded test. 2023-03-07 09:10:04 +00:00
Mike McQuaid
f4e180c40b
brew style --fix 2023-03-07 08:57:57 +00:00
apainintheneck
9f7ab25af5 irb: improve pry config
The idea here is that the pry session history
should be separate for homebrew than the global
pry history.

We also ignore any .pryrc files so that they
don't interfere with this config.
2023-03-06 22:37:09 -08:00