[open-ils-commits] r12699 - in tags/rel_1_4_0_4: . Open-ILS/src/perlmods/OpenILS Open-ILS/src/sql/Pg (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Mar 26 21:41:13 EDT 2009


Author: miker
Date: 2009-03-26 21:41:12 -0400 (Thu, 26 Mar 2009)
New Revision: 12699

Added:
   tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.4.0.3-1.4.0.4-upgrade-db.sql
Modified:
   tags/rel_1_4_0_4/Open-ILS/src/perlmods/OpenILS/Application.pm
   tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql
   tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql
   tags/rel_1_4_0_4/README
Log:
sql upgrade adjustments; version bump for 1.4.0.4

Modified: tags/rel_1_4_0_4/Open-ILS/src/perlmods/OpenILS/Application.pm
===================================================================
--- tags/rel_1_4_0_4/Open-ILS/src/perlmods/OpenILS/Application.pm	2009-03-27 01:06:33 UTC (rev 12698)
+++ tags/rel_1_4_0_4/Open-ILS/src/perlmods/OpenILS/Application.pm	2009-03-27 01:41:12 UTC (rev 12699)
@@ -5,7 +5,7 @@
 
 sub ils_version {
     # version format is "x-y-z-p", for example "1-2-1-0" for Evergreen 1.2.1.0
-    return "1-4-0";
+    return "1-4-0-4";
 }
 
 __PACKAGE__->register_method(

Modified: tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql
===================================================================
--- tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql	2009-03-27 01:06:33 UTC (rev 12698)
+++ tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql	2009-03-27 01:41:12 UTC (rev 12699)
@@ -1335,7 +1335,6 @@
 	recurring_fine_rule	INT	NOT NULL REFERENCES config.rule_recuring_fine (id) DEFERRABLE INITIALLY DEFERRED,
 	max_fine_rule		INT	NOT NULL REFERENCES config.rule_max_fine (id) DEFERRABLE INITIALLY DEFERRED
 );
-INSERT INTO config.circ_matrix_ruleset (matchpoint,duration_rule,recurring_fine_rule,max_fine_rule) VALUES (1,11,1,1);
 
 CREATE OR REPLACE FUNCTION action.find_circ_matrix_matchpoint( context_ou INT, match_item BIGINT, match_user INT, renewal BOOL ) RETURNS INT AS $func$
 DECLARE
@@ -5703,3 +5702,4 @@
 
 COMMIT;
 
+INSERT INTO config.circ_matrix_ruleset (matchpoint,duration_rule,recurring_fine_rule,max_fine_rule) VALUES (1,11,1,1);

Modified: tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql
===================================================================
--- tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql	2009-03-27 01:06:33 UTC (rev 12698)
+++ tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql	2009-03-27 01:41:12 UTC (rev 12699)
@@ -1334,7 +1334,6 @@
 	recurring_fine_rule	INT	NOT NULL REFERENCES config.rule_recuring_fine (id) DEFERRABLE INITIALLY DEFERRED,
 	max_fine_rule		INT	NOT NULL REFERENCES config.rule_max_fine (id) DEFERRABLE INITIALLY DEFERRED
 );
-INSERT INTO config.circ_matrix_ruleset (matchpoint,duration_rule,recurring_fine_rule,max_fine_rule) VALUES (1,11,1,1);
 
 CREATE OR REPLACE FUNCTION action.find_circ_matrix_matchpoint( context_ou INT, match_item BIGINT, match_user INT, renewal BOOL ) RETURNS INT AS $func$
 DECLARE
@@ -5702,3 +5701,4 @@
 
 COMMIT;
 
+INSERT INTO config.circ_matrix_ruleset (matchpoint,duration_rule,recurring_fine_rule,max_fine_rule) VALUES (1,11,1,1);

Added: tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.4.0.3-1.4.0.4-upgrade-db.sql
===================================================================
--- tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.4.0.3-1.4.0.4-upgrade-db.sql	                        (rev 0)
+++ tags/rel_1_4_0_4/Open-ILS/src/sql/Pg/1.4.0.3-1.4.0.4-upgrade-db.sql	2009-03-27 01:41:12 UTC (rev 12699)
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2009  Equinox Software, Inc.
+ * Mike Rylander <miker at esilibrary.com>
+ *
+ * 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 the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ */
+
+
+INSERT INTO config.upgrade_log (version) VALUES ('1.4.0.3');
+
+-- Set a work_ou for the Administrator user
+INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (1, 1);
+

Modified: tags/rel_1_4_0_4/README
===================================================================
--- tags/rel_1_4_0_4/README	2009-03-27 01:06:33 UTC (rev 12698)
+++ tags/rel_1_4_0_4/README	2009-03-27 01:41:12 UTC (rev 12699)
@@ -1,4 +1,4 @@
-README for Evergreen 1.4.0
+README for Evergreen 1.4.0.4
 
 Installing prerequisites:
 ========================
@@ -6,8 +6,8 @@
 before you can successfully configure, compile, and install Evergreen.
 
 1. Begin by installing the most recent version of OpenSRF (1.0 or later).
-You can download OpenSRF 1.0.2 from
-http://evergreen-ils.org/downloads/OpenSRF-1.0.2.tar.gz
+You can download OpenSRF 1.0.6 from
+http://evergreen-ils.org/downloads/OpenSRF-1.0.6.tar.gz
 
 2. On Debian and Ubuntu, the easiest way to install the rest of the
 prerequisites for Evergreen is to use the Makefile.install prerequisite
@@ -42,7 +42,7 @@
 Once you have configured and compiled Evergreen, issue the following
 command as the root user to install Evergreen:
 
-make STAFF_CLIENT_BUILD_ID=rel_1_4_0_0 install
+make STAFF_CLIENT_BUILD_ID=rel_1_4_0_4 install
 
 This will install Evergreen, including example configuration files in
 /openils/conf/ that you can use as templates for your own configuration files.



More information about the open-ils-commits mailing list