diff options
author | James Lopez <james@jameslopez.es> | 2016-05-06 14:40:02 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-05-06 14:40:02 +0300 |
commit | ce598b05414d52b31437dbe19412eb6a9a16f1b5 (patch) | |
tree | 34349e8e2c95ae01c0e219cedd42e335ef0e9321 /lib/gitlab/import_export/import_export.yml | |
parent | 6612ca096a496caaa0d30724190964df8aac2f46 (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.yml | 24 |
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 |