Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] proliferation of *-cvs spells

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Duane Malcolm <d.malcolm AT auckland.ac.nz>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] proliferation of *-cvs spells
  • Date: Mon, 08 Dec 2003 13:02:07 +1300

One further possibility is to have all versions of a spell in a single directory. For example, for gimp the directory will be:

/var/lib/sorcery/codex/test/gimp/
+-DETAILS
+-DEPENDS
+-BUILD
+-cvs
+-DETAILS
+-BUILD
+-DEPENDS
+-devel
+-DETAILS
+-BUILD
+-DEPENDS
+-bin
+-DETAILS
+-DEPENDS
+-BUILD

Alternatively, the top-level files (BUILD,DEPENDS,DETAILS) could be in a "default" subdirectory

So when you "cast gimp" it will cast the default spell
If you "cast gimp.cvs" is will cast the cvs spell
Similarly for "devel" and "bin"

This might make things prettier. I haven't thought much about this but am just throwing it out there.

It work so that when you "cast gimp.devel" the "default" BUILD script is run and then "devel" BUILD script would be run next if it exists. This way if the BUILD process is the same the "devel" BUILD should not need to exist. Similarly for DEPENDS, CONFIGURE... Or you could use soft links. But this could result in problems when you edit the BUILD for the stable and it screws up the devel build.

As I said I haven't thought too much about it. Someone else may like to.

Duane



Joe Menola wrote:

On Sunday 07 December 2003 5:10 pm, Duane Malcolm wrote:

What happens if you want to cast both version, eg, stable and devel
gimp? Would this make dispelling spells more complex, ie, if I cast gimp
configured to devel and then cast gimp configured to stable, would it
dispel the previous devel version. This certainly adds complexity to the
system.

If this sourcemage is aimed towards users, if someone casts name_of_app
it should install the stable version. If you want something else you
should cast name_of_app-cvs or name_of_app-devel. There could be a
standard format for these kind of spell.


I like this approach. Personally I think it should be employed instead of using seperate grimiores...including test, games and rejected. By using a single grimiore and appending cvs, test, games and rejected to the spells name it simplifies the use of sorcery system-update.
Having to swap grimiores and placing spells on hold is a pain.
JMO

-jm

Having all versions of a spell in one may make the maintanance of a
spell more difficult.

Cheers, Duane.

evraire AT tuwg.com wrote:

I'd like to cast just one spell and be prompted whether I want
release or cvs version.

Like the Firebird spell for example! Sometimes when I know what app I
want to install I simply try "cast name_of_app", and having the prompt
for the cvs/devel version in the spell at least makes me aware that the
option exists!

vote: +1

Jonathan Evraire
evraire at tuwg.com


-----------------------------------------
Message sent via Toad-Mail.Net
Anti-spam notice, this message originated from IP Address: 66.131.185.248
-----------------------------------------
_______________________________________________
SM-Grimoire mailing list
SM-Grimoire AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-grimoire

_______________________________________________
SM-Grimoire mailing list
SM-Grimoire AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-grimoire


_______________________________________________
SM-Grimoire mailing list
SM-Grimoire AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-grimoire






Archive powered by MHonArc 2.6.24.

Top of Page