gitlab-org--gitlab-foss/lib/gitlab/import_export
Sean McGivern 4ebbfe5d3e Remove serialised diff and commit columns
The st_commits and st_diffs columns on merge_request_diffs historically held the
YAML-serialised data for a merge request diff, in a variety of formats.

Since 9.5, these have been migrated in the background to two new tables:
merge_request_diff_commits and merge_request_diff_files. That has the advantage
that we can actually query the data (for instance, to find out how many commits
we've stored), and that it can't be in a variety of formats, but must match the
new schema.

This is the final step of that journey, where we drop those columns and remove
all references to them. This is a breaking change to the importer, because we
can no longer import diffs created in the old format, and we cannot guarantee
the export will be in the new format unless it was generated after this commit.
2017-11-28 16:13:40 +00:00
..
attribute_cleaner.rb Merge branch 'fix/import-projectmember-security' into 'security' 2016-11-03 16:04:18 +01:00
attributes_finder.rb Fix two additional violations caused by previous changes 2017-08-15 15:53:16 -04:00
avatar_restorer.rb Enable Style/EmptyLinesAroundClassBody cop 2016-08-06 03:52:24 +02:00
avatar_saver.rb squashed - added avatar saver/restorer and specs 2016-07-19 13:06:06 +02:00
command_line_util.rb Use gitlab shell import instead of manually creating the webhooks 2017-02-16 10:02:26 +01:00
error.rb Enable and autocorrect the CustomErrorClass cop 2017-03-01 15:28:10 +00:00
file_importer.rb Merge branch 'import-symlinks-9-3' into 'security-9-3' 2017-08-10 20:42:01 +01:00
hash_util.rb Fix issues importing forked projects 2017-04-04 16:34:19 +00:00
import_export.yml Remove serialised diff and commit columns 2017-11-28 16:13:40 +00:00
importer.rb Prefer polymorphism over specific type checks in Import service 2017-11-15 13:40:35 +01:00
json_hash_builder.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
members_mapper.rb Add missing group members to export for I/E 2017-02-07 11:06:05 +01:00
merge_request_parser.rb Clean up schema of the "merge_requests" table 2017-11-20 12:45:33 +01:00
project_creator.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
project_tree_restorer.rb Use latest_merge_request_diff association 2017-11-23 12:14:56 +00:00
project_tree_saver.rb Fix group members method for project import/export 2017-03-09 13:40:57 +02:00
reader.rb fix export performance of CI builds 2017-09-05 17:47:45 +02:00
relation_factory.rb Remove serialised diff and commit columns 2017-11-28 16:13:40 +00:00
repo_restorer.rb Rename path_with_namespace -> disk_path when dealing with the filesystem 2017-08-01 07:26:58 +02:00
repo_saver.rb fix export project file permissions issue 2016-09-30 16:10:48 +02:00
saver.rb add project name and namespace to filename on project export 2016-07-15 12:55:28 +02:00
shared.rb some more refactoring 2017-09-05 17:47:45 +02:00
uploads_restorer.rb fixed specs and refactored a few things due to recent model changes and merge conflicts 2016-06-13 13:34:36 +02:00
uploads_saver.rb Fix hashed storage for attachments bugs 2017-11-23 17:04:35 +00:00
version_checker.rb Merge branch 'fix/import-export-symlink-vulnerability' into 'security' 2016-11-03 16:04:18 +01:00
version_saver.rb fix export project file permissions issue 2016-09-30 16:10:48 +02:00
wiki_repo_saver.rb fix export project file permissions issue 2016-09-30 16:10:48 +02:00