gitlab-org--gitlab-foss/spec/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
..
all_models.yml Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
attribute_cleaner_spec.rb
attribute_configuration_spec.rb Enable Style/WordArray 2017-02-23 09:32:41 -06:00
avatar_restorer_spec.rb Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
avatar_saver_spec.rb Enable Style/ColonMethodCall 2017-02-23 09:31:57 -06:00
file_importer_spec.rb Enable Style/ColonMethodCall 2017-02-23 09:31:57 -06:00
fork_spec.rb Include missing project attributes to Import/Export 2017-05-03 10:12:32 +00:00
hash_util_spec.rb Fix issues importing forked projects 2017-04-04 16:34:19 +00:00
import_export_spec.rb Fix spec 2017-02-24 08:13:57 -06:00
members_mapper_spec.rb Use CTEs for nested groups and authorizations 2017-05-17 16:51:08 +02:00
merge_request_parser_spec.rb Fix issues importing forked projects 2017-04-04 16:34:19 +00:00
model_configuration_spec.rb Enable Style/WordArray 2017-02-23 09:32:41 -06:00
project.json Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
project.light.json create lighter version of JSON and reuse initial restore in spec to speed up run 2017-02-15 16:45:41 +01:00
project_tree_restorer_spec.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
project_tree_saver_spec.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
reader_spec.rb Include missing project attributes to Import/Export 2017-05-03 10:12:32 +00:00
relation_factory_spec.rb Merge branch 'bvl-rename-build-events-to-job-events' into 'master' 2017-05-16 14:12:19 +02:00
repo_restorer_spec.rb fix tmpdir 2017-02-16 11:34:08 +01:00
repo_saver_spec.rb Fix issues importing forked projects 2017-04-04 16:34:19 +00:00
safe_model_attributes.yml Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
version_checker_spec.rb
wiki_repo_saver_spec.rb Enable RSpec/FilePath cop 2017-04-26 12:50:32 +01:00