On Jun 22, 2009, at 15:50 , Josh French wrote:
Not obvious, but Josh French has committed changes for the next
release that will allow extension developers to configure
dependencies
from the extension which might help with the installation process as
far as things like error messages go. There will be more development
on this in the future.
One thing that we don't have is a way of ensuring that the proper
version of an extension is installed from the get-go. I'm in the
arguably bad habit of manually installing everything, so I was
unaware of some of the problems that occur when trying to install
extensions via script/extension or ray.
To wit, using an installer to install a 0.8-style extension will
fail if your base Radiant install is 0.7 or earlier. Because the
extension is checked out at its head, the environment fails and
neither rake:migrate nor rake:update can be run until the extension
is frozen to a compatible tag/version. This could be solved by
adding a version argument to the install method, or by baking
knowledge of the current Radiant version into the installer.
I've been tagging the extensions I'm involved with for compatibility
at versions 0.7.1 and 0.8.0, but I've also been wondering if it
wouldn't be better to maintain those via branches instead of tags --
have a 0.7 branch to hold bugfixes, but continue new development in
0.8 and so on.
Thoughts on how best to manage extensions across multiple, possibly
incompatible, versions of Radiant?
Shouldn't we just use rubygems? It already supports dependency
management and versioning (this looks like the rails plugins vs gems
discussion).
We could version them with the radiant version so we could automate
getting the proper version:
- 0.7.1.2 (works on radiant 0.7.1)
- 0.8.0.2 (works on radiant 0.8.0)
You can also have a nice list of all radiant extension:
gem list --remote | grep radiant*.extension
Petrik
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant