32621 Commits

Author SHA1 Message Date
Eric Knibbe
8e01227add
cmd/deps: show deps for head spec with --HEAD
Plus a few man page fixes
2023-10-13 00:29:09 -04:00
Bo Anderson
900d867345
utils/gems: fix Sonoma compatibility check 2023-10-13 00:02:06 +01:00
Mike McQuaid
41dc533add
Merge pull request #16108 from Bo98/api-rename-fix
formulary: load from API for formula renames
2023-10-12 17:49:58 +01:00
Bo Anderson
408e15f485
formulary: load from API for formula renames 2023-10-12 17:04:54 +01:00
Mike McQuaid
07daa5582a
Merge pull request #16104 from Homebrew/sorbet-files-update 2023-10-12 07:04:51 +01:00
David C Hall
a3887482bb
Update tap-new.rb 2023-10-11 19:40:04 -07:00
David C Hall
8e65816335
Adding GHA permission for GitHub Packages
When a tap stores bottles in GitHub Packages, then the publish workflow requires the corresponding write permission.
2023-10-11 19:31:54 -07:00
BrewTestBot
cecd63ed29
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-10-12 00:23:27 +00:00
Eric Knibbe
03e743a75e
api: add using: attribute to head & stable URLs 2023-10-11 14:14:18 -04:00
Mike McQuaid
f89c7194e8
Merge pull request #16098 from reitermarkus/odebug-system-command
Improve `odebug`/`SystemCommand` debugging output.
2023-10-11 09:10:46 +01:00
Markus Reiter
00c976ce38
Fix test. 2023-10-11 09:42:22 +02:00
BrewTestBot
104983533d
Update RBI files for regexp_parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-10-10 18:35:18 +00:00
BrewTestBot
254f9ec5bd
brew vendor-gems: commit updates. 2023-10-10 18:28:45 +00:00
dependabot[bot]
6319514a64
build(deps-dev): bump regexp_parser in /Library/Homebrew
Bumps [regexp_parser](https://github.com/ammar/regexp_parser) from 2.8.1 to 2.8.2.
- [Changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ammar/regexp_parser/compare/v2.8.1...v2.8.2)

---
updated-dependencies:
- dependency-name: regexp_parser
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 18:24:38 +00:00
Markus Reiter
4b7aed84fa
Add test for print_stdout: :debug. 2023-10-10 03:42:22 +02:00
Markus Reiter
5d87da135a
Allow printing command output when HOMEBREW_DEBUG/--debug is set. 2023-10-10 03:42:22 +02:00
Markus Reiter
16aa6372a3
Make odebug output to stderr. 2023-10-10 03:42:22 +02:00
Mike McQuaid
e57a87cfe9
Merge pull request #16085 from samford/improve-date-version-parsing-take-2
Version: Improve date version parsing
2023-10-09 13:13:59 +01:00
Carlo Cabrera
a2d56ceb2e
Merge pull request #16097 from JameelKaisar/update-actions-publish
Add missing permissions to actions publish
2023-10-09 14:50:34 +08:00
Jameel Kaisar
2779b8ea7f Add missing permissions to actions publish
This commit adds the missing permissions to the
actions publish script. The 'contents: write'
permission is required to publish releases and
the 'pull-requests: write' permission is required
to close the pull request after the changes are committed.
2023-10-08 22:13:59 +00:00
Mike McQuaid
abeab3e6c6
cli/parser: tweak style.
Co-authored-by: Kevin <apainintheneck@gmail.com>
2023-10-08 19:12:43 +01:00
Jameel Kaisar
61c030b08f Add close pr to actions publish
This commit enhances the publish actions script by
including a step to close the pull request after
committing the changes. The existing script deletes
the branch after pushing the commits, but lacks
the functionality to close the associated PR.
2023-10-08 18:08:56 +00:00
Eric Knibbe
d3959727d6
cli/parser: depopulate commands' args lists 2023-10-07 23:52:34 -04:00
Eric Knibbe
eef9f84a80
Merge pull request #16095 from EricFromCanada/fix-fetch-head
cmd/fetch: restore --HEAD functionality
2023-10-07 19:54:04 -04:00
Kevin
1c9caf96b7
Merge pull request #16063 from Homebrew/revert-16054-revert-16026-support-multiple-sockets-in-service-dsl
service: support multiple sockets in DSL
2023-10-07 14:42:26 -07:00
apainintheneck
215419daa5 service: provide backwards compatibility for socket strings
The previous PR changed how sockets were represented in the JSON
API for formulae and that would cause problems when trying to install
packages with service sockets. This provides backwards compatibility
until all users have upgraded to versions of homebrew that can deserialize
sockets hashes (maybe a couple weeks). Essentially, we store the
socket string when serializing sockets that were originally defined with
only the string parameter otherwise we serialize it to a hash.
2023-10-07 14:22:38 -07:00
Sam Ford
2298b74fed
Version: Improve date version parsing
The existing date version parsing regex only matches file names that
have a prefix (e.g., `ltopers-v2017-04-14.tar.gz`), so it doesn't
match files like `2023-09-28.tar.gz`. There are a handful of formulae
that have to manually specify the version as a result (e.g.,
`marksman`, `sqtop`, etc.). `bootloadhid` is also affected but that's
because the filename uses a dot as the prefix delimiter (e.g.,
`bootloadHID.2012-12-08.tar.gz`) and the regex only matches a hyphen.

This addresses these shortcomings by using `[._-]` as the prefix
delimiter and making it optional.

Co-authored-by: Markus Reiter <me@reitermark.us>
2023-10-07 16:37:23 -04:00
Eric Knibbe
075ee81ab7
cmd/fetch: restore --HEAD functionality 2023-10-07 10:50:03 -04:00
Xuehai Pan
6f0d87aace docs: prefer placing shellenv command in rcfile rather than shell profile on Linux 2023-10-07 00:14:26 +08:00
BrewTestBot
798bacaa40
spdx: update license data.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml).
2023-10-06 01:00:21 +00:00
Mike McQuaid
f6bfb8d757
Revert "Revert "standalone/bootsnap: relax restrictions"" 2023-10-05 17:08:55 +01:00
Mike McQuaid
8c91152eb6
Merge pull request #16078 from EricFromCanada/curl-insecure
api: ignore HTTPS errors if minimum curl version isn't installed
2023-10-05 16:30:28 +01:00
Mike McQuaid
2ad5491098
Revert "standalone/bootsnap: relax restrictions" 2023-10-05 08:30:25 +01:00
Mike McQuaid
a8494ba0bb
Merge pull request #16062 from Bo98/bootsnap-relax 2023-10-05 07:33:40 +01:00
Mike McQuaid
1085afcda5
Merge pull request #16086 from issyl0/revision-0-not-allowed-in-text 2023-10-05 07:17:37 +01:00
Eric Knibbe
8646b2cf1f
api: ignore HTTPS errors if minimum curl version isn't installed 2023-10-04 22:24:57 -04:00
Issy Long
5ddebe1640
rubocops/text: Declare "revision 0" in formulae as unnecessary
- This came up in a user contribution recently so here's a RuboCop for it.
2023-10-04 23:28:30 +01:00
BrewTestBot
564fec1579
Update RBI files for parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-10-04 18:44:13 +00:00
BrewTestBot
8dca1dd1f1
brew vendor-gems: commit updates. 2023-10-04 18:38:10 +00:00
dependabot[bot]
4b7948bccd
build(deps-dev): bump parser in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.2.2.3 to 3.2.2.4.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.2.2.3...v3.2.2.4)

