script/plugin now keeps track of installation, can list urls/revisions/install-dates/plugin-locally-hacked? and update.
Update Use Vendorer, its not entagled with rails / simpler.
There is a plugin in vendor/plugins and you don`t know where it came from ?
Rails 2: Use script/plugin
instead of rails plugin
rails plugin install git://github.com/grosser/tracked_plugins.git
Reinstall so plugin meta data is available for tracked_plugins too.
rails plugin install --force git://github.com/grosser/tracked_plugins.git
Meta info/updates are only available for newly installed plugins.
As usual:
rails plugin install git://github.com/grosser/parallel_tests.git
With revision and installed_at date
rails plugin list
parallel_tests git://github.com/grosser/parallel_tests.git b195927a98aa351fcefef20730a2fdad7ff3efd5 2010-01-10 15:46:44
Already most recent revision
rails plugin update parallel_tests
Plugin is up to date: parallel_tests (b195927a98aa351fcefef20730a2fdad7ff3efd5)
Update needed
rails plugin update parallel_tests
Reinstalling plugin: parallel_tests (b195927a98aa351fcefef20730a2fdad7ff3efd5)
Unpacking objects: 100% (21/21), done.
From git://github.com/grosser/parallel_tests
* branch HEAD -> FETCH_HEAD
--log
== show available updatesAlready up to date and unmodified
rails plugin info parallel_tests
checksum: 8a6d69d6c7fb0928ccae8b451a2914eb
locally_modified: No
installed_at: Sun Jan 10 15:59:27 +0100 2010
revision: b195927a98aa351fcefef20730a2fdad7ff3efd5
updateable: No
uri: git://github.com/grosser/parallel_tests.git
With available updates and --log
rails plugin info --log parallel_tests
checksum: 3b243eaad567166d1538a5ffad31fec8
installed_at: Wed Jan 13 21:10:04 +0100 2010
locally_modified: No
revision: a0741c68326d42b726a2ec3c3780d8559fa8404b
updateable: Yes
uri: git://github.com/grosser/parallel_tests.git
available updates:
b195927a98aa351fcefef20730a2fdad7ff3efd5 4 weeks ago improve docs
ea7eab3544c641dc6a965a1af45d36cdce3f0bd5 4 weeks ago Add support for parallel_spec.opts
115e7a802905c06058444764b059763edc06d277 3 months ago micro doc change
rails plugin update all
rails plugin info all
Michael Grosser [email protected] Hereby placed under public domain, do what you want, just do not hold me accountable...