grails list-plugins
will list out the available versions and what version you currently have installed it doesn't really highlight the plugins you could upgrade. I threw this script together this morning to do exactly that. It will simply check the plugin versions you have installed against all configured repositories and notify you of any that could be updated.
ad-hockery: /ad·hok'@r·ee/, n. Gratuitous assumptions... which lead to the appearance of semi-intelligent behavior but are in fact entirely arbitrary. [Jargon File]
15 Jun 2009
Checking for plugin updates
If you're anything like me you probably like to keep all your Grails plugins updated to the latest versions. It's quite easy to miss a release announcement and not realise there's a new version available. Although
That's pretty slick - you should submit this to the Grails JIRA to be included as a core script.
ReplyDeleteI love the script... so, how does one execute it?
ReplyDeleteput it in your project script directory then use `grails check-plugin-versions`
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWorks beautifully! Thanks for doing this. Definitely should be in the Grails core.
ReplyDeleteMy only suggestion would be that the results list should include a column with the plugin's URL, even if it's just http://www.grails.org/plugin/plugin-name, so that you can go right there to check out the new features/documentation.
I committed the script to the Grails core today. I did change the name so you need to use 'grails list-plugin-updates'.
ReplyDeleteThat's a really nice idea about including the documentation URL, I'll see if I can do that.