Releases: ThinkR-open/gitlabr
Releases · ThinkR-open/gitlabr
v2.1.0 - gitlab-ci with pak and manage groups
Breaking changes
use_gitlab_ci()
does not userepo_name
anymore as "rocker" images fix CRAN to a specific date.- Functions deprecated since version 0.7 are removed
- Transfer ownership of the project to ThinkR-open
New features
use_gitlab_ci()
allows to decide whether to update R packages during the CI pipeline- Add vignette to explain how to use 'gitlabr' with GitLab CI
gl_new_group()
,gl_edit_group()
,gl_delete_group()
,gl_list_groups()
,gl_list_sub_groups()
to deal with groups on a GitLab instance (@mpolano)gl_new_subgroup()
to create a subgroup in a group (@margotbrd)gl_delete_file()
to delete a file in a repositorygl_list_project_members()
andgl_list_group_members
to retrieve members of a project or a group (#61, @datawookie)gitlab()
queries allow for a vector of parameters to be passed to the API. This is needed when the API asks for an array (@klmr)
Minor changes
multilist_to_tibble()
transforms a deep structured nested list from an API into a tibble (#86, @statnmap, @ymansiaux)
Bug fixes
gitlabr 2.0.1
gitlabr 2.0.1
New features
- Connection now uses the token as "header" instead of being sent clearly in the URL (#66, @ei-ds)
gl_list_group_projects()
lists projects of a group (@Yoshinobu-Ishizaki)
Minor changes
- doc HTML5 re-created with last version of roxygen2
v2.0.0 - CRAN Release
gitlabr 2.0.0
Breaking changes
- Default branch is named
main
whenever required.- This can be changed with
gitlabr_options_set("gitlabr.main", "master")
- This can be changed with
- All project-specific functions get
project
as first parameter. Changes apply to:gl_get_comments()
,gl_to_issue_id()
,gl_get_issue_comments()
,gl_get_commit_comments()
,
gl_edit_comment()
,gl_edit_issue_comment()
,gl_edit_commit_comment()
gl_repository()
gl_get_issue()
,gl_to_issue_id()
,gl_new_issue()
,gl_create_issue()
,gl_edit_issue()
,gl_close_issue()
,
gl_reopen_issue()
,gl_assign_issue()
,gl_unassign_issue()
- Changed use of
api_version = "v4"
byapi_version = 4
- Changed use of
force_api_v3 = TRUE
byapi_version = 4
for deprecation by default
Major
- New use of
use_gitlab_ci()
with pre-defined templates - Add new functions to manage projects:
gl_get_project()
,gl_new_project()
,gl_edit_project()
,
gl_delete_project()
- Update documentation: recommend using
gl_*
functions
Minor
gl_archive()
is used to archive a project (not to download an archive)- fix use of
max_page
withgl_()
functions callinggitlab()
- Correction of api that downloaded twice the first page when
page == "all"
- Reduce
max_page
in examples and tests to retrieve content to allow to work with big GitLab servers like Gitlab.com - Change maintainer
- Update CONTRIBUTING for tests with Gitlab.com
update_gitlabr_code()
removed