sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
- To: Tony Smith <tony AT smee.org>
- Cc: Grimoire <sm-grimoire AT lists.ibiblio.org>
- Subject: Re: [SM-Grimoire] Deleting spells...
- Date: Fri, 05 Sep 2003 14:22:32 -0000
Removal of old spells is a problem. It can be solved within the spell
itself by adding a warning to to BUILD or PRE_BUILD, then later, it can
be made an empty spell with a cast trigger to dispel_self. However, the
difficult part is knowing how long to leave the spell in these two
states? If the spell warns for a month, dispels itself for a month, and
someone only updates their grimoires after that, then the spell is just
gone.
Someone has done a similar thing with renaming spells, but I can't
remember who.
If the grimoire team decides to take this approach, they'll have to
figure out how long the spells stay in each state. Could we have a
Removal grimoire where these spells would get moved?
On Fri, 2003-09-05 at 04:22, Tony Smith wrote:
> Hi,
>
> I've just had a problem where some deleted spells have cost me about a day
> and
> a half of rebuilding, and my conclusion is that a really useful addition to
> sorcery and the grimoires would be to provide for removal of redundant
> packages as part of spell casting - after getting confirmation from the
> user
> of course! By this I mean that spells could enter a "to-be-deleted" state
> before actually being deleted. They could still be cast - subject to a
> warning - but updates should prompt to dispel these spells.
>
> None of the above would have prevented me hitting the problem as it turns
> out,
> but it would have made it easier for me to cope with at a time of my
> choosing.
>
> What happened was this. I ran an update, and in the output noticed that
> Xft,
> Xft2 and Xrender were no longer in the grimoire. I wondered about that, and
> looking in Perforce, I found this:
>
> Change 10741 by arwed_von_merkatz@arwed-Otherland on 2003/03/27 20:10:27
>
> removed the Xft1 Xft2 and Xrender spells
> i grepped through the whole grimoire, no references to these
> spells
> anymore
>
> (not blaming you Arwed, it was an easy mistake to make and there's not
> really
> a good way of handling this at the moment)
>
> So I thought, OK I might as well dispel them. After that all hell broke
> loose.
> OK, there are no references to these spells in any DEPENDS files, but
> that's
> not to say they've not been used - several packages look for the libXft in
> their configure scripts and they will use it if it's installed.
>
> I ended up having to rebuild almost every X based spell I had cast ("cast
> --fix" wasn't doing them in the right order for some reason). Then when I
> still couldn't get Mozilla to cast, I found this in the BUILD.
>
> ./configure \
> --prefix=$INSTALL_ROOT/usr \
> --with-x \
> --with-pthreads \
> --enable-xft \ <<<------ YIKES!
>
> So
>
> (a) when you use --enable-XXX in a BUILD, please take care to include XXX
> in
> the DEPENDS if appropriate and
>
> (b) when you search for references to a spell don't just rely on the
> DEPENDS
> files.
>
> And lastly, if you still have Xft, Xft2 and Xrender installed on your
> machine,
> then this problem is out there waiting for you. Either don't dispel them,
> or
> be prepared to do a fair amount of casting.
>
> Tony
>
> _______________________________________________
> SM-Grimoire mailing list
> SM-Grimoire AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
-
[SM-Grimoire] Deleting spells...,
Tony Smith, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Justin Rocha, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Jeremy A. Kolb, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Arwed von Merkatz, 09/05/2003
- Re: [SM-Grimoire] Deleting spells..., Jeremy A. Kolb, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Arwed von Merkatz, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Jeremy A. Kolb, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Hamish Greig, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Tony Smith, 09/05/2003
- Re: [SM-Grimoire] Deleting spells..., Hamish Greig, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Tony Smith, 09/05/2003
-
Re: [SM-Grimoire] Deleting spells...,
Dufflebunk, 09/05/2003
- Re: [SM-Grimoire] Deleting spells..., Tony Smith, 09/08/2003
-
Re: [SM-Grimoire] Deleting spells...,
Justin Rocha, 09/05/2003
Archive powered by MHonArc 2.6.24.