modperl branch collapsed back to MAIN trunk, man!
[www.jankratochvil.net.git] / project / cvsutil / ListItem.pm
index 50af733..24e93dd 100755 (executable)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 
-package My::Project::cvsutil;
+package project::cvsutil::ListItem;
 require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
-use vars qw($VERSION $CVS_ID);
-$VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
-$CVS_ID=q$Id$;
+our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+our $CVS_ID=q$Id$;
 use strict;
 use warnings;
 
+use My::Web;
 
-our %ListItem=(
-               "name"=>"CVS General Utility",
-               "priority"=>7,
-               "download"=>"http://cvs.jankratochvil.net/viewcvs/*checkout*/nethome/home/lace/bin/cvsutil?rev=HEAD",
-               "summary"=>"CVS addon",
+
+our @ListItem=(
+               "name"=>"cvsutil",
+               "platform"=>"unixdevel",
+               "priority"=>500,
+               # FIXME: 'http://cvs.jankratochvil.net/viewcvs/' -> $W->{"project_viewcvs"}
+               "download"=>'http://cvs.jankratochvil.net/viewcvs/'."*checkout*/nethome/home/lace/bin/cvsutil?rev=HEAD",
+               "summary"=>"Clean CVS checkout working files or safely change CVS/Root",
                "license"=>"PD",
                "maintenance"=>"merge",
                "language"=>"Perl",
-               "description"=>""
-                               .'<p>Lists of specified types of files and safe settings of CVSROOT'
-                               .' for already checkouted package.</p>'
-                               .' <p>There exists package <a href=\"http://www.red-bean.com/cvsutils/\">CVS Utilities</a>'
-                               .' doing similiar things and more - this utility should be merged into it.'
-                               .' Pointed out by the courtesy of Jesse Glick.</p>'
+               "description"=><<"HERE",
+<p>List the specified types of files and safe settings of CVSROOT
+for already checkouted package. As an example of its many applications
+can serve a handy prevention of grepping built files: <span class="quote">
+       grep -w wanted_sym `cvsfiles`
+       </span></p>
+HERE
                );
 
 1;