diff options
author | Valerie R Young <spectranaut@riseup.net> | 2017-01-10 11:06:03 -0500 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-01-10 17:16:45 +0100 |
commit | 9c21780079df414523fb4b107e2dfbd9ab7b27db (patch) | |
tree | 9aa4968ef6386be8905536974ca30ca33bb5caca | |
parent | defe08d705776a51cadadb1aea6d88a04a91aa6e (diff) | |
download | jenkins.debian.net-9c21780079df414523fb4b107e2dfbd9ab7b27db.tar.xz |
reproducible Debian: add autogenerated schema documentation
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_maintenance.sh | 5 | ||||
-rwxr-xr-x | update_jdn.sh | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index c6e7c63a..d742db62 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -45,6 +45,11 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then # make the backup public ln -s -f "$BACKUPFILE.xz" $BASE/reproducible.sql.xz + + # recreate documentation of database + mkdir -p $BASE/schema + SCHEMAFILE="$BASE/schema/reproducibledb.html" + postgresql_autodoc -d $PGDATABASE -t html -f "$SCHEMAFILE" fi fi diff --git a/update_jdn.sh b/update_jdn.sh index 48ceb067..1442ac1b 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -438,6 +438,7 @@ if [ -f /etc/debian_version ] ; then openjdk-7-jre pandoc postgresql + postgresql-autodoc postgresql-client-9.4 poxml procmail |