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
64c8356e
Commit
64c8356e
authored
Feb 25, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
821778cd
27ed9d95
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 @
64c8356e
---
title
:
Fix project import error importing releases
merge_request
:
25495
author
:
type
:
fixed
lib/gitlab/import_export/import_export.yml
View file @
64c8356e
...
@@ -28,7 +28,6 @@ project_tree:
...
@@ -28,7 +28,6 @@ project_tree:
-
notes
:
-
notes
:
:author
:author
-
releases
:
-
releases
:
-
:author
-
:links
-
:links
-
project_members
:
-
project_members
:
-
:user
-
:user
...
...
spec/lib/gitlab/import_export/project_tree_saver_spec.rb
View file @
64c8356e
...
@@ -82,6 +82,14 @@ describe Gitlab::ImportExport::ProjectTreeSaver do
...
@@ -82,6 +82,14 @@ describe Gitlab::ImportExport::ProjectTreeSaver do
expect
(
saved_project_json
[
'releases'
]).
not_to
be_empty
expect
(
saved_project_json
[
'releases'
]).
not_to
be_empty
end
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
it
'has issues'
do
expect
(
saved_project_json
[
'issues'
]).
not_to
be_empty
expect
(
saved_project_json
[
'issues'
]).
not_to
be_empty
end
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