gitlabr | An R client for the GitLab API | REST library

 by   statnmap R Version: v2.0.0 License: No License

kandi X-RAY | gitlabr Summary

kandi X-RAY | gitlabr Summary

gitlabr is a R library typically used in Web Services, REST applications. gitlabr has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

An R client for the GitLab API
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gitlabr has a low active ecosystem.
              It has 21 star(s) with 4 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 12 open issues and 17 have been closed. On average issues are closed in 98 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of gitlabr is v2.0.0

            kandi-Quality Quality

              gitlabr has no bugs reported.

            kandi-Security Security

              gitlabr has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              gitlabr does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              gitlabr releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gitlabr
            Get all kandi verified functions for this library.

            gitlabr Key Features

            No Key Features are available at this moment for gitlabr.

            gitlabr Examples and Code Snippets

            {gitlabr} ,Quick Start Example
            Rdot img1Lines of Code : 75dot img1no licencesLicense : No License
            copy iconCopy
            library(gitlabr)
            
            # You can verify your token works
            # Sys.getenv("GITLAB_COM_TOKEN")
            
            # connect as a fixed user to a GitLab instance for the session
            set_gitlab_connection(
              gitlab_url = "https://gitlab.com",
              private_token = Sys.getenv("GITLAB_COM_  
            copy iconCopy
            my_project <- 20384533 #repo.rtask",
            
            gitlabr_options_set("gitlabr.main", "master")
            
            gl_list_files(project = my_project)
            #> # A tibble: 2 x 5
            #>   id                                       name        type  path        mode  
            #>             
            {gitlabr} ,Quick Start Example,Use additional requests
            Rdot img3Lines of Code : 6dot img3no licencesLicense : No License
            copy iconCopy
            gitlab(
              req = "projects",
              verb = httr::POST,
              name = "toto",
              default_branch = "main"
            )
              

            Community Discussions

            Trending Discussions on gitlabr

            QUESTION

            get file or directory with gitlabr
            Asked 2020-Mar-13 at 00:47

            I am trying to get a file in a gitlab repository using gitlabr, an R package with convenience functions for Gitlab's API.

            I am able to return that a file exists in a location, but when I try to get the file I pull an error, see below.

            Can post a reprex if someone has an open gitlab repo they can refer me to for which to point the first few reference variables.

            Thanks!

            ...

            ANSWER

            Answered 2020-Feb-20 at 19:03

            I have since been able to request archive or specific files from a repository using httr and the gitlab API directly.

            See download directory from a branch using Gitlab API v4 for more information.

            Source https://stackoverflow.com/questions/59742203

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gitlabr

            You can install the most recent stable version from CRAN using:.
            R code using {gitlabr} to perform some common GitLab actions can look like this.
            Create a TOKEN on your GitLab instance with scopes: api For instance on gitlab.com: https://gitlab.com/-/profile/personal_access_tokens
            Store your token in .Renviron as GITLAB_COM_TOKEN with usethis::edit_r_environ() and restart your session
            Set a connection to GitLab instance
            Find the list of projects available to you Define a limit of pages of projects to search in with max_page, otherwise the entire GitLab.com will be downloaded here… Find all parameters available in the API for projects on this page: https://docs.gitlab.com/ee/api/projects.html For instance, we can set owned = FALSE to retrieve all projects except ours.

            Support

            You’re welcome to contribute to {gitlabr} by editing the source code, adding more convenience functions, filing issues, etc. CONTRIBUTING.md compiles some information helpful in that process.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/statnmap/gitlabr.git

          • CLI

            gh repo clone statnmap/gitlabr

          • sshUrl

            git@github.com:statnmap/gitlabr.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link