Skip to Content.
Sympa Menu

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

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 (b1a6a200ae9b88139c421ffda6e73118fbb0c41c)
  • Date: Thu, 17 Apr 2008 04:17:24 -0500

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

ChangeLog | 1 +
var/lib/sorcery/modules/libsorcery | 5 +++++
2 files changed, 6 insertions(+)

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

libsorcery: readded the progress bar, but only to the slow part of the
queuing

diff --git a/ChangeLog b/ChangeLog
index 15742b8..31d247b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2008-04-17 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libsorcery: made verbose queuing use the version cache too and now
all
the reasons are displayed, not just the first (only in the cache
code)
+ readded the progress bar, but only to the slow part of the queuing

2008-04-16 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* scribe.8: don't mention local grimoires for reindex-version,
nothing good
diff --git a/var/lib/sorcery/modules/libsorcery
b/var/lib/sorcery/modules/libsorcery
index a0cde52..602a071 100755
--- a/var/lib/sorcery/modules/libsorcery
+++ b/var/lib/sorcery/modules/libsorcery
@@ -979,13 +979,18 @@ function update_install_queue() {
fi
if [[ -s $recheck_queue ]]; then
(
+ count=0
+ size=$(wc -l < $recheck_queue)
while read spell; do
+ progress_bar $count $size 50
explode "$(search_spell_status $SPELL_STATUS "$spell")" ":"
"info"
curr_updated=${info[1]}
curr_version=${info[3]}
codex_set_current_spell_by_name $spell &&
does_spell_need_update_sub "$spell" "$curr_version" \
"$curr_updated" "$tmp_queue"
+ let count++
+ clear_line
done < $recheck_queue
)
rm $recheck_queue



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (b1a6a200ae9b88139c421ffda6e73118fbb0c41c), Jaka Kranjc, 04/17/2008

Archive powered by MHonArc 2.6.24.

Top of Page