gitlab-org--gitlab-foss/lib/gitlab/import_export
Sean McGivern 9a73b634ab Add table for files in merge request diffs
This adds an ID-less table containing one row per file, per merge request
diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised
currently, with the advantage that we can easily query the attributes of this
new table.

It does not migrate existing data, so we have fallback code when the legacy
st_diffs column is present instead. For a merge request diff to be valid, it
should have at most one of:

* Rows in this new table, with the correct merge_request_diff_id.
* A non-NULL st_diffs column.

It may have neither, if the diff is empty.
2017-06-16 18:30:01 +01:00
..
attribute_cleaner.rb Merge branch 'fix/import-projectmember-security' into 'security' 2016-11-03 16:04:18 +01:00
attributes_finder.rb fixed CI commits on export 2016-05-18 17:48:15 +02: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 'fix/import-export-symlink-vulnerability' into 'security' 2016-11-03 16:04:18 +01:00
hash_util.rb Fix issues importing forked projects 2017-04-04 16:34:19 +00:00
import_export.yml Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
importer.rb Fix issues importing forked projects 2017-04-04 16:34:19 +00: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 Fix issues importing forked projects 2017-04-04 16:34:19 +00:00
project_creator.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
project_tree_restorer.rb Include missing project attributes to Import/Export 2017-05-03 10:12:32 +00:00
project_tree_saver.rb Fix group members method for project import/export 2017-03-09 13:40:57 +02:00
reader.rb Include missing project attributes to Import/Export 2017-05-03 10:12:32 +00:00
relation_factory.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
repo_restorer.rb Use gitlab shell import instead of manually creating the webhooks 2017-02-16 10:02:26 +01: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 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +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 squashed - added avatar saver/restorer and specs 2016-07-19 13:06:06 +02: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