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
6691194a
Commit
6691194a
authored
Sep 24, 2018
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add changelog. Add more specs.
parent
6e641789
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
changelogs/unreleased/51747-gitlab-com-unable-to-import-a-project-that-was-just-exported.yml
...com-unable-to-import-a-project-that-was-just-exported.yml
+5
-0
spec/lib/gitlab/import_export/project.json
spec/lib/gitlab/import_export/project.json
+1
-0
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
+4
-0
No files found.
changelogs/unreleased/51747-gitlab-com-unable-to-import-a-project-that-was-just-exported.yml
0 → 100644
View file @
6691194a
---
title
:
Fix NULL pipeline import problem and pipeline user mapping issue
merge_request
:
21875
author
:
type
:
fixed
spec/lib/gitlab/import_export/project.json
View file @
6691194a
...
@@ -6154,6 +6154,7 @@
...
@@ -6154,6 +6154,7 @@
"status"
:
"failed"
,
"status"
:
"failed"
,
"started_at"
:
null
,
"started_at"
:
null
,
"finished_at"
:
null
,
"finished_at"
:
null
,
"user_id"
:
9999
,
"duration"
:
null
,
"duration"
:
null
,
"notes"
:
[
"notes"
:
[
{
{
...
...
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
View file @
6691194a
...
@@ -62,6 +62,10 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
...
@@ -62,6 +62,10 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
expect
(
Ci
::
Pipeline
.
find_by_sha
(
'sha-notes'
).
notes
).
not_to
be_empty
expect
(
Ci
::
Pipeline
.
find_by_sha
(
'sha-notes'
).
notes
).
not_to
be_empty
end
end
it
'pipeline has the correct user ID'
do
expect
(
Ci
::
Pipeline
.
find_by_sha
(
'sha-notes'
).
user_id
).
to
eq
(
@user
.
id
)
end
it
'restores pipelines with missing ref'
do
it
'restores pipelines with missing ref'
do
expect
(
Ci
::
Pipeline
.
where
(
ref:
nil
)).
not_to
be_empty
expect
(
Ci
::
Pipeline
.
where
(
ref:
nil
)).
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