Skip to Content.
Sympa Menu

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

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 (376b495020866681e391b785a1c1ed7e1a0390b8)
  • Date: Fri, 5 Sep 2008 16:08:04 -0500

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

ChangeLog | 2 ++
var/lib/sorcery/modules/libqueue | 5 +----
var/lib/sorcery/modules/libsorcery | 9 +++------
3 files changed, 6 insertions(+), 10 deletions(-)

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

libsorcery: made unset_details a bit more thorough

commit 7b683105d8fe1957c93758cfe521663c2a5cb24f
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libqueue: use pop_install_queue in install_queue_history

diff --git a/ChangeLog b/ChangeLog
index e239f60..325f8b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
* libdownload: removed an useless nonlocal variable
* libgrimoire: fixed install_desktop_files for staging
* libmisc: use message instead of echo, fixed a few typos
+ * libqueue: use pop_install_queue in install_queue_history
+ * libsorcery: made unset_details a bit more thorough

2008-09-03 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libtablet: fixed broken repair file handling - a nonexisting tablet
diff --git a/var/lib/sorcery/modules/libqueue
b/var/lib/sorcery/modules/libqueue
index 266ac46..3cce748 100755
--- a/var/lib/sorcery/modules/libqueue
+++ b/var/lib/sorcery/modules/libqueue
@@ -387,10 +387,7 @@ function install_queue_history() {
get_new_changes "Viewing history since last update ($datedash) for spell
-- ${spell} -- :" "$date" "$(codex_find_spell_by_name $spell)/HISTORY"

if query "Would you like to ${RED}remove $SPELL_COLOR$spell$QUERY_COLOR
from the install queue?" n; then
- local t_queue
- lock_start_transaction "$INSTALL_QUEUE" t_queue
- sedit "s/^$spell$//" "$t_queue"
- lock_commit_transaction "$INSTALL_QUEUE"
+ pop_install_queue "$spell"
message "${QUERY_COLOR}The spell $SPELL_COLOR$spell$QUERY_COLOR was
removed from $FILE_COLOR$INSTALL_QUEUE$DEFAULT_COLOR."
fi
done
diff --git a/var/lib/sorcery/modules/libsorcery
b/var/lib/sorcery/modules/libsorcery
index 8343a23..fa831ae 100755
--- a/var/lib/sorcery/modules/libsorcery
+++ b/var/lib/sorcery/modules/libsorcery
@@ -912,13 +912,10 @@ function unset_details() {
for i in ${!SOURCE*} ; do
TEMP=${TEMP}${i}\\n
done
- VARS="$VARS `echo -e $TEMP | egrep "^SOURCE[[:digit:]]*(_URL)?$"`"
- unset TEMP
-
- for i in $VARS ; do
- unset $i
- done
+ # not all SOURCE_* should be deleted (SOURCE_CACHE)
+ VARS="$VARS `echo -e $TEMP | egrep
"^SOURCE[[:digit:]]*(_URL|_GPG|_IGNORE)?$"`"

+ unset $VARS
}





  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (376b495020866681e391b785a1c1ed7e1a0390b8), Jaka Kranjc, 09/05/2008

Archive powered by MHonArc 2.6.24.

Top of Page