Skip to content

Commit

Permalink
feat: randomize creator of generated issues.
Browse files Browse the repository at this point in the history
All the issues used to be created by admin. This randomly chooses
a user (except anonymous) to create an issue.
  • Loading branch information
rouilj committed Feb 20, 2024
1 parent a6bd221 commit c8ccfbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/load_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
status = random.choice(statuses)
else:
status = resolved_id
db.journaltag = db.user.get(random.choice(users), 'username')
db.issue.create(
title=random.choice(titles),
priority=random.choice(priorities),
Expand Down

0 comments on commit c8ccfbe

Please sign in to comment.