Rex::C...s::SCM(3pm)

πŸ’– Rex::Commands::SCM(3pm) πŸ’–

okay bestie, listen up β€” this page is Rex::C...s::SCM(3pm), from the User Contributed Perl Documentation section, and it's literally the source-control girlie of the Rex family. Let's get into it πŸ’…


✨ NAME ✨

Rex::Commands::SCM β€” Sourcecontrol for Subversion and Git.


🌸 DESCRIPTION 🌸

With this module you can checkout subversion and git repositories. That's the whole vibe. Checkout. Repos. Slay πŸŽ€

⚠️ Version <= 1.0: All these functions will not be reported.
⚠️ All these functions are not idempotent. Not me warning you twice β€” the page itself is highkey loud about this one, so no cap, don't expect running them twice to be a chill experience 😭

πŸ¦‹ SYNOPSIS πŸ¦‹

use Rex::Commands::SCM;

set repository => "myrepo",
   url => 'git@foo.bar: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";
};

πŸ‘‘ EXPORTED FUNCTIONS πŸ‘‘

πŸ’œ checkout($name, %data);

With this function you can checkout a repository defined with set repository. See Synopsis, bestie β€” the whole recipe is right up there β˜οΈπŸ’–


Author / copyright / license deets: this page doesn't spell them out, and that's the entire tea β€” nothing here to report, no cap πŸ™ˆ

SEE ALSO: also empty, so there's no side-quest reading to send you on. You're free πŸ•ŠοΈβœ¨


k that's the whole page, you ate it, no crumbs left πŸ’…

Signing off with the receipts: this is perl v5.40.1, dated 2025-10-03, and the page is Rex::C...s::SCM(3pm) from the User Contributed Perl Documentation. Byeee 🫢🌸

πŸ“¦ where this page comes from