diff options
author | Davin Walker <dwalker@gitlab.com> | 2018-03-06 23:21:56 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-10-09 16:25:26 +0300 |
commit | 813519af972f5082028d28a91e182505c6736ca8 (patch) | |
tree | f99d83e262ebeb1adc4a9ada2084ecf0f211bb49 /doc | |
parent | df0b8b946bef4f8ea825a5c2d3a7256bbd735a71 (diff) |
Update github_import.md
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/raketasks/github_import.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/administration/raketasks/github_import.md b/doc/administration/raketasks/github_import.md index 6b8ad1b039b..93cfa56ec5b 100644 --- a/doc/administration/raketasks/github_import.md +++ b/doc/administration/raketasks/github_import.md @@ -35,3 +35,25 @@ bundle exec rake import:github[access_token,root,foo/bar,foo/github_repo] RAILS_ ``` [ce-10308]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10308 + + + +## Troubleshooting + +* Syntax is very specific. Remove spaces within argument block and prior to brackets + +``` +# Success +sudo gitlab-rake import:github[access_token,root,foo/bar] + +# Fail +sudo gitlab-rake import:github[access_token, root, foo/bar] +rake aborted! +Don't know how to build task 'import:github[access_token, root, foo/bar,' (see --tasks) +``` + +* Some shells can interpret the open/close brackets (`[]`) separately (ex: zsh). You may need to escape the brackets or switch shells + +``` +zsh: no matches found: import:github[token,root,foo/project,group/repository] +``` |