Tools: Codeowner sync compares user slugs case sensitive
Problem to solve
The Hugo template which parse the Codeowners file, and compares it to synced data from www-gitlab-com, compares both slug strings with case sensitive comparison.
The data set originates from different resources:
- .gitlab/CODEOWNERS is edited manually, with basic linting in CI/CD.
- www-gitlab-com data is populated manually, or from Workday UI automation.
If someone like me decides to cleanup the codeowner mismatches, this can lead to unwanted deletion because of the different string capitalization. !2934 (merged)
Proposal
- Soften the user comparison in the Codeowner checks in the Hugo template (docsy-theme) to use case insensitive gitlab slug comparisons. (i.e. lower case both strings and then compare them.).
- Future iterations: Add data integrity checks to CI/CD and force lower case user slugs. Related to #171 (closed)