This is very useful in the signoff message population script where we
are very likely to encounter the same users over and over.
Signed-off-by: Dan McGee <dan@archlinux.org>
No real idea why SQLite is returning wrong results without out this, but
it is likely a bug in the ORM layer I'm not interested in digging into.
Signed-off-by: Dan McGee <dan@archlinux.org>
This allows quick resolution of all unmatched packages, especially after
tweaking the way find_user works.
Signed-off-by: Dan McGee <dan@archlinux.org>
If a packager string was passed in without an email address, we would
blow up on the matcher and not try to find a user.
Signed-off-by: Dan McGee <dan@archlinux.org>
We need to do a little dropping into SQL to accomplish this, but it isn't
all that bad to actually do and we can do the whole thing in one query.
Signed-off-by: Dan McGee <dan@archlinux.org>