Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] Version Dependancy

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • To: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • Cc: Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire] Version Dependancy
  • Date: Sun, 22 Jun 2003 15:09:49 -0500 (CDT)



On 21 Jun 2003, Dufflebunk wrote:
> There are two solutions I can thing of:
> a) Only a subset of all versioning system can be used for version
> ordering (equality is not a problem), probably the standard (GNU?) and
> date, or
> b) Every spell that wants stuff to be able to depend on a version of
> itself must include a file which has the versions, in order, that it has
> gone through.

A third possible solution, which may be a bit more work on the shoulders
of gurus, is to NOT use the actual version numbers from software vendors,
but to instead use our own version numbers. In most cases, this could
simply be the release date of the version (i.e. 200306211431 for 6/20/2003
2:31pm). This may fall apart when there are multiple branches of the same
program in the grimoire, but those would most likely be included as
separate spells. However, I think it would solve the problem with bad
version numbering schemes from the various projects.

I guess I'm not so sure if its a good idea to tackle this as a new feature
to sorcery. Perhaps making this a goal for the rewrite of sorcery, if
that's still in the roadmap! To do it right, I think the whole grimoire
would need to be restructured so that it can easily contain multiple
versions of the same spell. Using one file for each version with functions
like depends(), configure(), build(), post_install() could work. The
grimoire could keep the last X versions. Maybe including the latest
ChangeLog from package in the grimoire would be helpful as well. Just some
ideas...

-casey






Archive powered by MHonArc 2.6.24.

Top of Page