83 Commits

Author SHA1 Message Date
Zero King
63eb839232 Establish connection to DB on start 2017-08-02 13:49:50 +00:00
Zero King
e7dbd8a86b Add "by: member" label 2017-08-01 14:29:06 +00:00
Zero King
007dd48eb9 Less nesting 2017-08-01 14:16:15 +00:00
Zero King
8490cc38b3 Add README.md 2017-07-29 07:29:27 +00:00
Zero King
cb544bc919 Improve maintainer detection 2017-07-29 05:33:56 +00:00
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
7219c2fe6a Fix log loss 2017-07-15 14:14:32 +00:00
Zero King
2efa71fda6 remoteLogger should only call its parent 2017-07-14 03:42:50 +00:00
Zero King
84cf8dae0a Formatting 2017-07-13 12:54:34 +00:00
Zero King
fd304e6c15 Split func handling pull_request events 2017-07-13 12:40:00 +00:00