Skip to Content.
Sympa Menu

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

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 (e30da6e08f224ea37459297cd2b50b9b9292f3e9)
  • Date: Fri, 18 Jul 2008 05:11:32 -0500

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

ChangeLog | 8 ++++++++
usr/sbin/gaze | 15 +++++++++------
usr/share/man/man1/gaze.1 | 7 ++++---
var/lib/sorcery/modules/libapi | 2 +-
var/lib/sorcery/modules/libtablet | 1 +
5 files changed, 23 insertions(+), 10 deletions(-)

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

libtablet: shortcircuit tablet_check_version_cache if the old queuing
method is used

commit 54a749d543763df9190b2b3a000d87b91ed72042
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

gaze, gaze.1: gaze install can accept an optional version now; before
it always took the installed one, which doesn't work for dispelled
spells, even though their logs possibly still exist

commit 0bb1e4d05cdb5e19e3327572e3ffebb74f72b380
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libapi: fixed a wrong function name in the starting comment

diff --git a/ChangeLog b/ChangeLog
index 0e6bc64..a180558 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-07-18 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libapi: fixed a wrong function name in the starting comment
+ * gaze, gaze.1: gaze install can accept an optional version now;
before
+ it always took the installed one, which doesn't work for dispelled
+ spells, even though their logs possibly still exist
+ * libtablet: shortcircuit tablet_check_version_cache if the old
queuing
+ method is used
+
2008-07-07 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libcast: removed extraneus spaces in acquire_cast_lock messages

diff --git a/usr/sbin/gaze b/usr/sbin/gaze
index 0c226ba..bafba18 100755
--- a/usr/sbin/gaze
+++ b/usr/sbin/gaze
@@ -33,9 +33,9 @@ what spell Prints the spell's
description.
short spell Prints the spell's short description.
where -path spell Prints the spell's section or full path.
website | url spell Prints the spell's website.
-install spell Views an install log, and sorcery log files
for to the spell.
-install-full spell Views an install log including all sorcery
state files.
-install-spell spell Views an install log without any sorcery
files included.
+install spell [version] Views an install log, and sorcery log files
for to the spell.
+install-full spell [version] Views an install log including all sorcery
state files.
+install-spell spell [version] Views an install log without any sorcery
files included.
installed [spell] Views installed spells.
version spell Views version of spell installed,
and version in the grimoire.
@@ -2268,9 +2268,12 @@ parse() {
"Compile log for $SPELL-$VERSION does not exist"
;;

- install) gaze_install $SPELL $VERSION ;;
- install-full) gaze_install $SPELL $VERSION full ;;
- install-spell) gaze_install $SPELL $VERSION spell ;;
+ install) [[ -n $3 ]] && VERSION="$3"
+ gaze_install $SPELL $VERSION ;;
+ install-full) [[ -n $3 ]] && VERSION="$3"
+ gaze_install $SPELL $VERSION full ;;
+ install-spell) [[ -n $3 ]] && VERSION="$3"
+ gaze_install $SPELL $VERSION spell ;;

sum) [ -n "$SPELL" ] &&
checksum "$INSTALL_LOGS/$SPELL-$VERSION" ||
diff --git a/usr/share/man/man1/gaze.1 b/usr/share/man/man1/gaze.1
index 8d59b47..6468666 100644
--- a/usr/share/man/man1/gaze.1
+++ b/usr/share/man/man1/gaze.1
@@ -107,16 +107,17 @@ show the compiler output generated when the spell was
built.
If no optional version was given, try the installed version.
If the spell is not installed use the version in the grimoire.
.PP
-.SS install <spell>
+.SS install <spell> [version]
.IP
Used to determine what files were installed by a spell and where
those files are located, excludes sorcery state files.
+If no optional version was given, try the installed version.
.PP
-.SS install-full <spell>
+.SS install-full <spell> [version]
.IP
Like gaze install spell, but shows sorcery state files.
.PP
-.SS install-spell <spell>
+.SS install-spell <spell> [version]
.IP
Like gaze install spell, but excludes sorcery log files.
.PP
diff --git a/var/lib/sorcery/modules/libapi b/var/lib/sorcery/modules/libapi
index 626de78..d5a4465 100755
--- a/var/lib/sorcery/modules/libapi
+++ b/var/lib/sorcery/modules/libapi
@@ -70,7 +70,7 @@
# rm_source_dir (libgrimoire)
# sedit (libmisc)
# sub_depends (libdepends)
-# show_depends (libdepends)
+# show_up_depends (libdepends)
# spell_exiled (libstate)
# spell_held (libstate)
# spell_installed (libstate)
diff --git a/var/lib/sorcery/modules/libtablet
b/var/lib/sorcery/modules/libtablet
index e9569f2..eee7fa8 100755
--- a/var/lib/sorcery/modules/libtablet
+++ b/var/lib/sorcery/modules/libtablet
@@ -726,6 +726,7 @@ function tablet_create_version_cache() {
#---------------------------------------------------------------------
function tablet_check_version_cache() {
[[ -z $1 ]] && return 1
+ [[ -n $OLD_QUEUING_METHOD ]] && return 0
local file=$1

if [[ -f $file ]] &&



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (e30da6e08f224ea37459297cd2b50b9b9292f3e9), Jaka Kranjc, 07/18/2008

Archive powered by MHonArc 2.6.24.

Top of Page