sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
- From: Peter Schneider-Kamp <peter AT schneider-kamp.de>
- To: Robin Cook <rcook AT wyrms.net>
- Cc: sm-sorcery <sm-sorcery AT lists.ibiblio.org>
- Subject: Re: [SM-Sorcery]new option CLEAN_SOURCE
- Date: Sat, 31 Aug 2002 20:19:46 +0200
Robin Cook wrote:
If this deletes the entire directory on fail then the activity log needs to show failures as well as successes otherwise there is no way to tell which spells failed on a rebuild etc.
Pretty correct. I think we should log failures in any case.
See attached patch.
Peter
--
Peter Schneider-Kamp mailto:peter AT schneider-kamp.de
Deliusstrasse 9 http://schneider-kamp.de
D-52064 Aachen mobile phone: ++49 178 495 1040
Index: usr/sbin/cast
===================================================================
RCS file: /cvsroot/sourcemage/sourcemage/sorcery/usr/sbin/cast,v
retrieving revision 1.24
diff -c -r1.24 cast
*** usr/sbin/cast 2002/08/31 16:25:59 1.24
--- usr/sbin/cast 2002/08/31 18:20:03
***************
*** 929,934 ****
--- 914,920 ----
sound SUCCESS &&
activity_log "cast" "$SPELL" "$VERSION" "success" ||
{
+ activity_log "cast" "$SPELL" "$VERSION" "failed"
rm -f $CASTING
if [[ $CLEAN_SOURCE == on ]]; then
rm_source_dir
-
[SM-Sorcery]new option CLEAN_SOURCE,
Peter Schneider-Kamp, 08/31/2002
- Re: [SM-Sorcery]new option CLEAN_SOURCE, Dufflebunk, 08/31/2002
-
Re: [SM-Sorcery]new option CLEAN_SOURCE,
Robin Cook, 08/31/2002
- Re: [SM-Sorcery]new option CLEAN_SOURCE, Peter Schneider-Kamp, 08/31/2002
- Re: [SM-Sorcery]new option CLEAN_SOURCE, Dufflebunk, 08/31/2002
-
Re: [SM-Sorcery]new option CLEAN_SOURCE,
Aaron Brice, 08/31/2002
- Re: [SM-Sorcery]new option CLEAN_SOURCE, Dufflebunk, 08/31/2002
Archive powered by MHonArc 2.6.24.