[Rt-commit] rtfm branch, 2.4-trunk, updated. 2.4.3-12-gbe302f4

Kevin Falcone falcone at bestpractical.com
Wed Nov 9 13:16:16 EST 2011


The branch, 2.4-trunk has been updated
       via  be302f4967d70eef1955a6c293dc29bfe7da0b52 (commit)
       via  b614393f4fe6ccea9cf5154d223b14d16a33b273 (commit)
      from  2bdf61741c82665191c1a92f9eb392caf35abcd7 (commit)

Summary of changes:
 Makefile.PL |    8 ++++++++
 README      |    5 +++++
 2 files changed, 13 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit b614393f4fe6ccea9cf5154d223b14d16a33b273
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Nov 9 13:13:14 2011 -0500

    warn about 4.0

diff --git a/README b/README
index 031cd4d..126301b 100644
--- a/README
+++ b/README
@@ -2,6 +2,11 @@ RTFM (The RT FAQ Manager) is a tool for maintaining an organizational
 knowledgebase. Out of the box, it integrates with RT 3.4.2 or later
 (Also available from bestpractical.com)
 
+If you are running RT 4, you should not install RTFM.  RT 4.0.0 shipped
+with Articles, which includes all of the functionality of RTFM along with
+some new features.  If you were using RTFM with an older version of RTFM,
+RT now contains upgrade instructions for migrating your data.
+
 Best Practical sells support and customization for RT and RTFM.  Feel
 free to contact us at sales at bestpractical.com if you have any
 questions about our service offerings.

commit be302f4967d70eef1955a6c293dc29bfe7da0b52
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Nov 9 13:16:03 2011 -0500

    Borrow the RT4 version check from RTIR's Makefile.pl

diff --git a/Makefile.PL b/Makefile.PL
index 6fc7435..86a6dc2 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -13,6 +13,14 @@ requires(
     'HTML::FormatText'  => 0,
 );
 requires_rt('3.4.2');
+{
+    my @v = split /\./, "$RT::VERSION";
+    if ($v[0] >= 4) {
+        die "\n\nRTFM does not work with RT 4 (you have $RT::VERSION).
+RTFM has been included in RT 4 as Articles.  
+See RT's documentation for upgrading from RTFM to Articles or using the Articles functionality.\n";
+    }
+}
 auto_install();
 
 WriteAll();

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


More information about the Rt-commit mailing list