Skip to Content.
Sympa Menu

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

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 (18956fc416f020c50741a679a96e63fa343c172e)
  • Date: Fri, 19 Sep 2008 14:20:32 -0500

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

ChangeLog | 2 ++
usr/sbin/cast | 14 +++++++++-----
usr/share/man/man8/cast.8 | 13 +++++++++++--
3 files changed, 22 insertions(+), 7 deletions(-)

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

made cast --recast-optionals imply -c

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

cast, cast.8: mention the need for the -c option with -B and -R

diff --git a/ChangeLog b/ChangeLog
index 63ccaa4..98258bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-09-19 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libdepends, libmisc: fixed bad real_list_find invocations #14743
+ * cast, cast.8: mention the need for the -c option with -B and -R
+ made cast --recast-optionals imply -c

2008-09-14 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libsorcery: remove the (empty) safe dir at the end of filter()
diff --git a/usr/sbin/cast b/usr/sbin/cast
index 5d5f79f..5efda5f 100755
--- a/usr/sbin/cast
+++ b/usr/sbin/cast
@@ -50,9 +50,13 @@ Optional Parameters:
in the order you wish them to be searched.

-R | --recast-down Recursively recast depended-upon spells, even
- if they are already installed...
--B | --recast-up Recursively recast dependent spells, even
- if they are already installed...
+ if they are already installed. You probably
+ also want to pass the -c flag to make sure
they
+ are recompiled, not resurrected.
+
+-B | --recast-up Recursively recast dependent spells. You
+ probably also want to pass the -c flag to
make
+ sure they are recompiled, not resurrected.

-O | --recast-optional [option] If a spell being built has spells which
could optionally depend on it, but those
@@ -60,7 +64,7 @@ Optional Parameters:
the dependee. Optional parameter can be
option can be one of: "always", "ask-yes",
"ask-no", or "ignore"; it defaults to what
- is set via the sorcery menu.
+ is set via the sorcery menu. Implies -c.

-Z | --lazy-updates [option] Perform updates on installed spells that
need updates. Optional parameter same as
@@ -106,7 +110,7 @@ function process_parameters() {
-R|--recast-down) RECAST_DOWN="$1"; shift 1
;;
-B|--recast-up) RECAST_UP="$1"; shift 1
;;
-O|--recast-optional) get_option "$2" "$DEFAULT_RECAST_OPTIONALS" \
- RECAST_OPTIONALS n
+ RECAST_OPTIONALS n; COMPILE="-c";
shift
$n ;;
-Z|--lazy-updates) get_option "$2" "$DEFAULT_LAZY_DEPENDS_UPDATE" \
LAZY_DEPENDS_UPDATES n
diff --git a/usr/share/man/man8/cast.8 b/usr/share/man/man8/cast.8
index f22343d..527de38 100644
--- a/usr/share/man/man8/cast.8
+++ b/usr/share/man/man8/cast.8
@@ -65,15 +65,24 @@ Forces redownloading of sources, sources are freshly
downloaded
even when we already have them.
.SS "-R, --recast-down"
recasts all the spells the given spell(s) depend on
-(and the ones they depend on ...).
+(and the ones they depend on ...). You probably also want to specify
+.IR "-c"
+to make sure they are recompiled and not resurrected.
This might be quite a lot of spells.
+
.SS "-B, --recast-up"
recasts all the spells that depend on the given spell(s)
-(and the ones they depend on ...).
+(and the ones they depend on ...). You probably also want to specify
+.IR "-c"
+to make sure they are recompiled and not resurrected.
+
.SS "-O, --recast-optional [option]"
If a spell being built has spells which could optionally depend on it, but
those
dependencies are disabled, ask to recast the dependee. Option can be one of:
"always",
"ask-yes", "ask-no", or "ignore"; it defaults to what is set via the sorcery
menu.
+Implies
+.IR "-c" .
+
.SS "-Z, --lazy-updates [option]"
Perform updates on installed spells that need updates. Optional parameter
are the same as above.
.SS "-b, --force-base-dep"



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

Archive powered by MHonArc 2.6.24.

Top of Page