Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
add command 'cask outdated' #2309
Disclaimer for the unchecked item
A couple of weeks ago I was missing the
How it works:
The version of the Cask from tap is compared against the currently installed version of the application (
If the current installed version is the same as the tap version, the Cask is not reported as outdated, even if there are other (different) local versions.
The format of the command is the same as the output of
Other points of interest
The new functionality is accompanied by tests. The documentation (the
You can’t compare “size”, because versions are non-standard, for us. A version can just as well be a number or an intelligible string. The only comparison that can be made is “is it different?”.
You both are right regarding the version comparison. I had semantic versioning in mind but I overlooked that, as strings, "10" is smaller than "9". And semantic versioning is a foolish assumption in this case, anyway.
Simplified the version comparison in a new commit.
@joshka Thank you for your appreciation. I'm sorry my PR rendered your work useless, it was not my intention. You can still implement