create_user_repo: Create a repository as the owner

Description Usage Arguments Value

Description

Create a repository as the owner

Usage

1
2
3
4
create_user_repo(name, description = NULL, gitignores = NULL,
  readme = "Default", license = NULL, private = FALSE, auto_init = TRUE,
  api_endpoint = Sys.getenv("GITEA_BASE_URL"),
  gitea_token = Sys.getenv("GITEA_PAT"))

Arguments

name

Repository name. Mandatory. A good repository name is composed of short, memorable, and unique keywords.

description

Repository description. Optional.

gitignores

Use a .gitignore template. Supply a valid name you see in the dropdown. Case matters. Optional.

readme

use the Default empty README.md

license

Use a content license template. Supply a valid name you see in the dropdown. Case matters. Optional.

private

logical. Defaults to FALSE

auto_init

auto-initialize the repo? Default is TRUE

api_endpoint

URL prefix for your gitea server (no trailing '/')

gitea_token

NOTE: we use access_token in the package

Value

list (invisibly) with the status result of the API


hrbrmstr/crumpets documentation built on May 4, 2019, 8:40 a.m.