project_release.git

Git related code.

Functions

compare_ref(ref, base_ref)

Compare a ref to a base ref and return the relative position.

create_branch(branch_name, default_ref, remote)

Create a local branch.

current_branch_name(repo)

Return the current branch name.

current_repo()

Return the current git repository.

local_branch_names(repo)

Return the local branches.

remote_branch_names(remote)

Return the remote branches.

repo_branch_names(repo, remote)

Return the local and remote branches.

update_branch(branch, remote, force_update)

Update a local git branch.

Classes

GitBanchConfig(*[, development, release])

Git branch configuration.

GitCommitConfig(*[, message])

Git commit configuration.

GitConfig(*[, branch, commit, tag])

Git configuration.

GitTagConfig(*[, format, message, annotate])

Git tag configuration.

RefPosition(value[, names, module, ...])

The position of a ref in comparison to a base ref.