Commit Graph
50908 Commits
Author SHA1 Message Date
Mike McQuaidandGitHub 76ca8d74e4 Merge pull request #23072 from yo61/ignore-main-package-cooldown
Add `--ignore-main-package-cooldown` to `update-python-resources`
6.0.10
2026-07-13 07:41:16 +00:00
Mike McQuaidandGitHub c658f23932 Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2026-07-13 08:21:23 +01:00
Mike McQuaidandGitHub a76a8f0b5b Merge pull request #23068 from Homebrew/nested-test-bot-in-tmp
test_bot fixes for portable formulae
2026-07-13 07:12:55 +00:00
Mike McQuaidandGitHub 8d4c132268 Merge pull request #23075 from Homebrew/test-unpack-use-mktemp
test/unpack_strategy: use Mktemp to set group
2026-07-13 07:12:53 +00:00
Mike McQuaidandGitHub c7475d7581 Merge pull request #23071 from Homebrew/test_bot-restrict-style-check
test_bot/formulae: only run `brew style` if deps are bottled
2026-07-13 07:12:50 +00:00
Michael ChoandGitHub c34f097077 Merge pull request #23069 from Homebrew/install_steps_spec-ci
test/install_steps_spec: clear HOMEBREW_GITHUB_ACTIONS to allow CI run
2026-07-13 07:12:01 +00:00
Mike McQuaidandGitHub b2d0223d7e Merge pull request #23076 from Homebrew/cask-migrator-both-installed
cask: fix migration when the new cask is already installed
2026-07-13 07:11:47 +00:00
253baf4038 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-13 12:35:30 +08:00
Bevan Kay 3405c57e01 cask: fix migration when the new cask is already installed
`Cask::Migrator.migrate_if_needed` determined the token to migrate from
the new cask's installed caskfile, but that lookup checks the new token
before any old tokens. When both the old and the new cask were installed,
it always found the new cask's own caskfile, decided nothing needed
migrating and left the old cask's Caskroom directory in place. That
directory then loaded as the cask it was renamed to, so the same cask was
listed, reported as outdated and upgraded twice.

Instead, migrate every old token that still has its own Caskroom
directory. When the new cask is already installed under its own token the
old cask is a separate installation that cannot be moved to the new
token, so uninstall it (loaded from its own installed caskfile, so that
its own artifacts are the ones removed) and leave behind the same symlink
that a migration would.

Casks that are renamed into each other can share artifacts, so skip any
artifact that the new cask installs too: uninstalling those would remove
them from the new cask, which stays installed.

Also deduplicate `Cask::Caskroom.casks` so that an old token which has
not been migrated yet cannot list the same cask twice.
2026-07-13 14:26:50 +10:00
Michael Cho ba83dc80b9 test/unpack_strategy: use Mktemp to set group 2026-07-12 21:36:08 -04:00
Ruoyu ZhongandGitHub 0eb3803bf2 Merge pull request #23074 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2026-07-13 00:42:40 +00:00
BrewTestBot 7f7f536c36 Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2026-07-13 00:23:55 +00:00
Robin BowesandGitHub ec153a87a1 Merge branch 'main' into ignore-main-package-cooldown 2026-07-13 00:10:14 +01:00
Michael ChoandGitHub 08a972812c Merge pull request #23070 from Homebrew/unpack_strategy-test-verbose
test/unpack_strategy: run extract with verbose
2026-07-12 22:00:55 +00:00
Robin BowesandClaude Opus 4.8 e5bd6b750c Fix nondeterministic exit status in pip_report cooldown specs
pip_report odies unless $CHILD_STATUS.success?. The new specs stub
popen_read, so $? reflects an unrelated prior subprocess and the specs
SystemExit on some orderings. Force success with a leading `true`, as
the existing filter spec already does.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 21:55:13 +01:00
Robin BowesandClaude Opus 4.8 359d1f7f60 Preserve extras when exempting the main package from cooldown
A package specified with extras (e.g. foo[bar]) must keep them so the
extra's dependencies still resolve. Pass the exempt main package as a
PEP 508 direct reference (name[extras] @ url) rather than a bare URL.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 21:49:59 +01:00
Robin Bowes 5c60b758ab Test that cooldown exemption fails closed without an sdist URL 2026-07-12 21:01:07 +01:00
Robin Bowes dfdab6ae66 Regenerate man page and completions for new switch 2026-07-12 21:01:07 +01:00
Robin Bowes 22e4a21782 Document --ignore-main-package-cooldown opt-out 2026-07-12 21:01:07 +01:00
Robin Bowes 7bbcf1c06d Add --ignore-main-package-cooldown switch to update-python-resources 2026-07-12 21:01:07 +01:00
Robin Bowes 11b3346cc6 Thread main-package cooldown exemption through update_python_resources! 2026-07-12 21:01:06 +01:00
Robin Bowes a829641358 Exempt one package from cooldown in PyPI.pip_report 2026-07-12 21:01:06 +01:00
Michael Cho f82c1564a2 test_bot/formulae: only run brew style if deps are bottled
`brew style` needs to install Homebrew/core formulae to run, but
portable Ruby PRs run on Tier 3 machines resulting in attempting to
source build multiple formulae and failing.

