BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
5533fd17
Unverified
Commit
5533fd17
authored
Sep 08, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parents
60c8969b
535ce118
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
CHANGELOG
CHANGELOG
+2
-0
importer.rb
lib/gitlab/gitlab_import/importer.rb
+2
-1
importer_spec.rb
spec/lib/gitlab/gitlab_import/importer_spec.rb
+2
-0
No files found.
CHANGELOG
View file @
5533fd17
...
...
@@ -116,6 +116,8 @@ v 8.11.5
- Fix confidential issues being exposed as public using gitlab.com export
- Remove gitorious from import_sources. !6180
- Scope webhooks/services that will run for confidential issues
- 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 @
5533fd17
...
...
@@ -41,7 +41,8 @@ module Gitlab
title:
issue
[
"title"
],
state:
issue
[
"state"
],
updated_at:
issue
[
"updated_at"
],
author_id:
gitlab_user_id
(
project
,
issue
[
"author"
][
"id"
])
author_id:
gitlab_user_id
(
project
,
issue
[
"author"
][
"id"
]),
confidential:
issue
[
"confidential"
]
)
end
end
...
...
spec/lib/gitlab/gitlab_import/importer_spec.rb
View file @
5533fd17
...
...
@@ -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