sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a1d295ba47590fd00c2bee2c2a83a83409741328)
- 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 (a1d295ba47590fd00c2bee2c2a83a83409741328)
- Date: Mon, 24 Mar 2008 16:03:01 -0500
GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
ChangeLog | 1 +
usr/sbin/scribe | 10 ++++++++--
2 files changed, 9 insertions(+), 2 deletions(-)
New commits:
commit a1d295ba47590fd00c2bee2c2a83a83409741328
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
scribe: scribe index now also shows VERSION of grimoires #14233
diff --git a/ChangeLog b/ChangeLog
index 97b65e0..a86fcf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
* dispel: made downgrading more user friendly #11749; now a list of
possible versions is displayed to choose from and the version
doesn't need to be specified on the commandline anymore
+ * scribe: scribe index now also shows VERSION of grimoires #14233
2008-03-24 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* Start 1.15 development stream.
diff --git a/usr/sbin/scribe b/usr/sbin/scribe
index 950bd63..ddad035 100755
--- a/usr/sbin/scribe
+++ b/usr/sbin/scribe
@@ -399,7 +399,7 @@ function scribe_fix_metadata() {
##
#---------------------------------------------------------------------
function scribe_index() {
- local idx grimoire
+ local idx grimoire grimoire_name
echo ""
echo "Codex Listing"
@@ -409,7 +409,13 @@ function scribe_index() {
#for each grimoire
let idx=0
for grimoire in $(codex_get_all_grimoires); do
- echo " [$idx] : `basename "$grimoire"` : $grimoire"
+ smgl_basename "$grimoire" grimoire_name
+ echo -n " [$idx] : $grimoire_name : $grimoire"
+ if [[ -f $grimoire/VERSION ]]; then
+ echo " : $(head -c 16 $grimoire/VERSION | head -n 1)"
+ else
+ echo
+ fi
let idx+=1
done
echo ""
- [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a1d295ba47590fd00c2bee2c2a83a83409741328), Jaka Kranjc, 03/24/2008
Archive powered by MHonArc 2.6.24.