use_gitlab_ci()does not userepo_nameanymore 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
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_membersto 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)
multilist_to_tibble()transforms a deep structured nested list from an API into a tibble (#86, @statnmap, @ymansiaux)
gl_file_exists(),gl_list_files(),gl_push_file(),gl_delete_file()now work with files in subdirectories- Fix handling file path in sub-directories in
gl_push_file()(#73, #111) - Fix combination of
pageandmax_pagefor infinite pagination (#90) - Fix
auto_format=FALSE(#82)
- 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)
- doc HTML5 re-created with last version of roxygen2
- Default branch is named
mainwhenever required.- This can be changed with
gitlabr_options_set("gitlabr.main", "master")
- This can be changed with
- All project-specific functions get
projectas 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 = TRUEbyapi_version = 4for deprecation by default
- 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
gl_archive()is used to archive a project (not to download an archive)- fix use of
max_pagewithgl_()functions callinggitlab() - Correction of api that downloaded twice the first page when
page == "all" - Reduce
max_pagein 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
gl_create_issueis introduced as new alias forgl_new_issue- tests are migrated and adapted to test server https://test-gitlab.points-of-interest.cc and to gitlab version 11.6. More specifically a private access tokens is used and login via username and password is no longer possible.
- Support for GitLab API v4 (default from GitLab version 9.0 onward) was added. GitLab API v4 is now the default used by gitlabr, but using the old API (v3) is still possible, see details section "API version" of the documentation of
gl_connection.- Several convenience functions now have a
force_api_v3parameter to force old API version logic. - Issues are now identified by project-wide id and not global iid, according to API v4 logic.
- Function
gl_buildswas replaced bygl_pipelinesandgl_jobsto reflect API v4 logic.
- Several convenience functions now have a
push_to_remotesparameter was added touse_gitlab_cisuch that gitlab CI can be used conveniently for pushing to remote repositories.- Examples were added to almost all function reference pages.
- In case of Server Error (HTTP Status 5xx), gitlabr now performs up to 3 retries, waiting 25 seconds in between. This is mostly to catch errors due to slow server responses, when the packages test suite is run.
There is no gitlabr 0.8. Version number 0.9 was used to align with GitLab version 9.0, for which this version is appropriate.
- All functions were renamed to a new scheme starting with "gl_"
- A shiny module with gitlab login was added
- CI access functions were added
- Added a
NEWS.mdfile to track changes to the package.