[Rt-commit] rtir branch, 2.9-trunk, updated. 2.6.1rc1-382-g0583c62

Ruslan Zakirov ruz at bestpractical.com
Fri Sep 16 09:38:38 EDT 2011


The branch, 2.9-trunk has been updated
       via  0583c622654743326300fa8a38267b174de2bdbf (commit)
       via  9f0d2b783af5e430474369226031b3005c214486 (commit)
      from  693f07234894c096ac530253f6b437a7f5c7767a (commit)

Summary of changes:
 META.yml              |    2 +-
 Makefile.PL           |    4 ++--
 TODO.porting_over_RT4 |    9 ---------
 etc/RTIR_Config.pm    |    7 +++++++
 4 files changed, 10 insertions(+), 12 deletions(-)

- Log -----------------------------------------------------------------
commit 9f0d2b783af5e430474369226031b3005c214486
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Fri Sep 16 16:57:02 2011 +0400

    depend on DBIx::SB 1.61 for *FromSelect methods
    
    we use them during upgrade to perform fast updates

diff --git a/META.yml b/META.yml
index 5b74519..ec4aa0f 100644
--- a/META.yml
+++ b/META.yml
@@ -26,7 +26,7 @@ no_index:
 requires:
   Business::Hours: 0
   Business::SLA: 0
-  DBIx::SearchBuilder: 1.51
+  DBIx::SearchBuilder: 1.61
   Hook::LexWrap: 0
   Net::Whois::RIPE: 0
   Parse::BooleanLogic: 0
diff --git a/Makefile.PL b/Makefile.PL
index 60ad1cf..0121185 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -21,8 +21,8 @@ unshift @INC, $local_lib_path, $lib_path;
 # is not ready for that
 #requires('RT::FM');
 
-# RTIR needs this version of SB cuz of bug-fix
-requires('DBIx::SearchBuilder', 1.51);
+# RTIR needs this version of SB because of cud-from-select
+requires('DBIx::SearchBuilder', 1.61);
 
 # work hours
 requires('Business::Hours');
diff --git a/TODO.porting_over_RT4 b/TODO.porting_over_RT4
index 6c14af5..d552dcc 100644
--- a/TODO.porting_over_RT4
+++ b/TODO.porting_over_RT4
@@ -12,11 +12,6 @@
   Also, config option that controls: if incident is mandatory
   for queue and if it can be more than one incident per ticket.
 
-=== UPGRADING
-
-* make sure we release DBIx::SB with cud-from-select branch
-  merged and depend on it
-
 === BRINGING UP TO DATE
 
 * Some pages with forms need new nice layouts like in RT, reply

commit 0583c622654743326300fa8a38267b174de2bdbf
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Fri Sep 16 17:02:16 2011 +0400

    document why lifecycles' maps is needed

diff --git a/TODO.porting_over_RT4 b/TODO.porting_over_RT4
index d552dcc..77fa9b9 100644
--- a/TODO.porting_over_RT4
+++ b/TODO.porting_over_RT4
@@ -21,10 +21,6 @@
 
 * tranasaction custom fields
 
-=== DOCS
-
-* document why maps are required
-
 === CLEANUP && REFACTORING
 
 * make Submit buttons names consistent with RT's
diff --git a/etc/RTIR_Config.pm b/etc/RTIR_Config.pm
index f87dd26..cf60d2a 100644
--- a/etc/RTIR_Config.pm
+++ b/etc/RTIR_Config.pm
@@ -25,6 +25,13 @@ Set( $rtirname, RT->Config->Get('rtname') );
 RTIR defines four lifecycles for each its queue: 'incidents',
 'incident_reports', 'investigations' and 'blocks'.
 
+Note that all four lifecycles are mapped to each other, so
+in theory it's possible to move tickets between queues, but
+importantly it's required to perform certain operations.
+For example when user abandons Incident all its children
+should be inactivated as well, to figure out which status
+set on a child the map is used.
+
 Read F<etc/RT_Config.pm> which describes this option in details.
 
 =cut

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


More information about the Rt-commit mailing list