Script Index


/var/lib/sorcery/modules/url_handlers/url_svn

=head1 SYNOPSIS Url handler functions for parsing subversion urls. =head1 SVN URL Format The source mage specific format is: svn://SVNURL:DIR_NAME svn://SVNURL:DIR_NAME:REVISION_TAG It is exactly the same as a standard svn:// url, with additional tokens at the end DIR_NAME and optional REVISITION_TAG The svn://SVNURL portion of the url will appear on the svn command line as the url. The DIR_NAME will be the tail element of the SOURCE_DIRECTORY. In order to maintain compatibility with the original svn url format, which uses http:// as the underlying protocol, a hint may be specified named "old_svn_compat". For more details, see the SVN manual at http://svnbook.red-bean.com/svnbook/ch03s04.html =head1 EXAMPLES Suppose we want to download the latest version of bmp-plugins from svn. We'd use the following url: svn://svn.pld-linux.org/svn/bmp-plugins/trunk:bmp-plugins-svn If we want the 4474 revision number we would use the following url: svn://svn.pld-linux.org/svn/bmp-plugins/trunk:bmp-plugins-svn:4474 svn repositories requiring passwords are not currently supported. =head1 COPYRIGHT Copyright 2004 by the Source Mage Team Copyright 2005 by the Source Mage Team =head1 FUNCTIONS =over 4


function url_svn_crack()

Parameters:

Global

URL SVN_ROOT SVN_MODULE SVN_TAG

Description

=item url_svn_crack Parse the specified svn url.


function url_svn_is_valid()

Parameters:

Description

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


function url_svn_hostname()

Parameters:

Description

=item url_svn_hostname Get the hostname of the url


function url_svn_netselect()

Parameters:

Description

=item url_svn_netselect Gets a netselect type output for the url