List all commits from all repositories for an organization or a vector of repositories.
Arguments
- gitstats
A
GitStatsobject.- since
A starting date.
- until
An end date.
- cache
A logical, if set to
TRUEGitStats will retrieve the last result from its storage.- verbose
A logical,
TRUEby default. IfFALSEmessages and printing output is switched off.- progress
A logical, by default set to
verbosevalue. IfFALSEnocliprogress bar will be displayed.
Examples
if (FALSE) { # \dontrun{
my_gitstats <- create_gitstats() |>
set_github_host(
token = Sys.getenv("GITHUB_PAT"),
repos = c("openpharma/DataFakeR", "openpharma/visR")
) |>
set_gitlab_host(
token = Sys.getenv("GITLAB_PAT_PUBLIC"),
orgs = "mbtests"
)
get_commits(my_gitstats, since = "2018-01-01")
} # }