parent
a7df48378f
commit
143a7e17b5
7 changed files with 102 additions and 23 deletions
@ -0,0 +1,34 @@ |
|||||||
|
2015-11-07 10:47 marc |
||||||
|
|
||||||
|
* bootstrap.sh, debian/control.in: there is no qt4-default |
||||||
|
|
||||||
|
2015-11-07 09:23 marc |
||||||
|
|
||||||
|
* bootstrap.sh: there is no qt4-default |
||||||
|
|
||||||
|
2015-11-07 00:20 marc |
||||||
|
|
||||||
|
* debian/control.in: set Section |
||||||
|
|
||||||
|
2015-11-06 23:40 marc |
||||||
|
|
||||||
|
* AUTHORS, backup-generic.spec.in, configure.ac, debian/control.in, |
||||||
|
scripts/backup-generic.texi, scripts/backup-generic.texi.in, |
||||||
|
scripts/makefile.am: updated author woth new homepage |
||||||
|
|
||||||
|
2015-11-05 21:27 marc |
||||||
|
|
||||||
|
* ., AUTHORS, NEWS, README, ax_check_qt.m4, |
||||||
|
ax_cxx_compile_stdcxx_11.m4, ax_init_standard_project.m4, |
||||||
|
backup-generic.spec.in, bootstrap.sh, build-in-docker.sh, |
||||||
|
build-resource-file.sh, configure.ac, debian, |
||||||
|
debian/changelog.in, debian/compat, debian/control.in, |
||||||
|
debian/docs, debian/rules, doc, doc/doxyfile.in, doc/makefile.am, |
||||||
|
mac-create-app-bundle.sh, makefile.am, resolve-debbuilddeps.sh, |
||||||
|
resolve-rpmbuilddeps.sh, scripts, scripts/backup-generic.in, |
||||||
|
scripts/backup-generic.texi, scripts/backup.conf, |
||||||
|
scripts/check_backup.cfg.in, scripts/check_backup.in, |
||||||
|
scripts/escalate-backup.in, scripts/icinga-monitoring.png, |
||||||
|
scripts/makefile.am, scripts/setup-backup.in, |
||||||
|
scripts/variables.texi.in: initial copy from old project |
||||||
|
|
@ -0,0 +1,41 @@ |
|||||||
|
#! /bin/sed -f |
||||||
|
1i\ |
||||||
|
/** @page database Database Schema\ |
||||||
|
\ |
||||||
|
@dot\ |
||||||
|
digraph schema { |
||||||
|
|
||||||
|
# remove newlines |
||||||
|
:a;N;$!ba;s/\n/ /g |
||||||
|
# reduce spaces |
||||||
|
s, \+, ,g |
||||||
|
|
||||||
|
s| *CREATE *TABLE *\(if *not *exists\)\? *`\?\([a-z]\+\)`\? *|\n \2\n [shape=none, margin=0, label=<\n <table bgcolor="#dddddd">\n <tr><td bgcolor="#ddddff" colspan="4"><b>\2</b></td></tr>\n|ig |
||||||
|
|
||||||
|
s/varchar *( *\([0-9]\+\) *)/varchar[\1]/ig |
||||||
|
|
||||||
|
s/ *PRIMARY KEY *( *`\?\([a-z]\+\)`\? *) *[,)]//ig |
||||||
|
|
||||||
|
:b;s/\([a-z]\+\)\([^;]*\)FOREIGN KEY *( *`\?\([a-z]\+\)`\? *) *REFERENCES *`\?\([a-z]\+\)`\? *( *`\?\([a-z]\+\)`\? *) *\([^,)]*\)[,)]\(.*\)/\1\2\7\n \1:\3 -> \4:\5/ig;tb |
||||||
|
|
||||||
|
:c;s|\n[(,] *`\?\([a-z]\+\)`\? *\([^ ]\+\)*\([^,)]*\) *COMMENT *[`"']\([^`"']*\)[`"'] *[,)]|\n <tr><td align="left" port="\1"><b>\1</b></td><td align="left">\2</td><td align="left">\3</td><td align="left">\4</td></tr>\n,|ig;tc |
||||||
|
|
||||||
|
s| \+</td>|</td>|g |
||||||
|
s|<td> \+|<td>|g |
||||||
|
s|\(<td[^>]*>[^<]\{30,40\}\) \+\([^<]\{20,\}</td>\)|\1<br/>\2|g |
||||||
|
:d;s|\(<br/>[^<]\{30,40\}\) \+\([^<]\{20,\}</td>\)|\1<br/>\2|g;td |
||||||
|
|
||||||
|
s| *COMMENT *= *["']\?\([^"']*\)["']\?|\n <tr><td bgcolor="#ddddff" colspan="4">\1</td></tr>|ig |
||||||
|
|
||||||
|
s| \+</td>|</td>|g |
||||||
|
s|<td> \+|<td>|g |
||||||
|
s|\(<td[^>]*>[^<]\{60,80\}\) \+\([^<]\{30,\}</td>\)|\1<br/>\2|g |
||||||
|
:e;s|\(<br/>[^<]\{60,80\}\) \+\([^<]\{30,\}</td>\)|\1<br/>\2|g;te |
||||||
|
|
||||||
|
s/\n,[^\n]*/\n/g |
||||||
|
s|;|\n </table>\n >];\n|ig |
||||||
|
|
||||||
|
$a\ |
||||||
|
}\ |
||||||
|
@enddot\ |
||||||
|
*/ |
Loading…
Reference in new issue