示例#1
0
        private NewCommitInfo EventToNewCommitInfo(ProcessGithubEvent githubEvent)
        {
            var info = new NewCommitInfo();

            if (githubEvent.CreatedAt != null && githubEvent.Sender.Login != null)
            {
                info.CommitDate = githubEvent.CreatedAt;
                info.Creator    = githubEvent.Sender.Login;
            }
            return(info);
        }
示例#2
0
 public async void RecalculateData(PullRequestRecordData data, NewCommitInfo info)
 {
     throw new NotImplementedException();
     //data.DelayHistory.Add(githubEvent.UpdatedAt.Value - data.LastReviewCommentDate.Value);
 }