Contribution/Pull Request Lifecycle
Pull Requests generated in BitBucket are mapped to "Contributions" in Betterrev. This is a one-to-one mapping which exists purely to distinguish between the two separate entities.
Each Contribution in betterrev may map to many different events in its lifecycle. The human readable flow is:
TODO Flow needs updating
Generated -> Modified -> Mentor Notified -> Rejected/Approved -> Merged -> Terminated.
See Betterrev_PullReview_Event_State_Transition for the full combination of possible transitions.