Skip to content

hrbrmstr/crumpets

Repository files navigation

crumpets

Tools to Work with and Manage ‘gitea’

Description

The ‘gitea’ project is a ‘GitHub’-/‘GitLab’-like web user interface to ‘git’ repositories. Methods are provided to access and administer ‘gitea’ programmatically.

NOTE

The function skeletons were generated from the Swagger definition file for Gitea. These will be incrementally fully formed and the ones that are still a WIP will hard error with a stop() message. Function titles prefied with WIP are WIP and you’re welcome to join in the fun of building out 145 httr functions O_o.

What’s Inside The Tin

There are at nearly 140 other functions in this package so please see the manual pages in the online R help system.

The following functions are implemented (i.e. are not in a WIP status):

  • get_version: Returns the version of the Gitea application
  • org_list_user_orgs: List a user’s organizations
  • create_user_repo: Create a repository as the owner
  • org_get: Get an organization
  • repo_get: Get a repository
  • repo_get_archive: Get an archive of a repository
  • repo_get_raw_file: Get a file from a repository
  • repo_migrate: Migrate a remote git repository
  • repo_mirror_sync: Sync a mirrored repository
  • user_current_list_repos: List the repos that the authenticated user owns or has access to
  • user_get: Get a user
  • user_get_current: Get the authenticated user
  • user_list_repos: List the repos owned by the given user

Installation

devtools::install_git("git://gitlab.com/hrbrmstr/crumpets")

Usage

library(crumpets)

# current verison
packageVersion("crumpets")
## [1] '0.1.0'
get_version()
## [1] "1.4.2"

About

🍵🥐 Tools to Work with and Manage 'gitea' in R

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages