Comments (7)
-
This is a duplicate for #231 , caused by changes in brew itself.
-
Multiple casks for pin command is not supported, but you're right that it might make sense to be consistent with this as other commands support it.
from homebrew-cask-upgrade.
Thanks @ondrejfuhrer for your comments.
from homebrew-cask-upgrade.
I assume this was fixed by #236 ? Can you confirm, @hao-lh ?
from homebrew-cask-upgrade.
@ondrejfuhrer brew cu pinned
still fails:
homebrew-cask-upgrade on master
❯ git describe
v2.0.0-235-g9cfd043
❯ brew cu pinned
Error: undefined method `versions' for #<Cask microsoft-edge>
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:189:in `block in output_print_pin_table'
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:185:in `each'
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:185:in `each_with_index'
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:185:in `output_print_pin_table'
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:171:in `print_pin_table'
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/bcu/command/pin_list.rb:20:in `list_pinned'
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/bcu/command/pin_list.rb:9:in `process'
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/bcu.rb:25:in `process'
/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/cmd/brew-cu.rb:75:in `<top (required)>'
/opt/homebrew/Library/Homebrew/extend/kernel.rb:10:in `require'
/opt/homebrew/Library/Homebrew/extend/kernel.rb:10:in `require?'
/opt/homebrew/Library/Homebrew/brew.rb:96:in `<main>'
homebrew-cask-upgrade on master
❯ brew cu unpin microsoft-edge
Unpinned: microsoft-edge
❯ brew cu pin microsoft-edge
Pinned: microsoft-edge in version 113.0.1774.35
from homebrew-cask-upgrade.
I assume this was fixed by #236 ? Can you confirm, @hao-lh ?
Hi @ondrejfuhrer, did you mean 1st issue or 2nd one?
I tested 2nd one with multiple chain input, only 1st one would take effect as before.
brew cu unpin zoom pycharm
Unpinned: zoom
from homebrew-cask-upgrade.
I assume this was fixed by #236 ? Can you confirm, @hao-lh ?
Hi @ondrejfuhrer, did you mean 1st issue or 2nd one?
I tested 2nd one with multiple chain input, only 1st one would take effect as before.
brew cu unpin zoom pycharm
Unpinned: zoom
Yes, there is only single cask supported.
from homebrew-cask-upgrade.
@ondrejfuhrer
brew cu pinned
still fails:homebrew-cask-upgrade on master ❯ git describe v2.0.0-235-g9cfd043 ❯ brew cu pinned Error: undefined method `versions' for #<Cask microsoft-edge> /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:189:in `block in output_print_pin_table' /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:185:in `each' /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:185:in `each_with_index' /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:185:in `output_print_pin_table' /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/formatter.rb:171:in `print_pin_table' /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/bcu/command/pin_list.rb:20:in `list_pinned' /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/bcu/command/pin_list.rb:9:in `process' /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/bcu.rb:25:in `process' /opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade/cmd/brew-cu.rb:75:in `<top (required)>' /opt/homebrew/Library/Homebrew/extend/kernel.rb:10:in `require' /opt/homebrew/Library/Homebrew/extend/kernel.rb:10:in `require?' /opt/homebrew/Library/Homebrew/brew.rb:96:in `<main>' homebrew-cask-upgrade on master ❯ brew cu unpin microsoft-edge Unpinned: microsoft-edge ❯ brew cu pin microsoft-edge Pinned: microsoft-edge in version 113.0.1774.35
Sorry for delayed answer, this should be fixed.
from homebrew-cask-upgrade.
Related Issues (20)
- Seems unnecessary in favor of `brew upgrade --greedy` anymore? HOT 1
- Trying to pin VirtualBox<7 HOT 4
- The tool is suggesting outdated version as upgradable HOT 5
- homebrew/bundle not included , how to install ? HOT 3
- Undefinded method for nil:NilClass HOT 18
- [FR] Upate formules HOT 5
- Cask with same name as formula leads to formula being upgraded/installed instead of cask HOT 1
- brew doctor reports error for homebrew-cask-upgrade HOT 2
- Error: Failure while executing; `/usr/bin/sudo -E -- /bin/cp -pR HOT 6
- Error: undefined method `versions' for Cask HOT 1
- make -a as default ? HOT 2
- How to relink cask packages after accidentally upgrading them outside of Homebrew? HOT 3
- Upgrading cask: It seems there is already an App Suite at ... HOT 1
- `--no-brew-update` overrides `--all` HOT 5
- Outdated pinned color HOT 1
- Asks password multiple times in succession to upgrade each cask HOT 1
- Error: Cask 'omnigraffle' is unreadable: uninitialized constant Livecheck::Formula HOT 1
- Error: undefined method `downcase' for nil:NilClass HOT 3
- Allowing * Glob as a Placeholder in Search HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-cask-upgrade.