From: Joerg Jaspert Date: Sat, 1 Feb 2014 13:51:58 +0000 (+0100) Subject: push data to debian contributors X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=dd372146adf36fbb72f4065747f00fba210448b6;p=dak.git push data to debian contributors Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/contributor.source b/config/debian/contributor.source new file mode 100644 index 00000000..2d9ce6d4 --- /dev/null +++ b/config/debian/contributor.source @@ -0,0 +1,22 @@ +contribution: upload +method: postgres +db: service=projectb +query: + SELECT s.install_date as date, + u.uid as id, + u.name as desc + FROM source s + JOIN fingerprint f ON s.sig_fpr = f.id + JOIN uid u ON f.uid = u.id +url: http://qa.debian.org/developer.php?login={id}&comaint=yes + +contribution: maint +method: postgres +db: service=projectb +query: + SELECT s.install_date as date, + c.name as id + FROM source s + JOIN maintainer c ON s.changedby = c.id +url: http://qa.debian.org/developer.php?login={id}&comaint=yes + diff --git a/config/debian/cron.daily b/config/debian/cron.daily index d24c7f9a..3df31d43 100755 --- a/config/debian/cron.daily +++ b/config/debian/cron.daily @@ -46,6 +46,9 @@ dak override-disparity | gzip -9 > ${webdir}/override-disparity.gz # Generate stats about the new queue dak stats new ${webdir}/NEW-stats.yaml 2> /dev/null +# Generate the contributor data +dc-tool --mine="${configdir}/contributor.source" --auth-token @"${base}/s3kr1t/contributor.auth" --post + ${scriptsdir}/link_morgue.sh ################################################################################