Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-12 15:27:41 +0300
committerJames Lopez <james@jameslopez.es>2016-05-12 15:27:41 +0300
commit8165e52045711958abbb94ee9ea2c00056ccadda (patch)
tree16f03d22d994f7db2868119a06551d9f5ad6158f /lib/gitlab/import_export/import_export.yml
parentb2b7b38c944436af5257b1b38d612aeb3d2f237e (diff)
add author on notes to export - so we can add to a note if project member is not found
Diffstat (limited to 'lib/gitlab/import_export/import_export.yml')
-rw-r--r--lib/gitlab/import_export/import_export.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/import_export.yml b/lib/gitlab/import_export/import_export.yml
index 36128909df4..66e6ae86cfe 100644
--- a/lib/gitlab/import_export/import_export.yml
+++ b/lib/gitlab/import_export/import_export.yml
@@ -1,7 +1,8 @@
# Model relationships to be included in the project import/export
project_tree:
- issues:
- - :notes
+ - notes:
+ :author
- :labels
- :milestones
- :snippets
@@ -10,8 +11,9 @@ project_tree:
- project_members:
- :user
- merge_requests:
+ - notes:
+ :author
- :merge_request_diff
- - :notes
- ci_commits:
- :statuses
@@ -31,6 +33,8 @@ included_attributes:
- :id
- :email
- :username
+ author:
+ - :name
# Do not include the following attributes for the models specified.
excluded_attributes: