[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: add autogenerated schema documentation

Holger Levsen holger at layer-acht.org
Tue Jan 10 16:16:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 9c21780079df414523fb4b107e2dfbd9ab7b27db
Author: Valerie R Young <spectranaut at riseup.net>
Date:   Tue Jan 10 11:06:03 2017 -0500

    reproducible Debian: add autogenerated schema documentation
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 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 c6e7c63..d742db6 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 48ceb06..1442ac1 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 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list