Tools to Work with and Manage ‘gitea’
The ‘gitea’ project is a ‘GitHub’-/‘GitLab’-like web user interface to ‘git’ repositories. Methods are provided to access and administer ‘gitea’ programmatically.
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.
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 applicationorg_list_user_orgs
: List a user’s organizationscreate_user_repo
: Create a repository as the ownerorg_get
: Get an organizationrepo_get
: Get a repositoryrepo_get_archive
: Get an archive of a repositoryrepo_get_raw_file
: Get a file from a repositoryrepo_migrate
: Migrate a remote git repositoryrepo_mirror_sync
: Sync a mirrored repositoryuser_current_list_repos
: List the repos that the authenticated user owns or has access touser_get
: Get a useruser_get_current
: Get the authenticated useruser_list_repos
: List the repos owned by the given user
devtools::install_git("git://gitlab.com/hrbrmstr/crumpets")
library(crumpets)
# current verison
packageVersion("crumpets")
## [1] '0.1.0'
get_version()
## [1] "1.4.2"