Skip to content

bugfix: gendummydata.py was producing invalid usernames

Kevin Morris requested to merge kevr/aurweb:pu_gendummydata into pu

Indentation of some lines in this file were fixed in this commit as well.

COMMIT

As per our regex and policies, usernames should consist of ascii alphanumeric characters and possibly (-, _ or .).

gendummydata.py was creating unicode versions of some usernames and adding them into the DB. With our newfound collations, this becomes a problem as it treats them as the same.

This should have never been the case here, and so, gendummydata.py has been patched to normalize all of its usernames and package names.

Signed-off-by: Kevin Morris kevr@0cost.org

Merge request reports