Rex::Commands::SCM(3pm)

Rex::Commands::SCM3pm

Sourcecontrol for subversion and git.

Usage

 use Rex::Commands::SCM;
 set repository => "myrepo",
    url => '[email protected]:myrepo.git';
 set repository => "myrepo2",
    url      => "https://foo.bar/myrepo",
    type     => "subversion",
    username => "myuser",
    password => "mypass";
 task "checkout", sub {
   checkout "myrepo";
   checkout "myrepo",
     path => "webapp";
   checkout "myrepo",
     path   => "webapp",
     branch => 1.6;    # branch only for git
   # For Git only, will replay any local commits on top of pulled commits
   checkout "myrepo",
     path   => "script_dir",
     rebase => TRUE;
   checkout "myrepo2";
 };

Overview

With this module you can checkout subversion and git repositories.

Version <= 1.0: All these functions will not be reported.

All these functions are not idempotent.

Exported functions

checkout($name, %data);

With this function you can checkout a repository defined with set repository. See Synopsis.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From rex 1.16.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.