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

73 lines
1.2 KiB
YAML

# Model relationships to be included in the project import/export
project_tree:
- issues:
- :events
- notes:
- :author
- :events
- label_links:
- :label
- milestone:
- :events
- snippets:
- notes:
:author
- :releases
- project_members:
- :user
- merge_requests:
- notes:
- :author
- :events
- :merge_request_diff
- :events
- label_links:
- :label
- milestone:
- :events
- pipelines:
- notes:
- :author
- :events
- :statuses
- :variables
- :triggers
- :deploy_keys
- :services
- :hooks
- :protected_branches
- :labels
- milestones:
- :events
- :project_feature
# Only include the following attributes for the models specified.
included_attributes:
project:
- :description
- :visibility_level
- :archived
user:
- :id
- :email
- :username
author:
- :name
# Do not include the following attributes for the models specified.
excluded_attributes:
snippets:
- :expired_at
merge_request_diff:
- :st_diffs
issues:
- :milestone_id
merge_requests:
- :milestone_id
methods:
statuses:
- :type
merge_request_diff:
- :utf8_st_diffs