From d70e802cf4e345c409546a36481b3aa018d63eba Mon Sep 17 00:00:00 2001 From: Hans-Peter Deifel <hpd@hpdeifel.de> Date: Sun, 3 Jan 2016 00:36:06 +0100 Subject: [PATCH] Add issue creation to README --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 34e443a..2d15aaf 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,21 @@ stack build # Usage +## Dumping the issues from Redmine stack exec dump-issues > dump.json + +## Creating the issues in GitLab + +The following environment variables must be set: + + - `GITLAB_ENDPOINT` + - `GITLAB_PRIVATE_TOKEN` + +You can get your private token under "Profile Settings" -> "Account" + +You also need to have the issue dump from redmine as a file: + + export GITLAB_ENDPOINT=https://example.com/gitlab + export GITLAB_PRIVATE_TOKEN=YOURTOKEN + stack exec enter-issues eva.fsi/evaluationsportal ./dump.json -- GitLab