gitlab-org--gitlab-foss/lib/gitlab/import_export/import_export.yml

73 lines
1.2 KiB
YAML
Raw Normal View History

# Model relationships to be included in the project import/export
project_tree:
- issues:
2016-06-29 08:35:26 +00:00
- :events
- notes:
- :author
- :events
- label_links:
- :label
- milestone:
- :events
- snippets:
- notes:
:author
- :releases
- project_members:
- :user
- merge_requests:
- notes:
2016-06-29 08:35:26 +00:00
- :author
- :events
- :merge_request_diff
2016-06-29 08:35:26 +00:00
- :events
- label_links:
- :label
- milestone:
- :events
- pipelines:
- notes:
2016-06-29 08:35:26 +00:00
- :author
- :events
- :statuses
2016-05-18 08:39:53 +00:00
- :variables
- :triggers
- :deploy_keys
- :services
- :hooks
- :protected_branches
- :labels
- milestones:
- :events
2016-08-01 22:31:21 +00:00
- :project_feature
# Only include the following attributes for the models specified.
included_attributes:
project:
- :description
- :visibility_level
- :archived
user:
- :id
- :email
2016-04-07 16:14:42 +00:00
- :username
author:
- :name
2016-04-07 16:14:42 +00:00
# Do not include the following attributes for the models specified.
excluded_attributes:
snippets:
2016-05-18 15:48:15 +00:00
- :expired_at
merge_request_diff:
- :st_diffs
issues:
- :milestone_id
merge_requests:
- :milestone_id
2016-05-18 15:48:15 +00:00
methods:
statuses:
- :type
merge_request_diff:
2016-08-01 22:31:21 +00:00
- :utf8_st_diffs