1. Adopt OpenJDK
  2. Untitled project
  3. Betterrev

Wiki

Clone wiki

Betterrev / Betterrev PullReview Event State Transition

TODO Needs to be updated to what's in the source code

States Events
NULL PULL_REVIEW_GENERATED
OPEN PULL_REVIEW_MODIFIED
PENDING_APPROVAL MENTOR_NOTIFIED
ACCEPTED APPROVED
MERGED
REJECTED
TERMINATED

Permutations of event transitions

Start State Event End State
NULL PULL_REVIEW_GENERATED OPEN
OPEN PULL_REVIEW_MODIFIED OPEN
OPEN MENTOR_NOTIFIED PENDING_APPROVAL
OPEN TERMINATED CLOSED
PENDING_APPROVAL APPROVED ACCEPTED
PENDING_APPROVAL REJECTED CLOSED
ACCEPTED MERGED COMMITTED

Transition Diagrams

Actors:

PRI = PullReviewInitiator - reads from bitbucket API

PRE = PullReviewEmitter - writes to bitbucket API

Shepherd - Responsible for deducing the state of the DB

Webrev Generator - responsible for generating pull Reviews

Upstream Importer - responsible for polling official Oracle Openjdk repositories and notifying other when changes happen

Mentor Notifier - responsible for identifying which mentors are relevant to this PR and appropriately messaging relevant mentors

Events:

PRG = PullReviewGenerated

PRM = PullReviewModified

PRR = PullReviewRejected

WRG = WebRevGenerated

Merged = UpstreamMerged

MNR = MentorNotificationReview

MN = MentorNotified

State Transitions.jpg# PullReview Events and States # foo

Updated