Skip to Content.
Sympa Menu

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

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 (719e0efe04f0fcbc6e60aab58e1c3047f10492d2)
  • Date: Fri, 20 Jun 2008 13:11:11 -0500

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

ChangeLog | 2 ++
var/lib/sorcery/modules/libqueue | 29 -----------------------------
2 files changed, 2 insertions(+), 29 deletions(-)

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

removed the unused build_install_queue() which is largely a duplicate of
list_install_queue()

diff --git a/ChangeLog b/ChangeLog
index aa9ead0..0d89676 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
does_spell_need_update use the cache method too (a big cast -Z
speedup)
* libqueue: created to hold all the install queue functions
print the number of security updates for multiversion spells too
+ removed the unused build_install_queue() which is largely a
duplicate of
+ list_install_queue()

2008-06-19 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* sorcery.8: clarify the sorcery default subcommands with examples
#14528
diff --git a/var/lib/sorcery/modules/libqueue
b/var/lib/sorcery/modules/libqueue
index cb89072..9d4cd03 100644
--- a/var/lib/sorcery/modules/libqueue
+++ b/var/lib/sorcery/modules/libqueue
@@ -371,35 +371,6 @@ function list_install_queue() {
}

#---------------------------------------------------------------------
-##
-## Builds all spells in the install queue.
-##
-#---------------------------------------------------------------------
-function build_install_queue() {
-
- if [ -f $INSTALL_QUEUE ]; then
- lock_file $INSTALL_QUEUE
-
- message "The following spells will be updated :"
- cat $INSTALL_QUEUE
-
- unset SPELL
- if query "Do you wish to edit
${FILE_COLOR}$INSTALL_QUEUE${DEFAULT_COLOR}?" n
- then edit_file $INSTALL_QUEUE
- fi
-
- if [[ -s $INSTALL_QUEUE ]]; then
- cast `cat $INSTALL_QUEUE`
- rm $INSTALL_QUEUE
- fi
-
- unlock_file $INSTALL_QUEUE
- else
- message "No spells will be updated."
- fi
-}
-
-#---------------------------------------------------------------------
## @Stdout history
##
## Display the history of the install queue for review



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (719e0efe04f0fcbc6e60aab58e1c3047f10492d2), Jaka Kranjc, 06/20/2008

Archive powered by MHonArc 2.6.24.

Top of Page