Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Colyer <jcolyer@Jasons-MacBook-Pro.local>2019-08-02 22:35:10 +0300
committerJason Colyer <jcolyer@Jasons-MacBook-Pro.local>2019-08-02 22:35:10 +0300
commit87235d009c8d5f40ec0f29575c7af6e91cb0a926 (patch)
tree82cf812f00ac0c8f82416e13f8d86d2e6cfcd5dd /lib/gitlab
parente14265d50d80e96db694f66d6ea3a12b1fdcf943 (diff)
Make issue boards importable
- Added Importable to models/list.rb - Did unless: :importable? on board validation - Created changelog - Modified haml to show issue boards are importable - Added needed spec tests - Modified project.json to include board information - Added relevant models to all_models - Added relevant models to import_export - Added relevant models to safe_model_attributes
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/import_export/import_export.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/gitlab/import_export/import_export.yml b/lib/gitlab/import_export/import_export.yml
index 01437c67fa9..29da46fb18d 100644
--- a/lib/gitlab/import_export/import_export.yml
+++ b/lib/gitlab/import_export/import_export.yml
@@ -80,6 +80,13 @@ project_tree:
- :ci_cd_settings
- :error_tracking_setting
- :metrics_setting
+ - boards:
+ - lists:
+ - label:
+ - :priorities
+ - milestone:
+ - events:
+ - :push_event_payload
# Only include the following attributes for the models specified.
included_attributes:
@@ -216,6 +223,8 @@ methods:
- :action
project_badges:
- :type
+ lists:
+ - :list_type
# EE specific relationships and settings to include. All of this will be merged
# into the previous structures if EE is used.