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
avatar_restorer.rb
avatar_saver.rb
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
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
shared.rb
uploads_restorer.rb
uploads_saver.rb
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