Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Andrew Stitt (a7542b1610494a35d5f0e29fb2f1912d6930f4b1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andrew Stitt <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Andrew Stitt (a7542b1610494a35d5f0e29fb2f1912d6930f4b1)
  • Date: Wed, 15 Nov 2006 00:41:07 -0600

GIT changes to master sorcery by Andrew Stitt <astitt AT sourcemage.org>:

ChangeLog | 5 +++++
usr/sbin/cast | 2 ++
var/lib/sorcery/modules/libtrack | 12 ++++++++++++
3 files changed, 19 insertions(+)

New commits:
commit a7542b1610494a35d5f0e29fb2f1912d6930f4b1
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>

fix bug 13123 (/etc/sysconfig/facilities removed casting net-tools when
casting it twice in a row or when it's not changed in between)

diff --git a/ChangeLog b/ChangeLog
index 812169c..52ba488 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-14 Andrew Stitt <astitt AT sourcemage.org>
+ * libtrack: add initialization function so modified files list
+ is always known rather than being created on-demand.
+ * cast: initialize libtrack. This fixes bug 13123.
+
2006-11-02 Andrew Stitt <astitt AT sourcemage.org>
* libsummon: fix bug 13173, add check for empty files in summon
sanity checker
diff --git a/usr/sbin/cast b/usr/sbin/cast
index d8320f5..37f97be 100755
--- a/usr/sbin/cast
+++ b/usr/sbin/cast
@@ -247,6 +247,8 @@ function cast_spell() { (
export OPTS
run_spell_config

+ libtrack_init
+
local spell_depends spell_sub_depends
get_uncommitted_depends_file $SPELL spell_depends
test -e $spell_depends &&
diff --git a/var/lib/sorcery/modules/libtrack
b/var/lib/sorcery/modules/libtrack
index 8cb33d0..62f8c8d 100755
--- a/var/lib/sorcery/modules/libtrack
+++ b/var/lib/sorcery/modules/libtrack
@@ -6,6 +6,17 @@
#---------------------------------------------------------------------

#---------------------------------------------------------------------
+##
+## Initialize libtrack, currently this is just the modified files list.
+## This is used by cast to exclude files its modified from the md5 list.
+##
+#---------------------------------------------------------------------
+function libtrack_init() {
+ [[ $__MODIFIED_FILES ]] || export
__MODIFIED_FILES="$TMP_DIR/modified_files"
+}
+
+
+#---------------------------------------------------------------------
## @Stdin list of files
## @Stdout list of files
## Reads a list of files from standard in, and returns a list of the
@@ -231,6 +242,7 @@ function check_if_modified() {
fi
}

+
#---------------------------------------------------------------------
##
## Creates a bzip/gzip'ed tar file containing an archived backup of



  • [SM-Commit] GIT changes to master sorcery by Andrew Stitt (a7542b1610494a35d5f0e29fb2f1912d6930f4b1), Andrew Stitt, 11/15/2006

Archive powered by MHonArc 2.6.24.

Top of Page