Deprecate tap formulas now that PowerShell is in Homebrew Core#1348
Open
andyleejordan wants to merge 3 commits into
Open
Deprecate tap formulas now that PowerShell is in Homebrew Core#1348andyleejordan wants to merge 3 commits into
andyleejordan wants to merge 3 commits into
Conversation
PowerShell is now published to Homebrew Core as the community-maintained `powershell` formula (Homebrew/homebrew-core#268901), so the Homebrew project itself maintains a formula in our place. We were subsumed, but in a good way: there's no reason to keep pointing people at this broken, unmaintained tap. Add `deprecate!` to the three still-active formulas so anyone installing via `powershell/tap/*` gets a warning steering them to `brew install powershell`: - `powershell`, `powershell-lts`, and `powershell-preview` get `deprecate! date: "2026-06-18", because: "is now maintained by Homebrew Core as the `powershell` formula"` - `powershell-daily` is left alone since it's already `disable!`d, which supersedes `deprecate!` I chose `deprecate!` over `disable!` so `brew install` still works (just warns) and the install-and-test CI keeps passing. The custom `because:` string satisfies Homebrew's `DeprecateDisableReason` cop (no leading `it`, no trailing punctuation) and is verified with `brew style`. Follow-up to #1347, which added the README deprecation notice. Drafted by Copilot (Claude Opus 4.8). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The `powershell`, `powershell-lts`, and `powershell-preview` install/test jobs were already failing: the formulas no longer build now that `depends_on macos: :high_sierra` is disabled upstream (#1322, #1339, #1341), and we just deprecated them in favor of Homebrew Core. There's nothing left worth testing or auto-updating before the repo is archived, so drop the formula CI rather than chase green checks. - Delete the `PR-powershell{,-lts,-preview}.yml` pull-request workflows - Delete the `cron-powershell{,-preview}.yml` auto-update workflows - Delete the `composite/{prep,installAndTest,createPR}` actions they used `scorecard.yml` is left in place since it's unrelated to formula CI and still passes. Drafted by Copilot (Claude Opus 4.8). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR deprecates the tap’s PowerShell formulas now that the stable powershell formula is available in Homebrew Core, and appears to simultaneously remove this tap’s CI/update automation workflows ahead of archiving.
Changes:
- Add
deprecate!declarations (dated 2026-06-18) topowershell,powershell-lts, andpowershell-preview. - Remove multiple GitHub Actions workflows (PR + scheduled update) and the composite actions they depended on.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| Formula/powershell.rb | Adds deprecate! metadata for the stable formula. |
| Formula/powershell-lts.rb | Adds deprecate! metadata for the LTS formula. |
| Formula/powershell-preview.rb | Adds deprecate! metadata for the preview formula. |
| .github/workflows/PR-powershell.yml | Deletes PR CI workflow for stable formula. |
| .github/workflows/PR-powershell-preview.yml | Deletes PR CI workflow for preview formula. |
| .github/workflows/PR-powershell-lts.yml | Deletes PR CI workflow for LTS formula. |
| .github/workflows/cron-powershell.yml | Deletes scheduled auto-update workflow for stable formula. |
| .github/workflows/cron-powershell-preview.yml | Deletes scheduled auto-update workflow for preview formula. |
| .github/workflows/composite/prep/action.yml | Deletes shared composite “prep” action used by workflows. |
| .github/workflows/composite/installAndTest/action.yml | Deletes shared composite install/test action used by workflows. |
| .github/workflows/composite/createPR/action.yml | Deletes shared composite PR-creation action used by scheduled workflows. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Homebrew Core publishes only the stable `powershell` formula; it has no LTS or preview equivalent. The previous `because:` text claimed these formulas are "now maintained by Homebrew Core as the `powershell` formula," which misleads `powershell-lts` and `powershell-preview` users into expecting a matching Core formula that does not exist. State instead that the tap is unmaintained now that PowerShell ships in Core, and direct users in the comment to the stable formula or an official PowerShell package. The stable `powershell.rb` wording is accurate and is left unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #1347, which added the README deprecation notice. This adds the matching
deprecate!declarations to the formulas themselves and removes the formula CI ahead of archiving the repo.PowerShell is now published to Homebrew Core as the community-maintained
powershellformula (Homebrew/homebrew-core#268901), so the Homebrew project itself now maintains a formula in our place — we were subsumed, but in a good way.Changes
deprecate!declaration (dated 2026-06-18) topowershell,powershell-lts, andpowershell-preview.powershellpoints at its direct Core replacement: "is now maintained by Homebrew Core as thepowershellformula".powershell-ltsandpowershell-previewuse "is unmaintained now that PowerShell is published to Homebrew Core", since Core has no LTS or preview formula — their comments direct users to the stablepowershellformula or an official PowerShell package.powershell-dailyis left as-is since it already hasdisable!, which supersedesdeprecate!.brew installagainst macOS versions the formulas no longer support (upstreamdepends_on macos: :high_sierrais disabled), so they can only fail now;scorecard.ymlis the one workflow kept.Anyone who runs
brew install powershell/tap/powershell(or-lts/-preview) now gets a deprecation warning, e.g.:Notes
deprecate!overdisable!sobrew installstill warns rather than hard-erroring for anyone who hasn't migrated yet.because:strings satisfy Homebrew'sDeprecateDisableReasoncop (no leadingit, no trailing punctuation) and passbrew style.Closes #1342.