Learn R Programming

gitgadget (version 0.8.1)

assign_work: Assign work to each student/team by creating a fork of the main repo

Description

Assign work to each student/team by creating a fork of the main repo

Usage

assign_work(
  token,
  groupname,
  assignment,
  userfile,
  tafile = "",
  type = "individual",
  pre = "",
  server = "https://gitlab.com/api/v4/"
)

Arguments

token

GitLab token

groupname

Group to create on GitLab (defaults to user's namespace)

assignment

Name of the assignment to assign

userfile

A csv file with student information (i.e., username, token, and email)

tafile

A optional csv file with TA information (i.e., username, token, and email)

type

Individual or Team work

pre

Pre-amble for the assignment name, usually groupname + "-"

server

The GitLab API server

Details

See https://github.com/vnijs/gitgadget for additional documentation