[SCM] Interchange branch, master, updated. 3399e805769cb9c1631d30a1dc11dcaf3eb7a294

Stefan Hornburg <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange".

The branch, master has been updated
       via  3399e805769cb9c1631d30a1dc11dcaf3eb7a294 (commit)
      from  e45cb08a55fd79c52988acc3bc9f15d7929f0a9b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3399e805769cb9c1631d30a1dc11dcaf3eb7a294
Author: Stefan Hornburg (Racke) <[email protected]>
Date:   Fri Sep 4 16:37:50 2009 +0200

    pragma dml=strict appended to catalog_before.cfg in Debian
    installation avoids data loss in table editor (Debian bug #340576)

-----------------------------------------------------------------------

Summary of changes and diff:
 MANIFEST                  |    1 +
 README.debian             |    4 ++++
 debian/catalog_before.cfg |    3 +++
 debian/changelog          |    4 +++-
 debian/rules              |    4 +++-
 5 files changed, 14 insertions(+), 2 deletions(-)
 create mode 100644 debian/catalog_before.cfg

diff --git a/MANIFEST b/MANIFEST
index b60ef7b..d019cd9 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -336,6 +336,7 @@ code/Widget/yesno.widget
 code/Widget/ynzero.widget
 configure
 debian/400mod_interchange.info
+debian/catalog_before.cfg
 debian/catalogs.cfg
 debian/changelog
 debian/compat
diff --git a/README.debian b/README.debian
index 30763c3..344b19c 100644
--- a/README.debian
+++ b/README.debian
@@ -31,6 +31,10 @@ Debian Specific Changes
 * any global usertags used locally should go into /etc/interchange/usertag
   and they'll be included if they have the extension .tag
 
+* pragma dml=insert is enabled for all catalogs in
+  /usr/lib/interchange/catalog_before.cfg to avoid data loss in the
+  table editor
+
 Standard Demo
 ===============
 
diff --git a/debian/catalog_before.cfg b/debian/catalog_before.cfg
new file mode 100644
index 0000000..ff3bfa4
--- /dev/null
+++ b/debian/catalog_before.cfg
@@ -0,0 +1,3 @@
+
+# Force strict behaviour for manipulating database records (Debian bug #340576)
+Pragma dml=strict
diff --git a/debian/changelog b/debian/changelog
index 7273196..d397cd8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ interchange (5.7.1-2) unstable; urgency=low
 
   * new upstream release (in preparation)
     - keeps ui_new_item present in the table editor (Closes: #340077)
+  * pragma dml=strict appended to catalog_before.cfg avoids data loss
+    in table editor (Closes: #340576)
   
- -- Stefan Hornburg (Racke) <[email protected]>  Thu, 03 Sep 2009 12:12:54 +0200
+ -- Stefan Hornburg (Racke) <[email protected]>  Fri, 04 Sep 2009 16:34:53 +0200
 
 interchange (5.7.1-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 3a37c34..79eb814 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 #
-# Copyright 2000,2001,2002,2003,2005,2006,2007,2008 by Stefan Hornburg (Racke) <[email protected]>
+# Copyright 2000,2001,2002,2003,2005,2006,2007,2008,2009 by Stefan Hornburg (Racke) <[email protected]>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -114,6 +114,8 @@ install: build
 # install global usertags for standard demo
 	mkdir -p $(TMP)/usr/lib/interchange/usertag/standard
 	install -m 0755 dist/standard/config/*.tag $(TMP)/usr/lib/interchange/usertag/standard
+# mimic global pragma for data updates
+	cat debian/catalog_before.cfg >> $(TMP)/usr/lib/interchange/catalog_before.cfg
 
 # make VERSION file
 	echo 'Variable MAJOR_VERSION $(IC_MAJOR_VERSION)' > $(TMP)/usr/lib/interchange/VERSION


hooks/post-receive
-- 
Interchange
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.