---
updated-dependencies:
- dependency-name: parser
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-04 18:34:33 +00:00
Francois-Xavier Coudert
748f060e1b Revert "Version: Improve date version parsing"
This reverts commit 7626bdd1fd84cc5f70c4cb9f7bdf323bb771cf59.
2023-10-04 19:56:21 +02:00
Mike McQuaid
bb39727de6
Merge pull request #16081 from samford/improve-date-version-parsing
Version: Improve date version parsing
2023-10-04 17:44:12 +01:00
Sam Ford
7626bdd1fd
Version: Improve date version parsing
The existing date version parsing regex only matches file names that
have a prefix (e.g., `ltopers-v2017-04-14.tar.gz`), so it doesn't
match files like `2023-09-28.tar.gz`. There are a handful of formulae
that have to manually specify the version as a result (e.g.,
`marksman`, `sqtop`, etc.). `bootloadhid` is also affected but that's
because the filename uses a dot as the prefix delimiter (e.g.,
`bootloadHID.2012-12-08.tar.gz`) and the regex only matches a hyphen.

This addresses these shortcomings by using `[._-]` as the prefix
delimiter and making it optional.
2023-10-04 11:58:25 -04:00
Mike McQuaid
13b01a67da
Merge pull request #16079 from Bo98/mirror-fix
download_strategy: fix mirrors not working
2023-10-04 16:48:06 +01:00
Mike McQuaid
9ee15e02a3
workflows/pkg-installer: fix filename.
This intermediate state got missed during a previous refactoring PR.
2023-10-04 15:34:04 +01:00
Bo Anderson
9c16089e95
download_strategy: fix mirrors not working 2023-10-04 14:28:52 +01:00
Mike McQuaid
c95a26b917
Improve building Homebrew*.pkg
- split jobs into build/test/deploy
- test package on both macOS Intel and Apple Silicon
- cleanup some argument handling
- use `HOMEBREW_MACOS_OLDEST_SUPPORTED` naming to be consistent with
  `brew.sh`
- note in `brew.sh` that `Distribution.xml` also needs updated (and do
  so)
- various other little bits of style cleanup
2023-10-04 10:18:27 +01:00
BrewTestBot
a91289428a
Update RBI files for unicode-display_width.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-10-02 18:41:26 +00:00
BrewTestBot
62edabf7e2
brew vendor-gems: commit updates. 2023-10-02 18:33:42 +00:00
dependabot[bot]
db2cf5ba29
build(deps-dev): bump unicode-display_width in /Library/Homebrew
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width) from 2.4.2 to 2.5.0.
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v2.4.2...v2.5.0)

---
updated-dependencies:
- dependency-name: unicode-display_width
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 18:28:38 +00:00