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); }
public async void RecalculateData(PullRequestRecordData data, NewCommitInfo info) { throw new NotImplementedException(); //data.DelayHistory.Add(githubEvent.UpdatedAt.Value - data.LastReviewCommentDate.Value); }