Closed Bug 1540146 Opened 7 years ago Closed 7 years ago

Space-separated lists of reviewers should work

Categories

(Conduit :: Lando, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Gijs, Unassigned)

Details

The reviewer regex at:

https://github.com/mozilla-conduit/lando-api/blob/44b74304597e265d44e26535e7729f5865c39097/landoapi/commit_message.py#L44

doesn't seem to allow spaces to separate the reviewers.

An initial space after r= also doesn't seem to work.

Ideally, whitespace should be a valid separator, too.

When doing this, we need to make sure that any "clearly not reviewer" things like DONTBUILD or "[on a] CLOSED TREE" don't get pulled in. It looks like there's already a negative lookahead-y expression there to avoid "a=foo" type things being pulled in, so hopefully something similar would work.

unfortunately as there's no formal/strict syntax on commit descriptions we're left with parsing freeform text.
with this in mind correctly parsing space separated reviewers is problematic and not something that will be supported.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.