From 9c21780079df414523fb4b107e2dfbd9ab7b27db Mon Sep 17 00:00:00 2001 From: Valerie R Young Date: Tue, 10 Jan 2017 11:06:03 -0500 Subject: reproducible Debian: add autogenerated schema documentation Signed-off-by: Holger Levsen --- bin/reproducible_maintenance.sh | 5 +++++ update_jdn.sh | 1 + 2 files changed, 6 insertions(+) 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 -- cgit v1.2.3-70-g09d2