diff --git a/DESCRIPTION b/DESCRIPTION index f12772d3..38060ea8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: GitStats Title: Standardized Git Repository Statistics -Version: 2.1.1.9001 +Version: 2.1.1.9002 Authors@R: c( person(given = "Maciej", family = "Banas", email = "banasmaciek@gmail.com", role = c("aut", "cre")), person(given = "Kamil", family = "Koziej", email = "koziej.k@gmail.com", role = "aut"), diff --git a/NEWS.md b/NEWS.md index 78c6a630..362acee3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,7 @@ - Fixed setting default tokens when `verbose` mode is set to `FALSE` ([#525](https://github.com/r-world-devs/GitStats/issues/525)) and fixed checking token scopes for GitLab ([#526](https://github.com/r-world-devs/GitStats/issues/526)). - Fixed `get_repos_urls()` output when individual repositories are set in `set_*_host()`([#529](https://github.com/r-world-devs/GitStats/issues/529)). Earlier the function pulled all repositories for an organization, even though, repositories were defined for the host, not whole organizations. This is similar to the solved earlier ([#439](https://github.com/r-world-devs/GitStats/issues/439)). +- Fixed getting GitLab subgroups as organizations in repositories table output when pulling repositories with code ([#531](https://github.com/r-world-devs/GitStats/issues/531)). # GitStats 2.1.1 diff --git a/R/EngineRestGitLab.R b/R/EngineRestGitLab.R index 817ff647..4f73d640 100644 --- a/R/EngineRestGitLab.R +++ b/R/EngineRestGitLab.R @@ -107,7 +107,7 @@ EngineRestGitLab <- R6::R6Class( "languages" = paste0(project$languages, collapse = ", "), "issues_open" = project$issues_open, "issues_closed" = project$issues_closed, - "organization" = project$namespace$path, + "organization" = project$namespace$full_path, "repo_url" = project$web_url ) }