source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* cvsweb: Documentation does not belong into the default output of a
@ 2019-11-29 15:05 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-11-29 15:05 UTC (permalink / raw)
  To: source

Log Message:
-----------
Documentation does not belong into the default output of a program.
Delete it.

Modified Files:
--------------
    cvsweb:
        cvsweb.cgi
        cvsweb.conf

Revision Data
-------------
Index: cvsweb.conf
===================================================================
RCS file: /home/cvs/mandoc/cvsweb/cvsweb.conf,v
retrieving revision 4.19
retrieving revision 4.20
diff -Lcvsweb.conf -Lcvsweb.conf -u -p -r4.19 -r4.20
--- cvsweb.conf
+++ cvsweb.conf
@@ -119,37 +119,6 @@ $defaulttitle = "CVS Repository";
 #
 $address = '<span style="font-size: smaller">CVSweb</span>';
 
-$long_intro = <<EOT;
-<p>
-This is a WWW interface for CVS repositories.
-You can browse the file hierarchy by following directory links (which
-have slashes after them, e.g. <code>src/</code>).
-If you follow a link to a file, you will see its revision history.
-Following a link labeled with a revision number will display that
-revision of the file.  In the revision history view, there is a link
-near each revision to display diffs between that revision and the
-previous one, and a form at the bottom of the page that allows you to
-display diffs between arbitrary revisions.
-</p><p>
-This script has been written by Bill Fenner and improved by Henner Zeller,
-Henrik Nordstr&ouml;m, and Ken Coar, then Akinori MUSHA brought it
-back to FreeBSD community and made further improvements; it is covered
-by <a
-href="http://www.opensource.org/licenses/bsd-license.html">The BSD License</a>.
-</p><p>
-If you would like to use this CGI script on your own web server and
-CVS tree, download the latest version from
-&lt;<a href="http://cvsweb.bsd.lv/">http://cvsweb.bsd.lv/</a>&gt;.
-</p>
-EOT
-
-$short_instruction = <<EOT;
-<p>
-Click on a directory to enter that directory. Click on a file to display
-its revision history and to get a chance to display diffs between revisions.
-</p>
-EOT
-
 # Icons for the web UI.  If ICON-URL is empty, the TEXT representation is
 # used.  If you do not want to have a tool tip for an icon, set TEXT empty.
 # The width and height of the icon allow the browser to correctly display
Index: cvsweb.cgi
===================================================================
RCS file: /home/cvs/mandoc/cvsweb/cvsweb.cgi,v
retrieving revision 4.31
retrieving revision 4.32
diff -Lcvsweb.cgi -Lcvsweb.cgi -u -p -r4.31 -r4.32
--- cvsweb.cgi
+++ cvsweb.cgi
@@ -69,7 +69,7 @@ use vars qw (
   $bylog $byfile $defaultDiffType $logsort $cvstree $cvsroot
   $charset $output_filter %CMD $allow_compress $backicon $diricon $fileicon
   $fullname $logo $defaulttitle $address $binfileicon
-  $long_intro $short_instruction $shortLogLen $show_author
+  $shortLogLen $show_author
   $tablepadding $hr_breakable $showfunc $hr_ignwhite $hr_ignkeysubst
   $inputTextSize $mime_types $allow_annotate $allow_markup $allow_mailtos
   $allow_log_extra $allow_dir_extra $allow_source_extra
@@ -203,7 +203,7 @@ $config = '/conf/cvsweb/cvsweb.conf';
   %MTYPES = %tags = %alltags = %fileinfo = %DIFF_COMMANDS = ();
 
 $logo = $defaulttitle =
-  $address = $long_intro = $short_instruction = $shortLogLen = $show_author =
+  $address = $shortLogLen = $show_author =
   $tablepadding = $hr_breakable = $showfunc = $hr_ignwhite =
   $hr_ignkeysubst = $inputTextSize = $mime_types = $allow_annotate =
   $allow_markup = $allow_compress = $edit_option_form =
@@ -722,8 +722,6 @@ if (-d $fullname) {
 
   if ($where eq '/') {
     html_header($defaulttitle);
-    $long_intro =~ s/!!CVSROOTdescr!!/$CVSROOTdescr{$cvstree}/g;
-    print $long_intro;
   } else {
     html_header($where);
     my $html = (-f catfile($fullname, 'README.cvs.html,v') ||
@@ -760,7 +758,6 @@ if (-d $fullname) {
       }
       $h->finish();
     }
-    print $short_instruction;
   }
 
   if ($use_descriptions &&
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-29 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-29 15:05 cvsweb: Documentation does not belong into the default output of a schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).