Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (f40d4fed86a65a742b86a39d661d7ab34851604c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (f40d4fed86a65a742b86a39d661d7ab34851604c)
  • Date: Thu, 28 Aug 2008 14:07:00 -0500

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

var/lib/sorcery/modules/libdepends | 39
+++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+)

New commits:
commit f40d4fed86a65a742b86a39d661d7ab34851604c
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

WIP: cleaner failure handling
runtime/trigger crap
ti niso v CAST_HASH, zato grejo stvari po zlu

diff --git a/var/lib/sorcery/modules/libdepends
b/var/lib/sorcery/modules/libdepends
index 21f0d72..ee11d57 100755
--- a/var/lib/sorcery/modules/libdepends
+++ b/var/lib/sorcery/modules/libdepends
@@ -1688,14 +1688,53 @@ function private_discard_spell()

local bonus=${BONUS_SPELLS[@]}
local up_depends=${UP_DEPENDS[@]}
+ local runtime_depends=${RUNTIME_DEPENDS[@]}
+ local new_runtime_depends=${NEW_RUNTIME_DEPENDS[@]}
+ local spells2=${spells[@]}
+ local triggerees2=${TRIGGEREES[@]}
+ local triggerees3=${triggerees[@]}
+ local new_depends=${NEW_DEPENDS[@]}
if real_list_find "$bonus" $spell; then
+echo +b+$bonus+$spell
real_list_remove bonus $spell
BONUS_SPELLS=( $bonus )
fi
if real_list_find "$up_depends" $spell; then
+echo +u+$up_depends+$spell
real_list_remove up_depends $spell
UP_DEPENDS=( $up_depends )
fi
+ if real_list_find "$runtime_depends" $spell; then
+echo +r+$runtime_depends+$spell
+ real_list_remove runtime_depends $spell
+ RUNTIME_DEPENDS=( $runtime_depends )
+ fi
+ if real_list_find "$spells2" $spell; then
+echo +s+$spells2+$spell
+ real_list_remove spells2 $spell
+ spells=( $spells2 )
+ fi
+ if real_list_find "$new_runtime_depends" $spell; then
+echo +nr+$new_runtime_depends+$spell
+ real_list_remove new_runtime_depends $spell
+ NEW_RUNTIME_DEPENDS=( $new_runtime_depends )
+ fi
+ if real_list_find "$triggerees2" $spell; then
+echo +t+$triggerees2+$spell
+ real_list_remove triggerees2 $spell
+ TRIGGEREES=( $triggerees2 )
+ fi
+ if real_list_find "$triggerees3" $spell; then
+echo +t2+$triggerees3+$spell
+ real_list_remove triggerees3 $spell
+ triggerees=( $triggerees3 )
+ fi
+ if real_list_find "$new_depends" $spell; then
+echo +nd+$new_depends+$spell
+ real_list_remove new_depends $spell
+ NEW_DEPENDS=( $new_depends )
+ fi
+ #FORCE_DEPENDS, NEW_* ...
}

#---------------------------------------------------------------------



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (f40d4fed86a65a742b86a39d661d7ab34851604c), Jaka Kranjc, 08/28/2008

Archive powered by MHonArc 2.6.24.

Top of Page