38364 Commits

Author SHA1 Message Date
Mike McQuaid
de575da014
Merge pull request #16088 from Homebrew/revert-16062-bootsnap-relax
Revert "standalone/bootsnap: relax restrictions"
2023-10-05 08:43:31 +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
Mike McQuaid
561c12215e
Merge pull request #16087 from Homebrew/sponsors-maintainers-man-completions 2023-10-05 07:16:35 +01:00
Mike McQuaid
b9756be352
Merge pull request #16084 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.2.2.4 2023-10-05 07:14:15 +01:00
Mike McQuaid
c5c9d2659f
Merge pull request #16082 from Homebrew/pkg_tweaks 2023-10-05 07:12:09 +01:00
Eric Knibbe
8646b2cf1f
api: ignore HTTPS errors if minimum curl version isn't installed 2023-10-04 22:24:57 -04:00
BrewTestBot
9c03b9ec66
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-10-05 00:05:49 +00: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
Mike McQuaid
ec5ad356a3
Merge pull request #16083 from fxcoudert/revert
Revert "Version: Improve date version parsing"
2023-10-04 19:12:36 +01: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
5c5ac49a39
More Homebrew .pkg improvements
- test on more macOS versions and improve the test names
- add a more resilient and less disruptive version of changing `git`'s
 `safe.directory` configuration
2023-10-04 18:32:08 +01: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
75b18b5afe
Merge pull request #16080 from MikeMcQuaid/pkg_installer_fix_filename
workflows/pkg-installer: fix filename.
2023-10-04 15:50:19 +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
f61e4ee872
Merge pull request #16077 from Homebrew/build_pkg_improvements
Improve building Homebrew*.pkg
2023-10-04 10:34:50 +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
Mike McQuaid
d0eef12ea4
Merge pull request #16076 from apainintheneck/fix-md-linter-errors
Fix markdown linter errors
2023-10-03 12:52:17 +01:00
apainintheneck
2030f07132 Fix markdown linter errors
v0.13 of the `markdownlint` gem just got released and it has
a few new rules which are docs ended up failing. This fixes
those linter errors so that CI is no longer red.

Rules:
MD055 - Tables: Each row must start and end with a '|'
MD057 - Tables: In the second row every column must have at least '---',
        possibly surrounded with alignment ':' chars
2023-10-02 22:42:39 -07:00
Bo Anderson
c502eb3ca9
Merge pull request #16072 from Homebrew/dependabot/bundler/Library/Homebrew/unicode-display_width-2.5.0
build(deps-dev): bump unicode-display_width from 2.4.2 to 2.5.0 in /Library/Homebrew
2023-10-03 02:15:32 +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
Mike McQuaid
b855a9eae8
Merge pull request #16071 from Homebrew/pkg_tweaks
workflows/build-pkg: tweak some variables.
2023-10-02 16:55:51 +01:00
Mike McQuaid
def7ab4103
brew.sh: improve/add comment for supported macOSs. 2023-10-02 16:41:51 +01:00
Mike McQuaid
a94ff572f7
workflows/build-pkg: tweak some variables.
- instead of setting a static `PKG_KEYCHAIN_PASSWORD` secret, generate
  a random password from `openssl rand` instead.
- use `PKG_APPLE_ID_EMAIL` which makes the fact it's an email a bit
  more obvious. I've created this new secret already and will delete the
  old one after this is merged.
- bump the latest supported version of macOS
2023-10-02 16:41:31 +01:00
Mike McQuaid
78e74018a3
Merge pull request #16070 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2023-10-02 12:47:52 +01:00
Mike McQuaid
d2f07f884d
Merge pull request #16069 from apainintheneck/handle-name-conflicts-in-to_paths
cli/named_args: better handle name conflicts in #to_paths
2023-10-02 12:45:12 +01:00
BrewTestBot
dda5db8ba7
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-10-02 00:05:50 +00:00
apainintheneck
23b277bbd7 cli/named_args: better handle name conflicts in #to_paths
Before we used to evaluate all named arguments as local paths
first. This means that the following could be a name conflict.

$ brew edit src

If there was a local file or directory named src, it would default
to that. Otherwise it would search for a formula/cask with the
same name and return that.

Now it will only default to the local path if the named argument
starts or ends with a slash ('/') or includes a period ('.').
This means that in the event of a name clash with a normal package
name it will default to the package instead of the local file.

It also fixes an edge case where the following would be interpreted
as a tap name.

$ brew edit /src
2023-10-01 15:51:02 -07:00
Mike McQuaid
affc4c01aa
Merge pull request #16068 from J-M0/fish-shellenv
fix `eval (brew shellenv)` from exiting with status 1 in fish
4.1.14
2023-10-01 18:58:57 +01:00
Mike McQuaid
034a6d65a5
Merge pull request #16066 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2023-10-01 16:13:32 +01:00
Mike McQuaid
c325404054
Merge pull request #16061 from MikeMcQuaid/sudo_through_sudo_user
Add HOMEBREW_SUDO_THROUGH_SUDO_USER
2023-10-01 16:04:21 +01:00
Mike McQuaid
a0805d8678
Merge pull request #16059 from MikeMcQuaid/whoami
Improve use of `whoami`
2023-10-01 16:04:00 +01:00
BrewTestBot
9fe00217cf
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-10-01 00:07:05 +00:00
James Morris
793831cb93 fix eval (brew shellenv) from exiting with status 1 in fish
fish's `set` doesn't modify the exit status when assigning a variable.
This means that `set -q VAR; or set VAR ...` will return an exit status
of 1 even if the variable is suceessfully set. By switching the commands
to `! set -q VAR; and set VAR ...`, this prevents the 1 from propogating
when running `eval (brew shellenv)`.
2023-09-30 17:39:39 -04:00
Alice Carroll
5bd9fe7303
Add a few environment variables important for editors 2023-09-30 05:51:36 +03:00
Kevin
043aca2df4
Revert "Revert "service: support multiple sockets in DSL"" 2023-09-29 19:10:13 -07:00
Bo Anderson
7fcd5b000d
standalone/bootsnap: relax restrictions 2023-09-30 01:49:54 +01:00
Mike McQuaid
eb1355e624
Add HOMEBREW_SUDO_THROUGH_SUDO_USER
This environment variable allows telling Homebrew to use the `SUDO_USER`
variable to `sudo` through that user when Homebrew (Cask) attempts to
run `sudo`.

While we're here, clarify in some messaging that we're running `sudo`
and that that's the password we're asking for; the specific password is
configuration dependent and not the specific password for the user.

Similarly, remove the `Package installers may write to any location`
output; it's kinda spammy and doesn't feel like the right place.
2023-09-29 18:49:44 +01:00
Mike McQuaid
5ec560a4ba
Merge pull request #16060 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-09-29 15:04:23 +01:00
BrewTestBot
6101577a4f
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-09-29 13:51:28 +00:00
Bo Anderson
196b26bc4e
Merge pull request #16056 from Bo98/test-ruby-3.1
Test on Ruby 3.1
2023-09-29 14:50:26 +01:00