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
Jérome Perrin
gitlab-ce
Commits
535ce118
Commit
535ce118
authored
Sep 08, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
parents
43d6328f
19f5304a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG
CHANGELOG
+1
-0
lib/gitlab/gitlab_import/importer.rb
lib/gitlab/gitlab_import/importer.rb
+2
-1
spec/lib/gitlab/gitlab_import/importer_spec.rb
spec/lib/gitlab/gitlab_import/importer_spec.rb
+2
-0
No files found.
CHANGELOG
View file @
535ce118
...
...
@@ -111,6 +111,7 @@ v 8.11.5 (unreleased)
- Fix suggested colors options for new labels in the admin area. !6138
- Fix GitLab import button
- Remove gitorious from import_sources
- Fix confidential issues being exposed as public using gitlab.com export
v 8.11.4
- Fix resolving conflicts on forks. !6082
...
...
lib/gitlab/gitlab_import/importer.rb
View file @
535ce118
...
...
@@ -41,7 +41,8 @@ module Gitlab
title:
issue
[
"title"
],
state:
issue
[
"state"
],
updated_at:
issue
[
"updated_at"
],
author_id:
gl_user_id
(
project
,
issue
[
"author"
][
"id"
])
author_id:
gl_user_id
(
project
,
issue
[
"author"
][
"id"
]),
confidential:
issue
[
"confidential"
]
)
end
end
...
...
spec/lib/gitlab/gitlab_import/importer_spec.rb
View file @
535ce118
...
...
@@ -13,6 +13,7 @@ describe Gitlab::GitlabImport::Importer, lib: true do
'title'
=>
'Issue'
,
'description'
=>
'Lorem ipsum'
,
'state'
=>
'opened'
,
'confidential'
=>
true
,
'author'
=>
{
'id'
=>
283999
,
'name'
=>
'John Doe'
...
...
@@ -34,6 +35,7 @@ describe Gitlab::GitlabImport::Importer, lib: true do
title:
'Issue'
,
description:
"*Created by: John Doe*
\n\n
Lorem ipsum"
,
state:
'opened'
,
confidential:
true
,
author_id:
project
.
creator_id
}
...
...
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