Skip to content
Commits on Source (6)
gnumed-server (22.1-1) unstable; urgency=medium
* New upstream version
* Point Vcs fields to salsa.debian.org
* Standards-Version: 4.1.4
-- Andreas Tille <tille@debian.org> Thu, 12 Apr 2018 19:46:54 +0200
gnumed-server (22.0-2) experimental; urgency=medium
* d/control: drop flock from Depends since it is in essential package
......
......@@ -7,9 +7,9 @@ Priority: optional
Build-Depends: debhelper (>= 11~),
python
Build-Depends-Indep: po-debconf
Standards-Version: 4.1.3
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/gnumed-server.git
Vcs-Git: https://anonscm.debian.org/debian-med/gnumed-server.git
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/gnumed-server
Vcs-Git: https://salsa.debian.org/med-team/gnumed-server.git
Homepage: http://www.gnumed.de
Package: gnumed-server
......
......@@ -27,7 +27,7 @@ database alias = gnumed_v22
minimum postgresql version = 9.2
schema base directory = ../sql/v21-v22/fixups/
schema = $schema$
../dynamic/v22-release_notes-dynamic.sql
v22-release_notes-fixup.sql
$schema$
#----------------------------------
......
......@@ -158,6 +158,7 @@ database alias = gnumed_v22
minimum postgresql version = 9.2
schema base directory = ../sql/v21-v22/fixups/
schema = $schema$
v22-release_notes-fixup.sql
$schema$
#----------------------------------
......
......@@ -112,7 +112,7 @@
<body>
 
<!-- Primary Index -->
<p><br><br>Dumped on 2018-03-18</p>
<p><br><br>Dumped on 2018-04-05</p>
<h1><a name="index">Index of database - gnumed_v22</a></h1>
<ul>
......@@ -40,6 +40,11 @@ CONF="/etc/gnumed/gnumed-backup.conf"
#==============================================================
set -o pipefail
# do not run twice
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock --exclusive --nonblock "$0" "$0" "$@" || :
# load config file
if [ -r ${CONF} ] ; then
. ${CONF}
......
......@@ -17,6 +17,8 @@ GM_LOG_BASE="/var/log/gnumed/server"
GM_SERVER_DIR="/var/lib/gnumed/server/bootstrap"
#==============================================================
# do not run twice
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock --exclusive --nonblock "$0" "$0" "$@" || :
# consider entirely removing this check, for example
# because it does not honour $GM_PORT
......
......@@ -17,6 +17,8 @@ GM_LOG_BASE="/var/log/gnumed/server"
GM_SERVER_DIR="/var/lib/gnumed/server/bootstrap"
#==============================================================
# do not run twice
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock --exclusive --nonblock "$0" "$0" "$@" || :
cd ${GM_SERVER_DIR} || ( echo "=> Cannot change into ${GM_SERVER_DIR}. Aborting." ; exit 1 )
mkdir -p ${GM_LOG_BASE}
......
......@@ -18,6 +18,10 @@
set -o pipefail
# do not run twice
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock --exclusive --nonblock "$0" "$0" "$@" || :
BACKUP="$1"
if test -z ${BACKUP} ; then
echo "====================================================="
......
......@@ -17,6 +17,8 @@ GM_LOG_BASE="/var/log/gnumed/server"
GM_SERVER_DIR="/var/lib/gnumed/server/bootstrap"
#==============================================================
# do not run twice
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock --exclusive --nonblock "$0" "$0" "$@" || :
cd ${GM_SERVER_DIR} || ( echo "=> Cannot change into ${GM_SERVER_DIR}. Aborting." ; exit 1 )
mkdir -p ${GM_LOG_BASE}
......
......@@ -33,6 +33,7 @@ CONF="/etc/gnumed/gnumed-backup.conf"
#==============================================================
set -o pipefail
# do not run twice
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock --exclusive --nonblock "$0" "$0" "$@" || :
......
-- ==============================================================
-- GNUmed database schema change script
--
-- License: GPL v2 or later
-- Author: karsten.hilbert@gmx.net
--
-- ==============================================================
\set ON_ERROR_STOP 1
--set default_transaction_read_only to off;
-- --------------------------------------------------------------
INSERT INTO dem.message_inbox (
fk_staff,
fk_inbox_item_type,
comment,
data
) VALUES (
(select pk from dem.staff where db_user = 'any-doc'),
(select pk_type from dem.v_inbox_item_type where type = 'memo' and category = 'administrative'),
'Release Notes for GNUmed 1.7.1 (database v22.1)',
'GNUmed 1.7.1 Release Notes:
1.7.1
NEW: add bash completion script
IMPROVED: make DWV optional
IMPROVED: prerequisites check tool
IMPROVED: update timeline code to 1.17.0 release
22.1
IMPROVED: concurrency robustness of backup/restore scripts
');
-- --------------------------------------------------------------
select gm.log_script_insertion('v22-release_notes-fixup.sql', '22.1');