Skip to Content.
Sympa Menu

sm-grimoire - [SM-Grimoire][Laurent Wandrebeck <wandre.l@free.fr>] spell names

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: julian AT openit.de (Julian v. Bock)
  • To: Source Mage Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: [SM-Grimoire][Laurent Wandrebeck <wandre.l AT free.fr>] spell names
  • Date: Wed, 31 Jul 2002 16:59:48 +0200

Hi

I have forwarded this mail from Laurent Wandrebeck.

Julian

--- Begin Message ---
  • From: Laurent Wandrebeck <wandre.l AT free.fr>
  • To: julian AT openit.de
  • Subject: ryan disapeared ?
  • Date: Wed, 31 Jul 2002 16:54:51 +0200
hellp julian !
i'm really sorry to annoy you with this but here is the
situation: i've got a poor 28.8 modem per minute fee, and
i can't mail anymore with the adress i subscribed to the
mailing lists, so each of my post must be approved.
I've posted on monday, but it seems that ryan has
fallen into an abyss, so i would be glad if you could
post this for me :)

hi everyone !
I'd like to propose a simple and quite stupid idea :
you all know that spells are case sensitive.
for example WindowMaker, MPlayer, which name
reflects archive name for download.
Anyway, you all know that real archive name
is defined into DETAILS with SPELL and VERSION
variables.
so why do we keep having spell names with
uppercase characters ? it's harder to remember,
quite messy IMHO, and has no use at all.
what do you think of renaming all spells that
contains uppercase characters ?
i know that would cause some mess while the entire
grimoire would be updated, but i'm on the way
writing a bash script which would do it for
the entire grimoire at once.
what do you think of it ?
(addon)
well, i've finished the shell script to lowercase spell names,
and take care of DEPENDS and CONFLICTS. I had to edit wget's CONFLICT
by hand because it's the only one containing a var definition
(beware, it was tested with a two weeks old grimoire) :
if spell_installed w3c-libwww; then
dispel w3c-libwww
CAST_LIBWWW="y" <- this one would become lowercased
fi

i hope this little work will be usefull for the KISS principle
(Keep It Simple and Stupid), and I think such "cleaning" is necessary
to go to a shiny 1.0 :-) You'll find as attached file the
script, and i'd like you to test it.
I hope this won't cause any problem due to sorcery, gaze
or summon "badly" coded which take cares of spell name instead of
SPELL and VERSION variables, or any mistake on my own...
i've quickly taken a look at POST* and PRE* but i've found nothing
that would need some processing to take care of lowercasing.
I don't really know if it is useful to lowercase files present
in /var/log/sorcery/compile/, /var/log/sorcery/install/ and
/var/log/sorcery/md5sum/ so i didn't make any function for it,
as my knowledge of sorcery and such is limited. if such a thing is
needed, please tell me and i'll add a function for it, or apply
the do it yourself ;). I know that my way of coding will probably
frighten some ppl, but i'm not a bash guru, just some kind of a beginner.

best regards,
Laurent.

Attachment: spell_lowercasing
Description: Binary data

Attachment: pgpS27e4hmsgF.pgp
Description: PGP signature


--- End Message ---


  • [SM-Grimoire][Laurent Wandrebeck <wandre.l AT free.fr>] spell names, Julian v. Bock, 07/31/2002

Archive powered by MHonArc 2.6.24.

Top of Page