Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Cleanse in Stable

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Paul <dufflebunk AT dufflebunk.homeip.net>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] Cleanse in Stable
  • Date: Thu, 20 May 2004 13:14:50 -0400

As aluded to in a previous lengthy email, we're going to have a problem
with the next stable release. The new dependency stuff is sufficiently
picky that the screwed up state/depends files most people have will
break cast. The symptom of this is cast exiting for no particular
reason. It'll give errors about not finding targets and quit. In order
to fix this, a new script called cleanse needs to be run. It does a
numebr of things, cast --fix and gaze --prune have been moved into
cleanse as cleanse --fix and cleanse --sweep, in addition it cleanse up
the list of installed packages (checks for spells that are installed but
the spell doesn't exist any more), and most importantly fixes the
dependency tree.

The problem is that this script MUST be run by everyone who will be
upgrading to the upcoming stable release. Cleanse requires user input to
work properly and can take a while to run, so just having it run
automaticly all the time is not sufficient. What I would like to do is,
in the next stable release, have it run cleanse the first time cast is
run with that version. The change cannot be made to the sorcery script,
since the new one isn't run until /after/ the update is done (and after
potential recasting of updated spells).

This is not a very nice solution, very much a hack, but very much a
temporary thing. The following release should use a much nicer upgrade
mechanism.

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page