www.LinuxHowtos.org





Git::SVN::Prompt

Section: User Contributed Perl Documentation (3)
Updated: 2016-11-29
Index Return to Main Contents
 

NAME

Git::SVN::Prompt - authentication callbacks for git-svn  

SYNOPSIS

    use Git::SVN::Prompt qw(simple ssl_client_cert ssl_client_cert_pw
                            ssl_server_trust username);
    use SVN::Client ();

    my $cached_simple = SVN::Client::get_simple_provider();
    my $git_simple = SVN::Client::get_simple_prompt_provider(\&simple, 2);
    my $cached_ssl = SVN::Client::get_ssl_server_trust_file_provider();
    my $git_ssl = SVN::Client::get_ssl_server_trust_prompt_provider(
        \&ssl_server_trust);
    my $cached_cert = SVN::Client::get_ssl_client_cert_file_provider();
    my $git_cert = SVN::Client::get_ssl_client_cert_prompt_provider(
        \&ssl_client_cert, 2);
    my $cached_cert_pw = SVN::Client::get_ssl_client_cert_pw_file_provider();
    my $git_cert_pw = SVN::Client::get_ssl_client_cert_pw_prompt_provider(
        \&ssl_client_cert_pw, 2);
    my $cached_username = SVN::Client::get_username_provider();
    my $git_username = SVN::Client::get_username_prompt_provider(
        \&username, 2);

    my $ctx = new SVN::Client(
        auth => [
            $cached_simple, $git_simple,
            $cached_ssl, $git_ssl,
            $cached_cert, $git_cert,
            $cached_cert_pw, $git_cert_pw,
            $cached_username, $git_username
        ]);

 

DESCRIPTION

This module is an implementation detail of the ``git svn'' command. It implements git-svn's authentication policy. Do not use it unless you are developing git-svn.

The interface will change as git-svn evolves.  

DEPENDENCIES

SVN::Core.  

SEE ALSO

SVN::Client.  

INCOMPATIBILITIES

None reported.  

BUGS

None.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DEPENDENCIES
SEE ALSO
INCOMPATIBILITIES
BUGS