111 Commits

Author SHA1 Message Date
Ludwig Nussel
8c75e543e1 include request id in log 2015-05-28 13:08:15 +02:00
Ludwig Nussel
237fbd4b71 properly call parent function get_optparser 2015-05-28 13:07:51 +02:00
Ludwig Nussel
47b09f6601 fix maintenance incident request handling 2015-05-28 13:07:11 +02:00
Ludwig Nussel
d5ce84929d introduce DEFAULT_REVIEW_MESSAGES for easier reset to default 2015-05-28 13:06:50 +02:00
Ludwig Nussel
70536d74c7 use memoize to cache source info
used by get_originproject
2015-05-28 13:06:10 +02:00
Ludwig Nussel
a4bf2657d4 refactor _get_verifymd5 to get_sourceinfo 2015-05-28 13:04:08 +02:00
Stephan Kulow
2219c51a30 check group in can_accept_review 2015-03-27 15:12:52 +01:00
Stephan Kulow
8e1bcf066b allow groups to be reviewer too 2015-03-27 15:01:45 +01:00
Ludwig Nussel
39362a03f3 refactor common functions into ReviewBot 2015-03-19 16:42:18 +01:00
Ludwig Nussel
a490d77074 handle multiple reviews by same user
if a review for the maintbot user is added for a second time the old
function would only see the  'accepted' state of the first review and
the bot would not change the review state.
2015-02-20 13:17:47 +01:00
Ludwig Nussel
a590787e33 new review bots factory-source and maintbot
factory-source checks if submissions contain sources already accepted in
Factory. maintbot makes sure maintenance submissions are authored by the
Factory package maintainer.

Both are based on a new generic ReviewBot.py class that can serve as
common framework for review bots.
2014-11-25 14:36:22 +01:00