2016-05-06 11:40:02 +00:00
|
|
|
# Model relationships to be included in the project import/export
|
|
|
|
project_tree:
|
|
|
|
- issues:
|
2016-06-29 08:35:26 +00:00
|
|
|
- :events
|
2016-05-12 12:27:41 +00:00
|
|
|
- notes:
|
2016-07-22 10:10:45 +00:00
|
|
|
- :author
|
|
|
|
- :events
|
|
|
|
- label_links:
|
|
|
|
- :label
|
|
|
|
- milestone:
|
|
|
|
- :events
|
2016-06-03 15:28:08 +00:00
|
|
|
- snippets:
|
|
|
|
- notes:
|
|
|
|
:author
|
2016-04-06 16:12:41 +00:00
|
|
|
- :releases
|
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:
|
2016-06-29 08:35:26 +00:00
|
|
|
- :author
|
|
|
|
- :events
|
2016-04-06 16:12:41 +00:00
|
|
|
- :merge_request_diff
|
2016-06-29 08:35:26 +00:00
|
|
|
- :events
|
2016-07-22 10:10:45 +00:00
|
|
|
- label_links:
|
|
|
|
- :label
|
|
|
|
- milestone:
|
|
|
|
- :events
|
2016-06-13 08:55:54 +00:00
|
|
|
- pipelines:
|
2016-06-03 10:56:29 +00:00
|
|
|
- notes:
|
2016-06-29 08:35:26 +00:00
|
|
|
- :author
|
|
|
|
- :events
|
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-07-22 10:10:45 +00:00
|
|
|
- :labels
|
|
|
|
- milestones:
|
|
|
|
- :events
|
2016-08-01 22:31:21 +00:00
|
|
|
- :project_feature
|
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
|
|
|
- :description
|
|
|
|
- :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
|
2016-07-01 11:03:37 +00:00
|
|
|
merge_request_diff:
|
|
|
|
- :st_diffs
|
2016-07-22 10:10:45 +00:00
|
|
|
issues:
|
|
|
|
- :milestone_id
|
|
|
|
merge_requests:
|
|
|
|
- :milestone_id
|
2016-05-18 15:48:15 +00:00
|
|
|
|
|
|
|
methods:
|
|
|
|
statuses:
|
2016-07-01 11:03:37 +00:00
|
|
|
- :type
|
|
|
|
merge_request_diff:
|
2016-08-01 22:31:21 +00:00
|
|
|
- :utf8_st_diffs
|