Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6861] apprentice

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6861] apprentice
  • Date: Sat, 12 Feb 2005 13:12:13 -0800 (PST)

http://bugs.sourcemage.org/show_bug.cgi?id=6861





------- Additional Comments From ruskie AT email.si 2005-02-12 13:12 -------
This is how I envision it and it's how I plan to make it(if nobody stops me).

a) have a MAP file in each spell that simply lists the commands it provides

b) have a script(apprentice) which reads the MAP files and creates a single
GLOBAL-MAP file to prune any doubles and such(that might be a prob)

c) have apprentice create sym/hardlinks to cast the spells that provide the
files "directcly calling cast spellname" here... and this would be somewhere
like /var/lib/apprentice and it would have to be attached to path at the end.

In other words:
apprentice reads the MAP files... puts them togheter, get's the commands
sorted,
and creates links to "cast spellname"(though I was thinking here to put it to
apprentice "spellnames" and then apprentice calls cast spellname so that it
could support the same command in multiple files... Also this way I could
remove
the links so that there doesn't come to any mixups...

Also I don't want this to be a sorcery feature, the only modification would be
needed to support MAP files and of course a lot of hard work from the grimoire
team to equip the spells with the MAP file...

I dislike a global map file only for one reason... hard to easily extend
that's why I want a MAP file for each spell and let apprentice sort them into
a
global file.

MAP file would be a simple file with a 1 line 1 command
GLOBAL-MAP file would be
command="spells"

and the final sym/hardlink would be "apprentice spellname" or however that's
done...

That's my plan... if anyone disagres or want's something done different... I
know afreydknot you want a global-mapfile only... but that won't happen...
it's
not easy to extend...

Hope this pots it into a more proper light... Also am calling on ppl to help
with this...

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page