44 Commits

Author SHA1 Message Date
Zero King
02b152ca80 Add tests 2017-07-26 12:41:29 +00:00
Zero King
d77c33ee75 Improve label detection 2017-07-26 05:16:20 +00:00
Zero King
6b11723ab3 Improve maintainer handling 2017-07-23 10:53:54 +00:00
Zero King
fbb062425b Add prDB 2017-07-23 10:27:29 +00:00
Zero King
d03b0e386e Disable maintainer labels on PRs not changing Portfiles 2017-07-23 08:51:51 +00:00
Zero King
15d45cb3e7 Recognize capital title 2017-07-23 08:42:00 +00:00
Zero King
14aece03f1 Improve PR handling 2017-07-23 03:42:53 +00:00
Clemens Lang
afbbb79c68 webhook: Add error logging for maintainer query
It seems incorrect database connection strings do not necessarily cause
problems until the first query, so logging the potential errors here is
very helpful when debugging.
2017-07-22 18:17:20 +02:00
Clemens Lang
87558909c1 db: Rename database configuration variables
*_DBNAME is not a good name for a variable that not only contains the
database name, but also the host and other potential options of the
database connection string.
2017-07-22 18:14:53 +02:00
Clemens Lang
fd86cdda8e db: Allow configuring database host
In our deployment, the host needs to be /run/postgresql, not /tmp. Make
the entire database connection string configurable for maximum
flexibility.
2017-07-22 18:12:09 +02:00
Zero King
a1620899c6 Fix hardcoded repo name 2017-07-22 15:03:02 +00:00
Zero King
99728b0e9b Add some logging 2017-07-22 14:56:05 +00:00
Zero King
37f48e61fb Improve maintainer handling 2017-07-22 13:37:22 +00:00
Zero King
1dc08f58a7 Add production mode in PR bot 2017-07-16 10:28:30 +00:00
Zero King
bc693775f6 Make dbname configurable
Read repo location from webhook event
2017-07-16 10:17:45 +00:00
Zero King
5ce138d477 Add PR bot 2017-07-16 08:10:47 +00:00
Zero King
fd304e6c15 Split func handling pull_request events 2017-07-13 12:40:00 +00:00
Zero King
8ff6f2dd07 Parse maintainer info 2017-07-13 12:36:54 +00:00
Zero King
c68ab523c6 Initial project import 2017-07-09 15:02:08 +00:00