Script Index


/var/lib/sorcery/modules/url_handlers/url_cvs

=head1 SYNOPSIS Url handler functions for grabbing cvs urls. =head1 DESCRIPTION This file contains functions for parsing cvs urls. =head1 CVS URL Format There is no standard (that I know of) for cvs urls so we use a source mage specific format: cvs://CVSROOT:MODULE_NAME The above url will download the latest version of the specified module (i.e., the HEAD revision). To specify a specific revision, the following format can be used: cvs://CVSROOT:MODULE_NAME:REVISION_TAG The CVSROOT portion of the url may include information such as type of cvs server, port number for the server, user name, password, cvs repository directory, etc. The CVSROOT syntax is defined by cvs and is as follows: :method:[[user][:password]@]hostname[:[port]]/path/to/repository For more details, see the CVS manual at http://www.cvshome.org/docs/manual/cvs.html =head1 EXAMPLES Suppose we want to download the latest version of the sorcery scripts from cvs. We'd use the following url: cvs://:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer:main If we want the 1.0pre7 release instead (i.e., those files tagged with 1_0pre7, we would use the following url: cvs://:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer:main:1_0pre7 Some cvs repositories require passwords. One such repository is the cvs repository for the ROOT package (an object-oriented data analysis framework, see L). The CVSROOT, without the password, would look like this: :pserver:cvs@root.cern.ch:/user/cvs The password for their cvs repository is I. Adding the password would make the CVSROOT look like this: :pserver:cvs:cvs@root.cern.ch:/user/cvs Thus, the full cvs url, including the password, would be: cvs://:pserver:cvs:cvs@root.cern.ch:/user/cvs:root =head1 COPYRIGHT Copyright 2002 by the Source Mage Team =head1 FUNCTIONS =over 4


function url_cvs_crack()

Parameters:

global

URL CVS_ROOT CVS_MODULE CVS_TAG

Description

=item url_file_download Parse the specified cvs url.


function url_cvs_is_valid()

Parameters:

Description

=item url_cvs_is_valid Ensure that all the fields that should be parsed out from a url do indeed exist


function url_cvs_hostname()

Parameters:

Description

=item url_cvs_hostname Get the hostname of the url


function url_cvs_netselect()

Parameters:

Description

=item url_cvs_netselect Gets a netselect type output for the url