• Sean McGivern's avatar
    Pick reviewers based on branch name · 28531ab4
    Sean McGivern authored
    Change reviewer roulette to always pick the same reviewers for the same
    branch name. We do this by:
    
    1. Making the branch name 'canonical' across CE and EE by stripping a
       leading 'ce-' or 'ee-' and a trailing '-ce' or '-ee'. If people are
       following our branch naming guidelines, this should give the same
       branch name in both repos.
    2. Converting the branch name to a stable integer by taking the integer
       form of its MD5.
    3. Passing that integer as a seed to Ruby's `Random` class, which 'may
       be used to ensure repeatable sequences of pseudo-random numbers
       between different runs of the program' (from the Ruby documentation).
    
    The upshot is that the same branch name (in CE and EE) should always
    pick the same reviewers, and those should be evenly distributed across
    the set of possible reviewers due to the use of MD5.
    28531ab4
Name
Last commit
Last update
..
changelog Loading commit data...
changes_size Loading commit data...
commit_messages Loading commit data...
database Loading commit data...
documentation Loading commit data...
duplicate_yarn_dependencies Loading commit data...
eslint Loading commit data...
frozen_string Loading commit data...
gemfile Loading commit data...
gitlab_ui_wg Loading commit data...
metadata Loading commit data...
plugins Loading commit data...
prettier Loading commit data...
roulette Loading commit data...
single_codebase Loading commit data...
specs Loading commit data...