Commit 05c2b419 authored by Holger Levsen's avatar Holger Levsen

udd: add job to just list all UDD tables

parent 26e77949
......@@ -22,6 +22,15 @@ udd_query() {
udd -c"${SQL_QUERY}" > $UDD
}
list_tables() {
SQL_QUERY="SELECT table_schema,table_name
FROM information_schema.tables
ORDER BY table_schema,table_name;"
udd_query
cat $UDD
rm $UDD
}
multiarch_versionskew() {
if [ -z "$1" ] ; then
echo "Warning: no distro supplied, assuming sid."
......@@ -103,6 +112,9 @@ orphaned_without_o_bug() {
#
UDD=$(mktemp)
case $1 in
list_tables)
list_tables
;;
orphaned_without_o_bug)
orphaned_without_o_bug
;;
......
......@@ -32,6 +32,10 @@
triggers:
- timed: '{my_time}'
- job-template:
defaults: udd
name: '{name}_list_tables'
- job-template:
defaults: udd
name: '{name}_wheezy_multiarch_versionskew'
......@@ -55,6 +59,10 @@
- project:
name: udd
jobs:
- '{name}_list_tables':
my_time: '15 8 * * 1'
my_params: 'list_tables'
my_description: 'Just list all <a href="https://udd.debian.org" target="_blank">UDD</a> tables.'
- '{name}_wheezy_multiarch_versionskew':
my_time: '2 8 1 * *'
my_params: 'multiarch_versionskew wheezy'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment