Skip to content

Commit

Permalink
Merge pull request #532 from r-world-devs/531-fix-getting-gitlab-subg…
Browse files Browse the repository at this point in the history
…roups-in-organizations-column-in-repos_table

Fix getting GitLab subgroups in repos table.
  • Loading branch information
maciekbanas authored Nov 5, 2024
2 parents 6b2de36 + 6b40e50 commit 01f3285
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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"),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion R/EngineRestGitLab.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
Expand Down

0 comments on commit 01f3285

Please sign in to comment.