Skip to Content.
Sympa Menu

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

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 (db112b262c049daa06fa40e01df0ff133bec0a14)
  • Date: Sat, 6 Sep 2008 05:45:14 -0500

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

ChangeLog | 1 +
usr/sbin/sorcery | 4 +++-
usr/share/man/man8/sorcery.8 | 3 +++
3 files changed, 7 insertions(+), 1 deletion(-)

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

sorcery, sorcery.8: added -rr|rebuild-reconfigure #12858

diff --git a/ChangeLog b/ChangeLog
index 950a10e..0d449ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
summary failure reason feature
* api2: improve the VOYEUR=off experience by printing some messages
unconditionally to give a better progress indicator
+ * sorcery, sorcery.8: added -rr|rebuild-reconfigure #12858

2008-09-05 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* *: added more locking calls #7917
diff --git a/usr/sbin/sorcery b/usr/sbin/sorcery
index 4024ce6..840895a 100755
--- a/usr/sbin/sorcery
+++ b/usr/sbin/sorcery
@@ -493,12 +493,13 @@ update_security_queue () {
}

rebuild() {
+ local reconfigure=$1

lock_file $INSTALL_QUEUE
rm -rf $INSTALL_QUEUE
get_all_spells_with_status installed >> $INSTALL_QUEUE
unlock_file $INSTALL_QUEUE
- cast -c -b --queue
+ cast -c -b --queue $reconfigure

}

@@ -1908,6 +1909,7 @@ main() {
-q|queue) update_queue ;;
queue-security) update_security_queue ;;
-r|rebuild) rebuild ;;
+-rr|rebuild-reconfigure) rebuild -r ;;
review-queue) install_queue_history ;;
add-queue) shift; sorcery_queue_add "$@" ;;
remove-queue) shift; sorcery_queue_remove "$@" ;;
diff --git a/usr/share/man/man8/sorcery.8 b/usr/share/man/man8/sorcery.8
index e4f3d89..86b696d 100644
--- a/usr/share/man/man8/sorcery.8
+++ b/usr/share/man/man8/sorcery.8
@@ -38,6 +38,9 @@ Queue spells that had updates due to security fixes.
Automatically rebuilds all installed software packages. This option
is non-interactive except for a bunch of config and depends questions the
first
time you run it.
+.SS -rr|rebuild-reconfigure
+Automatically rebuilds all installed software packages. Unlike -r, this
option
+makes cast reask all the questions unconditionally.
.SS hold <spell|s>
sets <spell|s> to held.
This means that they stay installed, but that cast will refuse to



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

Archive powered by MHonArc 2.6.24.

Top of Page