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
4a203aab
Commit
4a203aab
authored
Jun 27, 2015
by
Hiroyuki Sato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong order of issues when importing from github
See API details at
https://developer.github.com/v3/issues/
. Refs #1791
parent
9f166a86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGELOG
CHANGELOG
+1
-0
importer.rb
lib/gitlab/github_import/importer.rb
+3
-1
No files found.
CHANGELOG
View file @
4a203aab
Please view this file on the master branch, on stable branches it's out of date.
v 7.13.0 (unreleased)
- Fix order of issues imported form GitHub (Hiroyuki Sato)
- Fix Merge Request webhook to properly fire "merge" action when accepted from the web UI
- Add `two_factor_enabled` field to admin user API (Stan Hu)
- Fix invalid timestamps in RSS feeds (Rowan Wookey)
...
...
lib/gitlab/github_import/importer.rb
View file @
4a203aab
...
...
@@ -11,7 +11,9 @@ module Gitlab
def
execute
#Issues && Comments
client
.
list_issues
(
project
.
import_source
,
state: :all
).
each
do
|
issue
|
client
.
list_issues
(
project
.
import_source
,
state: :all
,
sort: :created
,
direction: :asc
).
each
do
|
issue
|
if
issue
.
pull_request
.
nil?
body
=
@formatter
.
author_line
(
issue
.
user
.
login
,
issue
.
body
)
...
...
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