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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
c643042a
Commit
c643042a
authored
Feb 22, 2019
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project import error on releases
parent
b569e76c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
changelogs/unreleased/57712-project-import-error-user-expected-got-hash.yml
...sed/57712-project-import-error-user-expected-got-hash.yml
+5
-0
lib/gitlab/import_export/import_export.yml
lib/gitlab/import_export/import_export.yml
+0
-1
spec/lib/gitlab/import_export/project_tree_saver_spec.rb
spec/lib/gitlab/import_export/project_tree_saver_spec.rb
+8
-0
No files found.
changelogs/unreleased/57712-project-import-error-user-expected-got-hash.yml
0 → 100644
View file @
c643042a
---
title
:
Fix project import error importing releases
merge_request
:
25495
author
:
type
:
fixed
lib/gitlab/import_export/import_export.yml
View file @
c643042a
...
...
@@ -28,7 +28,6 @@ project_tree:
-
notes
:
:author
-
releases
:
-
:author
-
:links
-
project_members
:
-
:user
...
...
spec/lib/gitlab/import_export/project_tree_saver_spec.rb
View file @
c643042a
...
...
@@ -78,6 +78,14 @@ describe Gitlab::ImportExport::ProjectTreeSaver do
expect
(
saved_project_json
[
'releases'
]).
not_to
be_empty
end
it
'has no author on releases'
do
expect
(
saved_project_json
[
'releases'
].
first
[
'author'
]).
to
be_nil
end
it
'has the author ID on releases'
do
expect
(
saved_project_json
[
'releases'
].
first
[
'author_id'
]).
not_to
be_nil
end
it
'has issues'
do
expect
(
saved_project_json
[
'issues'
]).
not_to
be_empty
end
...
...
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