Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
The regex for selecting committer (non-pmc) lists does not work.
The regex is currently:
r"#([-a-z0-9._]+)(?!-pmc)"
This is applied to data of the form
committers-by-project.html#abdera'
and
committers-by-project.html#abdera-pmc'
However the greedy match at the start of the RE allows it to grab everything up to the trailing single-quote; this is not followed by -pmc so the negative look-ahead has no effect.
The effect of this is that the -pmc groups are stored in the projects.json file.
AFAICT these are not used elsewhere; they just increase the filesize that needs to be downloaded by the Javascript in the browsers.
==
It's quite tricky using lookahead with wildcards.
Rather than parse the group list twice, it might be simpler to parse it once and extract all the groups; the code can the check if the group name ends with -pmc and act accordingly.