Skip to content

Releases: ThinkR-open/gitlabr

v2.1.0 - gitlab-ci with pak and manage groups

17 May 07:06
88e77ce
Compare
Choose a tag to compare

Breaking changes

  • use_gitlab_ci() does not use repo_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 repository
  • gl_list_project_members() and gl_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

  • 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 page and max_page for infinite pagination (#90)
  • Fix auto_format=FALSE (#82)

gitlabr 2.0.1

13 Sep 14:46
c6ab5e4
Compare
Choose a tag to compare

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

05 Aug 07:57
Compare
Choose a tag to compare

gitlabr 2.0.0

Breaking changes

  • Default branch is named main whenever required.
    • This can be changed with gitlabr_options_set("gitlabr.main", "master")
  • 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" by api_version = 4
  • Changed use of force_api_v3 = TRUE by api_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 with gl_() functions calling gitlab()
  • 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