Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A aurweb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 87
    • Issues 87
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • aurweb
  • Merge requests
  • !66

bugfix: gendummydata.py was producing invalid usernames

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kevin Morris requested to merge kevr/aurweb:pu_gendummydata into pu Jun 07, 2021
  • Overview 1
  • Commits 1
  • Pipelines 3
  • Changes 1

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: pu_gendummydata