Class Gitrepo

class multigit.Gitrepo[source]

Processes a single git repo entity as defined by multigit.

status(repoconf)[source]

Finds the status of the repo configuration that gets as param.

Parameters:

repoconf – the configuration dictionary of the git repository to be processed.

Returns:

returns the same repoconf dictionary provided as parameter with a new ‘status’ key populated and, optionally a ‘extra_info’ key.

update(repoconf)[source]

Updates a repo entry as per its current state.

Parameters:

repoconf – the configuration dictionary of the git repository to be processed.

Returns:

returns the same repoconf dictionary provided as parameter with a new ‘status’ key populated after update process and, optionally, a ‘extra_info’ key.