For now, skip `brew style` when bottles are not available (i.e. for
macOS machines). We can consider splitting workflow to 2 separate
runners if we want to test this, i.e. bottling on Tier 3 while running
further tests on Tier 1.
2026-07-12 14:42:59 -04:00
Michael Cho 58ce87e693 test/unpack_strategy: run extract with verbose 2026-07-12 14:17:02 -04:00
Michael ChoandGitHub dd390d9c56 Merge pull request #23067 from Homebrew/sponsors-maintainers-man-completions
Update maintainers.
2026-07-12 17:47:44 +00:00
77d20963e0 test_bot/formulae: apply Copilot suggestion
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-12 13:16:56 -04:00
Michael Cho e0c0c39a5d test/install_steps_spec: clear HOMEBREW_GITHUB_ACTIONS to allow CI run 2026-07-12 13:15:53 -04:00
Michael Cho f156913139 test_bot/formulae_detect: exclude portable when testing default
This avoids trying to rebuild portable formulae again within the nested
test-bot run which may the cause of stalled runs
2026-07-12 13:02:33 -04:00
Michael Cho b126ffa588 test_bot/formulae: run nested test-bot in temporary dir
This provides a clean directory to test bottling so that previously
built bottles don't cause "Unexpected bottle" errors
2026-07-12 12:39:31 -04:00
BrewTestBot 1c69e5fd7e Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2026-07-12 16:37:55 +00:00
Mike McQuaidandGitHub a4b13d4b7b Merge pull request #23051 from Homebrew/tap-new-privileged-containers
Enable privileged tap CI containers
2026-07-12 16:23:49 +00:00
Mike McQuaidandGitHub fa38e69f5c Merge pull request #23065 from hyuraku/formulary-factory-cache-type
Type formulary_factory cache values as Formula
2026-07-12 15:11:19 +00:00
Mike McQuaidandGitHub 92b8b03ba0 Merge pull request #23064 from andrew/command-did-you-mean
Suggest commands for typos
2026-07-12 15:09:42 +00:00
hyuraku 2bdcabe1c6 Refactor formula doubles for nginx and redis in exec_subcommand_spec 2026-07-12 23:49:12 +09:00
Andrew Nesbitt af3973f157 Suggest commands for typos 2026-07-12 15:38:02 +01:00
hyuraku 09517066b0 Fix formulary_factory type to use Formula instances 2026-07-12 22:25:44 +09:00
Mike McQuaidandGitHub 586f1c222e Merge pull request #23063 from hyuraku/truncate-license
github_packages: truncate over-long licenses
2026-07-12 08:00:41 +00:00
hyuraku 9fbd481b0f Implement license truncation logic and add tests for SPDX.truncate_license 2026-07-12 13:04:03 +09:00
Mike McQuaidandGitHub 34c40c18ff Merge pull request #23060 from Homebrew/preserve-quarantine-approval
Preserve cask quarantine approval
2026-07-11 15:31:57 +00:00
Mike McQuaid 0a137ee80b Preserve cask quarantine approval
- Avoid repeated Gatekeeper prompts by inheriting approval only when
  the new app satisfies the old app's designated requirement.
- Preserve quarantine provenance and validate identities through
  Security.framework without invoking `codesign`.
- Keep relocated bottles on the current `codesign` path; link its
  eventual removal to `Homebrew/ruby-macho#997` pure-Ruby signing.
- Keep `release!` for explicit no-quarantine downloads and remove the
  FFI rollout TODOs only after their trials are complete.
2026-07-11 16:11:35 +01:00
Mike McQuaid f9a6801d19 Enable privileged tap CI containers
- Allow Bubblewrap user namespaces in generated GitHub Actions
  container jobs.
- Report the matching container configuration when a GitHub Actions
  container prevents sandbox setup.
2026-07-11 08:17:39 +01:00
Mike McQuaidandGitHub bc79adb5a1 Merge pull request #23020 from bendrucker/bundle-cyclic-tolerance
Warn instead of aborting brew bundle on stale-tab dependency cycles
2026-07-11 07:15:16 +00:00
Mike McQuaidandGitHub c474a98072 Merge pull request #23046 from hyuraku/safe-system-off-kernel
Move `safe_system` off `Kernel`
2026-07-11 07:12:27 +00:00
Mike McQuaidandGitHub 4fe6f8e562 Merge pull request #23056 from Homebrew/bundle-cleanup-stderr
Fix `brew bundle cleanup --force` not cleaning cache when `brew cleanup` warns
2026-07-11 07:12:06 +00:00
Douglas EichelbergerandGitHub 6f701563d5 Merge pull request #23052 from Homebrew/update-rubocop-sorbet
Update rubocop-sorbet to 0.13.0
2026-07-11 07:10:34 +00:00
Patrick LinnaneandGitHub 2aadb41500 Merge pull request #23057 from Homebrew/codeql-ubuntu-latest
workflows/codeql: use ubuntu-latest
2026-07-11 05:02:35 +00:00
hyuraku bae89cb620 Deprecate Kernel#safe_system and Kernel#quiet_system; recommend using Homebrew methods instead 2026-07-11 12:51:46 +09:00
Patrick Linnane e9ee4a979b Fix brew bundle cleanup --force not cleaning cache when brew cleanup warns
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-10 20:21:23 -07:00
Patrick Linnane ea678830d3 workflows/codeql: use ubuntu-latest
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-10 20:11:58 -07:00
Patrick LinnaneandGitHub 8901a9c927 Merge pull request #23055 from branchv/python-docs
docs: remove references to removed `setup_install_args`
2026-07-11 02:36:42 +00:00