summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/import_export.yml
diff options
context:
space:
mode:
authorJames Lopez <james@gitlab.com>2017-05-03 10:12:32 +0000
committerRémy Coutable <remy@rymai.me>2017-05-03 10:12:32 +0000
commit2174e37845f6865c20ba94da5520c8d9e874998f (patch)
tree1a6eb510ae73492e00d6d3621a3138d869c9d8fe /lib/gitlab/import_export/import_export.yml
parentd811004d023cee1ae5cbcb5792faca34b30336a3 (diff)
downloadgitlab-ce-2174e37845f6865c20ba94da5520c8d9e874998f.tar.gz
Include missing project attributes to Import/Export
Diffstat (limited to 'lib/gitlab/import_export/import_export.yml')
-rw-r--r--lib/gitlab/import_export/import_export.yml30
1 files changed, 25 insertions, 5 deletions
diff --git a/lib/gitlab/import_export/import_export.yml b/lib/gitlab/import_export/import_export.yml
index 899a6567768..b95cea371b9 100644
--- a/lib/gitlab/import_export/import_export.yml
+++ b/lib/gitlab/import_export/import_export.yml
@@ -41,7 +41,6 @@ project_tree:
- :statuses
- triggers:
- :trigger_schedule
- - :deploy_keys
- :services
- :hooks
- protected_branches:
@@ -53,10 +52,6 @@ project_tree:
# Only include the following attributes for the models specified.
included_attributes:
- project:
- - :description
- - :visibility_level
- - :archived
user:
- :id
- :email
@@ -66,6 +61,29 @@ included_attributes:
# Do not include the following attributes for the models specified.
excluded_attributes:
+ project:
+ - :name
+ - :path
+ - :namespace_id
+ - :creator_id
+ - :import_url
+ - :import_status
+ - :avatar
+ - :import_type
+ - :import_source
+ - :import_error
+ - :mirror
+ - :runners_token
+ - :repository_storage
+ - :repository_read_only
+ - :lfs_enabled
+ - :import_jid
+ - :created_at
+ - :updated_at
+ - :import_jid
+ - :import_jid
+ - :id
+ - :star_count
snippets:
- :expired_at
merge_request_diff:
@@ -94,3 +112,5 @@ methods:
- :utf8_st_diffs
merge_requests:
- :diff_head_sha
+ project:
+ - :description_html \ No newline at end of file