localstack / localstack/homebrew-tap
Cask: Calling `postflight` is deprecated
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 7
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
The postflight command seems to be now deprecated by Homebrew:
$ brew install --cask lstk
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the localstack/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/localstack/homebrew-tap/Casks/lstk.rb:39
==> Would install 1 cask:
localstack/tap/lstk
==> Fetching downloads for: localstack/tap/lstk
✔︎ Cask lstk (1.0.0) Downloaded 7.8MB/ 7.8MB
==> Installing Cask lstk
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the localstack/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/localstack/homebrew-tap/Casks/lstk.rb:39
==> Linking Binary 'lstk' to '/opt/homebrew/bin/lstk'
==> Linking Bash Completion 'lstk.bash' to '/opt/homebrew/etc/bash_completion.d/lstk'
==> Linking Fish Completion 'lstk.fish' to '/opt/homebrew/share/fish/vendor_completions.d/lstk.fish'
==> Linking Zsh Completion 'lstk.zsh' to '/opt/homebrew/share/zsh/site-functions/_lstk'
🍺 lstk was successfully installed!
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the localstack/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/localstack/homebrew-tap/Casks/lstk.rb:39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open Casks/lstk.rb and inspect line 39, identified by Homebrew as the deprecated postflight declaration. Update that declaration to use postflight_steps, then run brew install --cask lstk and confirm the deprecation warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100