sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (398291113878be2e2a88da103865c5749a27861c)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (398291113878be2e2a88da103865c5749a27861c)
- Date: Fri, 25 Sep 2026 13:00:40 +0000
GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:
var/lib/sorcery/modules/libdepends | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
New commits:
commit 398291113878be2e2a88da103865c5749a27861c
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libdepends: Report sub-depends requester
diff --git a/var/lib/sorcery/modules/libdepends
b/var/lib/sorcery/modules/libdepends
index 5c55849..27e72a9 100755
--- a/var/lib/sorcery/modules/libdepends
+++ b/var/lib/sorcery/modules/libdepends
@@ -261,9 +261,17 @@ process_sub_depends() {
local rc=0
local THIS_SUB_DEPENDS=$sub_depends
+ local REQUESTER=$requester
local PROCESSED_SUB_DEPENDS
hash_get_ref processed_sub_depends $sub_dependee PROCESSED_SUB_DEPENDS
- run_spell_file SUB_DEPENDS sub_depends || return 1
+
+ run_sub_depends_msg() {
+ depends_message "${sub_dependee}" "is providing sub-dependency" \
+ "${sub_depends}" \
+ "for ${SPELL_COLOR}${requester}${DEFAULT_COLOR}"
+ }
+
+ run_spell_file SUB_DEPENDS sub_depends run_sub_depends_msg || return 1
hash_append processed_sub_depends $sub_dependee $sub_depends
else
debug libdepends "SUB_DEPENDS: $sub_dependee needs to provide
$sub_depends but has already been processed"
@@ -1674,6 +1682,7 @@ real_sub_depends() {
# spell if the sub-depends is enabled through the PRE_SUB_DEPENDS file.
(
THIS_SUB_DEPENDS=$sub_depends
+ REQUESTER=$requester
if ! tablet_set_spell $sub_dependee ; then
codex_set_current_spell_by_name $sub_dependee || return 1
fi
- [[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (398291113878be2e2a88da103865c5749a27861c), Ismael Luceno, 09/25/2026
Archive powered by MHonArc 2.6.24.