           project_id: project_id
 
 
-        console.log data
         issue = new _Issue member
         issue.save data, (err, id)->
           _log "创建新的issue，id -> #{id}"

        commit = commits[index++]
        cond = sha: commit.id

        self.find cond, (err, result)->
          if result.items.length > 0
            _log "Commit has already exists -> #{commit.id}"
            done null
          else

    #处理done
    queue.push(
      (done)->
        #console.log issue_id, isDone, member_id, '测试'
        return done null if not (issue_id and isDone and member_id)
        #console.log 'done', issue_id
        #如果有done标签，则完成这个issue
        issue = new _Issue member
        issue.finishedIssue issue_id, done
    )

    _async.waterfall queue, (err)-> cb err, issue_id


  #根据git用户名查找对应的用户id
