[Rt-commit] r5475 - rtir/branches/2.0-TESTING

ruz at bestpractical.com ruz at bestpractical.com
Tue Jun 27 15:08:15 EDT 2006


Author: ruz
Date: Tue Jun 27 15:08:11 2006
New Revision: 5475

Modified:
   rtir/branches/2.0-TESTING/META.yml
   rtir/branches/2.0-TESTING/Makefile.PL
   rtir/branches/2.0-TESTING/releng.cnf

Log:
* add check for RT version
* update RTIR version

Modified: rtir/branches/2.0-TESTING/META.yml
==============================================================================
--- rtir/branches/2.0-TESTING/META.yml	(original)
+++ rtir/branches/2.0-TESTING/META.yml	Tue Jun 27 15:08:11 2006
@@ -16,4 +16,4 @@
   DBIx::SearchBuilder: 1.4
   Net::Whois::RIPE: 0
   RT::FM: 0
-version: 1.9.HEAD
+version: 2.0.0

Modified: rtir/branches/2.0-TESTING/Makefile.PL
==============================================================================
--- rtir/branches/2.0-TESTING/Makefile.PL	(original)
+++ rtir/branches/2.0-TESTING/Makefile.PL	Tue Jun 27 15:08:11 2006
@@ -3,7 +3,14 @@
 RTx('RT-IR');
 license('GPL Version 2');
 author('Best Practical Solutions <sales at bestpractical.com>');
-version('1.9.HEAD');
+version('2.0.0');
+
+{ # check RT version
+    my @v = split /\./, "$RT::VERSION";
+    unless ($v[0]>=3 && $v[1]>=7) {
+        die "RTIR 2.0 needs RT 3.7.0 at least, you have $RT::VERSION";
+    }
+}
 
 # XXX: This should be reported by M::I::RTx
 my ($lib_path) = $INC{'RT.pm'} =~ /^(.*)[\\\/]/;

Modified: rtir/branches/2.0-TESTING/releng.cnf
==============================================================================
--- rtir/branches/2.0-TESTING/releng.cnf	(original)
+++ rtir/branches/2.0-TESTING/releng.cnf	Tue Jun 27 15:08:11 2006
@@ -1,7 +1,7 @@
 PRODUCT             = rtir
-TAG                 = 1.1.5
+TAG                 = 2.0.0
 CANONICAL_REPO      = svn+ssh://svn.bestpractical.com/svn/bps-public/rtir/
 TAGS                = tags/
-TRUNK               =  branches/1.1-TESTING
+TRUNK               = branches/2.0-TESTING
 TMP_DIR             = /tmp
 RELEASE_DIR         = /home/ftp/pub/rt/devel


More information about the Rt-commit mailing list