IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
PullIDint64`xorm:"NOT NULL INDEX UNIQUE(pull_commit_user) DEFAULT 0"`// Which PR was the review on?
CommitSHAstring`xorm:"NOT NULL VARCHAR(40) UNIQUE(pull_commit_user)"`// Which commit was the head commit for the review?
UpdatedFilesmap[string]ViewedState`xorm:"NOT NULL LONGTEXT JSON"`// Stores for each of the changed files of a PR whether they have been viewed, changed since last viewed, or not viewed
UpdatedUnixtimeutil.TimeStamp`xorm:"updated"`// Is an accurate indicator of the order of commits as we do not expect it to be possible to make reviews on previous commits
log.Trace("Inserting new review for user %d, repo %d, commit %s with the updated files %v.",userID,pullID,commitSHA,review.UpdatedFiles)
_,err:=engine.Insert(review)
returnerr
}
log.Trace("Updating already existing review with ID %d (user %d, repo %d, commit %s) with the updated files %v.",review.ID,userID,pullID,commitSHA,review.UpdatedFiles)
// getNewestReviewStateApartFrom is like GetNewestReview, except that the second newest review will be returned if the newest review points at the given commit.
// The returned PR Review will be nil if the user has not yet reviewed this PR.