generate_changelog.git_ops.parse_commits

parse_commits#

generate_changelog.git_ops.parse_commits(repository, starting_rev=None, ending_rev=None)[source]#

Parse the commits for later processing.

Parameters:
  • repository (Repo) – The repository object.

  • starting_rev (Optional[str]) – Include all commits after this revision.

  • ending_rev (Optional[str]) – include all commmits before and including this revision.

Return type:

list

Returns:

A list of CommitInfo objects.