[Rt-commit] r5935 - in rt/branches/3.7-EXPERIMENTAL: . html/Admin/Tools/Shredder/Elements/Error lib/RT/Shredder lib/RT/Shredder/Plugin

schwern at bestpractical.com schwern at bestpractical.com
Thu Sep 14 22:53:23 EDT 2006


Author: schwern
Date: Thu Sep 14 22:53:23 2006
New Revision: 5935

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Admin/Tools/Shredder/Elements/Error/NoStorage
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder.pm
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder/Plugin.pm
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder/Plugin/Objects.pm

Log:
 r18133 at Master-Windhund-IV:  schwern | 2006-09-14 22:52:37 -0400
 RT::Shredder still had references to "rtx" from when it was RTx::Shredder.
 I've removed all but two.
 
 $ rgrep -i 'rtx' lib/RT/Shredder*
 lib/RT/Shredder.pm:        $class = 'RT::'. $class unless $class =~ /^RTx?::/i;
 lib/RT/Shredder.pm:L<https://opensvn.csie.org/rtx_shredder>
 
 The first is mysterious code.  The second is a link to a repository which
 should probably be changed to RT but I'll let Ruz decide that.


Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Tools/Shredder/Elements/Error/NoStorage
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Tools/Shredder/Elements/Error/NoStorage	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Tools/Shredder/Elements/Error/NoStorage	Thu Sep 14 22:53:23 2006
@@ -8,7 +8,7 @@
 	Title => 'Error',
 &>
 <div class="error">
-RTx-Shredder extension needs directory to write dumps there.
-Please, check that you have <span class="file-path"><% $Path %></span> and
-it's writable for your web server.
+RT::Shredder needs a directory to write dumps to.
+Please check that you have <span class="file-path"><% $Path %></span> and
+it is writable by your web server.
 </div>

Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder.pm	Thu Sep 14 22:53:23 2006
@@ -11,7 +11,7 @@
 
 =head2 CLI
 
-  rtx-shredder --force --plugin 'Tickets=queue,general;status,deleted'
+  rt-shredder --force --plugin 'Tickets=queue,general;status,deleted'
 
 =head2 API
 
@@ -35,7 +35,7 @@
 
 =head2 Command line tools(CLI)
 
-L<rtx-shredder> script that is shipped with the distribution allow
+L<rt-shredder> script that is shipped with the distribution allow
 you to delete objects from command line or with system tasks
 scheduler(cron or other).
 
@@ -50,7 +50,7 @@
 
 L<RT::Shredder> modules is extension to RT API which add(push) methods
 into base RT classes. API is not well documented yet, but you can find
-usage examples in L<rtx-shredder> script code and in F<t/*> files.
+usage examples in L<rt-shredder> script code and in F<t/*> files.
 
 =head1 CONFIGURATION
 
@@ -65,7 +65,7 @@
 
 =head2 $RT::ShredderStoragePath
 
-By default shredder saves dumps in F</path-to-RT-var-dir/data/RTx-Shredder>,
+By default shredder saves dumps in F</path-to-RT-var-dir/data/Rt-Shredder>,
 with this option you can change path, but B<note> that value should be absolute
 path to the dir you want.
 
@@ -590,8 +590,8 @@
 =head3 StoragePath
 
 Returns absolute path to storage dir. By default it's
-F</path-to-RT-var-dir/data/RTx-Shredder/>
-(in default RT install would be F</opt/rt3/var/data/RTx-Shredder>),
+F</path-to-RT-var-dir/data/RT-Shredder/>
+(in default RT install would be F</opt/rt3/var/data/RT-Shredder>),
 but you can change this value with config option C<$RT::ShredderStoragePath>.
 See L</CONFIGURATION> sections.
 
@@ -602,7 +602,7 @@
 sub StoragePath
 {
     return $RT::ShredderStoragePath if $RT::ShredderStoragePath;
-    return File::Spec->catdir( $RT::VarPath, qw(data RTx-Shredder) );
+    return File::Spec->catdir( $RT::VarPath, qw(data RT-Shredder) );
 }
 
 my %active_dump_state = ();
@@ -679,8 +679,8 @@
 
 =head2 Database transactions support
 
-Since RTx-Shredder-0.03_01 extension uses database transactions and should
-be much safer to run on production servers.
+Since 0.03_01 RT::Shredder uses database transactions and should be
+much safer to run on production servers.
 
 =head2 Foreign keys
 

Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder/Plugin.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder/Plugin.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder/Plugin.pm	Thu Sep 14 22:53:23 2006
@@ -137,7 +137,7 @@
 
   <plugin name>[=<arg>,<val>[;<arg>,<val>]...]
 
-exactly like in the L<rtx-shredder> script. All other
+exactly like in the L<rt-shredder> script. All other
 arguments are sent to the plugins constructor.
 
 Method does the same things as C<LoadByName>, but also

Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder/Plugin/Objects.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder/Plugin/Objects.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Shredder/Plugin/Objects.pm	Thu Sep 14 22:53:23 2006
@@ -17,7 +17,7 @@
 you want select ticket #123 then from CLI you write next
 command:
 
-  rtx-shredder --plugin 'Objects=Ticket,123'
+  rt-shredder --plugin 'Objects=Ticket,123'
 
 =cut
 


More information about the Rt-commit mailing list