2016-05-06 11:40:02 +00:00
|
|
|
# Model relationships to be included in the project import/export
|
|
|
|
project_tree:
|
|
|
|
- issues:
|
2016-05-12 12:27:41 +00:00
|
|
|
- notes:
|
|
|
|
:author
|
2016-04-06 16:12:41 +00:00
|
|
|
- :labels
|
|
|
|
- :milestones
|
2016-06-03 15:28:08 +00:00
|
|
|
- snippets:
|
|
|
|
- notes:
|
|
|
|
:author
|
2016-04-06 16:12:41 +00:00
|
|
|
- :releases
|
|
|
|
- :events
|
2016-05-06 11:40:02 +00:00
|
|
|
- project_members:
|
2016-04-06 16:12:41 +00:00
|
|
|
- :user
|
2016-05-06 11:40:02 +00:00
|
|
|
- merge_requests:
|
2016-05-12 12:27:41 +00:00
|
|
|
- notes:
|
|
|
|
:author
|
2016-04-06 16:12:41 +00:00
|
|
|
- :merge_request_diff
|
2016-06-13 08:55:54 +00:00
|
|
|
- pipelines:
|
2016-06-03 10:56:29 +00:00
|
|
|
- notes:
|
|
|
|
:author
|
2016-06-13 08:55:54 +00:00
|
|
|
- :statuses
|
2016-05-18 08:39:53 +00:00
|
|
|
- :variables
|
|
|
|
- :triggers
|
|
|
|
- :deploy_keys
|
|
|
|
- :services
|
|
|
|
- :hooks
|
|
|
|
- :protected_branches
|
2016-04-06 16:12:41 +00:00
|
|
|
|
2016-05-06 11:40:02 +00:00
|
|
|
# Only include the following attributes for the models specified.
|
|
|
|
included_attributes:
|
|
|
|
project:
|
2016-04-06 16:12:41 +00:00
|
|
|
- :name
|
|
|
|
- :path
|
|
|
|
- :description
|
|
|
|
- :issues_enabled
|
|
|
|
- :merge_requests_enabled
|
|
|
|
- :wiki_enabled
|
|
|
|
- :snippets_enabled
|
|
|
|
- :visibility_level
|
|
|
|
- :archived
|
2016-05-06 11:40:02 +00:00
|
|
|
user:
|
2016-04-06 16:12:41 +00:00
|
|
|
- :id
|
|
|
|
- :email
|
2016-04-07 16:14:42 +00:00
|
|
|
- :username
|
2016-05-12 12:27:41 +00:00
|
|
|
author:
|
|
|
|
- :name
|
2016-04-07 16:14:42 +00:00
|
|
|
|
2016-05-06 11:40:02 +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
|
|
|
|
|
|
|
|
methods:
|
|
|
|
statuses:
|
|
|
|
- :type
|