59 Commits

Author SHA1 Message Date
Zero King
09f640ceb5 pr: Refine maintainer detection of PRs with new Portfiles 2018-03-10 17:57:05 +00:00
Clemens Lang
515a0640ec dbutil: Query pull requests from prDB, not wwwDB
In testing prDB, wwwDB and tracDB are all the same thing, but our
deployment actually uses three different databases, causing the
maintainer timeout cronjob to always fail.
2018-03-10 17:51:25 +01:00
Zero King
7b596ab9df Fix comment 2017-10-27 11:33:35 +00:00
Zero King
22728ea5d1 Notify all maintainers 2017-10-27 11:22:04 +00:00
Zero King
ef010d2954 Find CVE Identifiers in PR title too 2017-10-10 04:19:26 +00:00
Zero King
a2f819d2e8 graceful shutdown, fix tests 2017-08-22 11:00:41 +00:00
Zero King
dd73a99f18 Handle maintainer timeout 2017-08-15 09:25:52 +00:00
Zero King
471987b446 Remove comment footer 2017-08-15 09:25:06 +00:00
Zero King
009b7043d5 Pagination support 2017-08-05 05:53:53 +00:00
Zero King
09d1c51020 Add tests for "by: member" 2017-08-03 01:33:24 +00:00
Zero King
db006fc885 More logs 2017-08-03 01:32:01 +00:00
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
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