Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by David Brown (aaa294ff29d32c8f3ad8e39698da9df4ea79e6ff)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Brown <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by David Brown (aaa294ff29d32c8f3ad8e39698da9df4ea79e6ff)
  • Date: Sat, 1 Jul 2006 11:40:13 -0500

GIT changes to master sorcery by David Brown <dmlb2000 AT gmail.com>:

ChangeLog | 6 +++++-
var/lib/sorcery/modules/libsorcery | 8 ++++++--
2 files changed, 11 insertions(+), 3 deletions(-)

New commits:
commit aaa294ff29d32c8f3ad8e39698da9df4ea79e6ff
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

added progress bar to sorcery -q and fixed a tab in the changelog

diff --git a/ChangeLog b/ChangeLog
index 8f1f022..999c538 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
2006-07-01 David Brown <dmlb2000 AT gmail.com>
+ * libsorcery: update_install_queue added progress bar so we have
+ some idea of how long it takes to queue up spells
+
+2006-07-01 David Brown <dmlb2000 AT gmail.com>
* delve: moved making stage root directory to inside the
STAGED_INSTALL check not needed anymore since installwatch
- doesn't need stage_root before it's invoked
+ doesn't need stage_root before it's invoked

2006-06-26 David Brown <dmlb2000 AT gmail.com>
* libstage: added functions for installing block character
diff --git a/var/lib/sorcery/modules/libsorcery
b/var/lib/sorcery/modules/libsorcery
index 4525a31..902ee4f 100755
--- a/var/lib/sorcery/modules/libsorcery
+++ b/var/lib/sorcery/modules/libsorcery
@@ -862,12 +862,15 @@ ##
#---------------------------------------------------------------------
function update_install_queue() {
local line spell curr_version curr_updated page_dir info curr_patchlevel
- local curr_sec_patch
+ local curr_sec_patch count size
local tmp_queue=$TMP_DIR/install_queue
touch $tmp_queue

message "${CHECK_COLOR}Generating list of spells to update...
${DEFAULT_COLOR} "
+ count=0
+ size=$(all_spell_status | wc -l)
for line in `all_spell_status`; do
+ progress_bar $count $size 50
#0=spell, 1=date, 2=status, 3=version
explode "$line" ":" "info"
spell=${info[0]}
@@ -883,8 +886,9 @@ function update_install_queue() {
"$curr_updated" "$tmp_queue"
fi
)
+ let count++
done
-
+ clear_line
lock_file $INSTALL_QUEUE
rm -f $INSTALL_QUEUE
sort $tmp_queue | uniq > $INSTALL_QUEUE



  • [SM-Commit] GIT changes to master sorcery by David Brown (aaa294ff29d32c8f3ad8e39698da9df4ea79e6ff), David Brown, 07/01/2006

Archive powered by MHonArc 2.6.24.

Top of Page