-
- Downloads
Merge branch 'fix/import-export-events' into 'master'
Fixing problems with events for import/export Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/19202 A couple of issues related to target being missing in exported `Events` (as being polymorphic and not have `ActiveRecord` relationships is a bit more tricky than normal models) plus as the export was in JSON, the import retrieves hashed fields as stringified hashes and not symbolized - so fixed that as well, which was the cause of https://gitlab.com/gitlab-org/gitlab-ce/issues/19202 Also fixed / refactored tests :simpl Import/Export Version has been bumped to 0.1.1 as theses changes to events won't work very well with old exports - forcing users to generate a new export in the new version. See merge request !4987
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/models/issue.rb 2 additions, 0 deletionsapp/models/issue.rb
- app/models/merge_request.rb 2 additions, 0 deletionsapp/models/merge_request.rb
- app/models/milestone.rb 1 addition, 0 deletionsapp/models/milestone.rb
- app/models/note.rb 1 addition, 0 deletionsapp/models/note.rb
- lib/gitlab/import_export.rb 1 addition, 1 deletionlib/gitlab/import_export.rb
- lib/gitlab/import_export/import_export.yml 10 additions, 5 deletionslib/gitlab/import_export/import_export.yml
- lib/gitlab/import_export/relation_factory.rb 1 addition, 0 deletionslib/gitlab/import_export/relation_factory.rb
- spec/features/projects/import_export/test_project_export.tar.gz 0 additions, 0 deletions...eatures/projects/import_export/test_project_export.tar.gz
- spec/lib/gitlab/import_export/project.json 4200 additions, 2182 deletionsspec/lib/gitlab/import_export/project.json
- spec/lib/gitlab/import_export/project_tree_restorer_spec.rb 6 additions, 0 deletionsspec/lib/gitlab/import_export/project_tree_restorer_spec.rb
- spec/lib/gitlab/import_export/project_tree_saver_spec.rb 5 additions, 2 deletionsspec/lib/gitlab/import_export/project_tree_saver_spec.rb
No preview for this file type
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Please register or sign in to comment