[SM-Discuss] splitting cvs spells
Alexander Tsamutali
astsmtl at gmail.com
Sat Oct 7 05:12:53 EDT 2006
> The force_depends would be conditional upon the gtk+ version. So it
> wouldn't force recompilation unless the version is different. "version
> is different" of course could be defined as "major version bump" so
> minor version bumps would not force recompilation. Spells have a pretty
> wide range of freedom over how they use an interface. Please consider
> the possibilities more carefully.
You mean something like:
depends gtk+2
if installed_version gtk+2 <= 2.16 ; then
force_depends gtk+2
fi
Yes that is what i want, but IMHO it would be better to put this code
into sorcery, not in spell.
> Please explain what exactly you want sorcery to do, and how that
> functionality is not currently possible _in_any_way_ with existing
> interfaces sorcery already provides to spells.
I found this draft:
http://wiki.sourcemage.org/Versioning
That is exactly what i want! :-)
--
Alexander Tsamutali
More information about the SM-Discuss
mailing list