Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cca09bbb
Commit
cca09bbb
authored
May 05, 2017
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Import/Export files
parent
154610c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
lib/gitlab/import_export/relation_factory.rb
lib/gitlab/import_export/relation_factory.rb
+1
-1
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+3
-0
spec/lib/gitlab/import_export/safe_model_attributes.yml
spec/lib/gitlab/import_export/safe_model_attributes.yml
+4
-0
No files found.
lib/gitlab/import_export/relation_factory.rb
View file @
cca09bbb
...
...
@@ -15,7 +15,7 @@ module Gitlab
priorities: :label_priorities
,
label: :project_label
}.
freeze
USER_REFERENCES
=
%w[author_id assignee_id updated_by_id user_id created_by_id merge_user_id resolved_by_id]
.
freeze
USER_REFERENCES
=
%w[author_id assignee_id updated_by_id user_id created_by_id
last_edited_by_id
merge_user_id resolved_by_id]
.
freeze
PROJECT_REFERENCES
=
%w[project_id source_project_id target_project_id]
.
freeze
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
cca09bbb
...
...
@@ -9,6 +9,7 @@ issues:
-
notes
-
label_links
-
labels
-
last_edited_by
-
todos
-
user_agent_detail
-
moved_to
...
...
@@ -26,6 +27,7 @@ notes:
-
noteable
-
author
-
updated_by
-
last_edited_by
-
resolved_by
-
todos
-
events
...
...
@@ -71,6 +73,7 @@ merge_requests:
-
notes
-
label_links
-
labels
-
last_edited_by
-
todos
-
target_project
-
source_project
...
...
spec/lib/gitlab/import_export/safe_model_attributes.yml
View file @
cca09bbb
...
...
@@ -23,6 +23,8 @@ Issue:
-
weight
-
time_estimate
-
relative_position
-
last_edited_at
-
last_edited_by_id
Event
:
-
id
-
target_type
...
...
@@ -154,6 +156,8 @@ MergeRequest:
-
approvals_before_merge
-
rebase_commit_sha
-
time_estimate
-
last_edited_at
-
last_edited_by_id
MergeRequestDiff
:
-
id
-
state
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment