GitStats 2.2.0
This release brings some substantial improvements with making it possible to scan whole organizations and particular repositories for one host at the same time, boosting function to prepare commits statistics and simplifying workflow for getting files.
Features:
- From now on it is possible to pass
orgs
andrepos
inset_*_host()
functions (#400). - Improved
get_commits_stats()
function (#556, #557) with:- giving possibility to customize grouping variable by passing it with the
group_var
parameter, - changing name of the
time_interval
parameter totime_aggregation
, - adding
yearly
aggregation totime_aggregation
parameter, - changing basic input from
GitStats
tocommits_data
object which allows to build workflow in one pipeline (create_gitstats() |> set_*_host() |> get_commits() |> get_commits_stats()
).
- giving possibility to customize grouping variable by passing it with the
- Merged two functions
get_files_content()
andget_files_structure()
into oneget_files()
(#564). - Add
.error
parameter to theset_*_host()
functions to control if error should pop up when wrong input is passed (#547).
Fixes:
- Fixed pulling commits for GitLab subgroups when repositories are set as scope to scan (#551).
- Filled more information on
author_name
andauthor_login
if it was missing incommits_table
(#550). - Handled a
GraphQL
response error when pulling repositories with R error. Earlier,GitStats
just returned empty table with no clue on what has happened, as errors fromGraphQL
are returned as list outputs (they do not break code). - Fixed getting R package usage when repositories are set (#548).
- Added possibility to pass GitHub users to
orgs
parameter inset_github_host()
(#562).