# $Id$ # Index file for: cvs.jankratochvil.net # Copyright (C) 2005 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; exactly version 2 of June 1991 is required # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA package IndexCVS; 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$; use strict; use warnings; use My::Web; use Carp qw(confess cluck); sub handler { my $W=My::Web->init( "title"=>"CVS Repository", "heading"=>0, ); My::Web->heading(); print <<"HERE";

CVS Repository of Jan Kratochvil

Access methods

Description

HERE #pserver: #

Here you will find the public files stored in the personal CVS repository of #@{[ a_href 'http://www.jankratochvil.net/','Jan Kratochvil' ]}.

#

You will need the tool @{[ a_href 'http://www.cvshome.org/','CVS' ]} to fully #utilize it. Credentials are:

#
#
CVSROOT
:pserver:pserver@{[ '@' ]}cvs.jankratochvil.net/cvs
#
password
empty (just hit ENTER)
#
module
directory name from # @{[ a_href 'viewcvs/','ViewCVS' ]} such as "nethome"
#
#

The following command will download you directory SOME_MODULE_NAME #in UNIX environemnt; @{[ a_href 'http://www.cvshome.org/','CVS' ]} version 1.11 or higher #is required for this command:

#
#cvs -d :pserver:pserver:@{[ '@' ]}cvs.jankratochvil.net:/cvs checkout SOME_MODULE_NAME
#
print <<"HERE";

Some files or the directory listing of "priv/" may not be accessible. This is probably intentional and therefore downloading of .tar.gz may fail if such protected file is present anywhere in subdirectory files - the resulting archive will be corrupted and it will contain some @{[ a_href 'http://www.python.org/','Python' ]} error message in its beginning.

HERE exit; } 1;