puppet-homebrew icon indicating copy to clipboard operation
puppet-homebrew copied to clipboard

Fix version retrieval logic

Open TheKevJames opened this issue 9 years ago • 2 comments

[kevin@aerobox(zsh):~] brew list --versions docker
docker 1.10.1 1.10.2 1.9.1
[kevin@aerobox(zsh):~] brew list --versions docker-machine
docker-machine 0.5.5 0.6.0

TheKevJames avatar Feb 26 '16 22:02 TheKevJames

I think this is solved already since they return the same output now for brew and brew cask

jordigg avatar Nov 03 '16 13:11 jordigg

To provide more context: my original worry in opening this issue was that the logic to get the currently installed version of a package may return any of the installed package versions rather than just the latest, since I originally wrote the logic without realizing that multiple versions could be installed. I don't think any changes we've made would have fixed this.

TheKevJames avatar Nov 12 '16 02:11 TheKevJames