Skip to content

Commit

Permalink
pkg-cleanup: normalize username to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Jul 2, 2024
1 parent 4fc54e4 commit edb0f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg-cleanup/gen-removed-maintainership
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ async def main() -> None:
who = lines[0][1:].rstrip(': ')
else:
who = comment.author
who = who.lower()

all_unchecked = True
has_package = False
Expand Down
2 changes: 1 addition & 1 deletion pkg-cleanup/gen-update
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main():
for dir in lilacyaml.iter_pkgdir(REPODIR):
y = lilacyaml.load_lilac_yaml(dir)
old[dir.name] = {
x['github'] for x in y.get('maintainers', {})
x['github'].lower() for x in y.get('maintainers', {})
}

new = deepcopy(old)
Expand Down

0 comments on commit edb0f6c

Please sign in to comment.