module

Yozgat::Deploy::Git

Constants

GIT_ENV = {"GIT_TERMINAL_PROMPT" => "0"}
GITHUB_PREFIX = "https://github.com/"

Class methods

authenticated_url(repo_url : String, username : String | Nil, token : String | Nil) : String
Source
branch_ref_ok?(branch : String) : Bool
Source
clone_and_checkout(repo_url : String, username : String | Nil, token : String | Nil, dest : String, commit_hash : String) : Nil
Source
list_branches(url : String) : Array(String)
Source
ls_remote_output(url : String, ref : String) : String | Nil
Source
ls_remote_success?(url : String, ref : String | Nil = nil) : Bool
Source
normalize_github_url(raw : String) : String
Source
resolve_branch_head(url : String, branch : String) : String
Source