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

56 lines
981 B
YAML

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