diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-11 06:09:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-11 06:09:46 +0000 |
commit | 55733b19c526145cceb120e8bb874d476a84383a (patch) | |
tree | dcde3cfb905516cd1f07ab364a94aff5fddff391 /doc/development/import_project.md | |
parent | ea99abb145ed193c2ac5d19efbff3b8990a54c9c (diff) | |
download | gitlab-ce-55733b19c526145cceb120e8bb874d476a84383a.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/import_project.md')
-rw-r--r-- | doc/development/import_project.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/development/import_project.md b/doc/development/import_project.md index 37cf07ff702..b969cb5f1c4 100644 --- a/doc/development/import_project.md +++ b/doc/development/import_project.md @@ -53,8 +53,18 @@ As part of this script we also disable direct and background upload to avoid sit We can simply run this script from the terminal: +Parameters: + +| Attribute | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `username` | string | yes | User name | +| `namespace_path` | string | yes | Namespace path | +| `project_path` | string | yes | Project name | +| `archive_path` | string | yes | Path to the exported project tarball you want to import | +| `measurement_enabled` | boolean | no | Measure execution time, number of SQL calls and GC count | + ```shell -bundle exec rake "gitlab:import_export:import[root, root, testingprojectimport, /path/to/file.tar.gz]" +bundle exec rake "gitlab:import_export:import[root, root, testingprojectimport, /path/to/file.tar.gz, true]" ``` ### Importing via the Rails console |