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-06 14:40:02 +0300
committerJames Lopez <james@jameslopez.es>2016-05-06 14:40:02 +0300
commitce598b05414d52b31437dbe19412eb6a9a16f1b5 (patch)
tree34349e8e2c95ae01c0e219cedd42e335ef0e9321 /lib/gitlab/import_export/import_export.yml
parent6612ca096a496caaa0d30724190964df8aac2f46 (diff)
fixed and refactored a few things based on MR feedback
Diffstat (limited to 'lib/gitlab/import_export/import_export.yml')
-rw-r--r--lib/gitlab/import_export/import_export.yml24
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/gitlab/import_export/import_export.yml b/lib/gitlab/import_export/import_export.yml
index 92f492e9013..ca433e72d5f 100644
--- a/lib/gitlab/import_export/import_export.yml
+++ b/lib/gitlab/import_export/import_export.yml
@@ -1,22 +1,23 @@
-# Class relationships to be included in the project import/export
-:project_tree:
- - :issues:
+# Model relationships to be included in the project import/export
+project_tree:
+ - issues:
- :notes
- :labels
- :milestones
- :snippets
- :releases
- :events
- - :project_members:
+ - project_members:
- :user
- - :merge_requests:
+ - merge_requests:
- :merge_request_diff
- :notes
- - :ci_commits:
+ - ci_commits:
- :statuses
-:attributes_only:
- :project:
+# Only include the following attributes for the models specified.
+included_attributes:
+ project:
- :name
- :path
- :description
@@ -27,11 +28,12 @@
- :snippets_enabled
- :visibility_level
- :archived
- :user:
+ user:
- :id
- :email
- :username
-:attributes_except:
- :snippets:
+# Do not include the following attributes for the models specified.
+excluded_attributes:
+ snippets:
- :expired_at \ No newline at end of file