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 /bin | |
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>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 5 |
1 files changed, 5 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 |