summaryrefslogtreecommitdiff
path: root/devel/management/commands
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-15 08:11:00 -0500
committerDan McGee <dan@archlinux.org>2012-08-15 08:11:00 -0500
commitca0011c585ec28f9dde0f400a77fd6f859d520b0 (patch)
tree2672465bc2e6f94be7c05a52e98b40c8ec5bc5eb /devel/management/commands
parentbc5dab41a82ff980c51dd4e408983e32886721bb (diff)
Add ability to rematch developers on <username>@archlinux.org addresses
This makes this matcher catch a bit more with the wide net we were already casting. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/management/commands')
-rw-r--r--devel/management/commands/rematch_developers.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/management/commands/rematch_developers.py b/devel/management/commands/rematch_developers.py
index ab2f0f4b..2b379588 100644
--- a/devel/management/commands/rematch_developers.py
+++ b/devel/management/commands/rematch_developers.py
@@ -53,6 +53,7 @@ def match_packager(finder):
unmatched = Package.objects.filter(packager__isnull=True).values_list(
'packager_str', flat=True).order_by().distinct()
+ logger.info("%d packager strings retrieved", len(unmatched))
for packager in unmatched:
logger.debug("packager string %s", packager)
user = finder.find(packager)
@@ -71,13 +72,14 @@ def match_packager(finder):
@transaction.commit_on_success
def match_flagrequest(finder):
- logger.info("getting all flag requests emails from unknown users")
+ logger.info("getting all flag request email addresses from unknown users")
req_count = matched_count = 0
mapping = {}
unmatched = FlagRequest.objects.filter(user__isnull=True).values_list(
'user_email', flat=True).order_by().distinct()
+ logger.info("%d email addresses retrieved", len(unmatched))
for user_email in unmatched:
logger.debug("email %s", user_email)
user = finder.find_by_email(user_email)