[med-svn] [Git][med-team/gnumed-server][master] 6 commits: New upstream version 22.1
Andreas Tille
gitlab at salsa.debian.org
Thu Apr 12 18:50:29 BST 2018
Andreas Tille pushed to branch master at Debian Med / gnumed-server
Commits:
e294f8c7 by Andreas Tille at 2018-04-12T18:43:09+02:00
New upstream version 22.1
- - - - -
92400384 by Andreas Tille at 2018-04-12T18:43:39+02:00
Update upstream source from tag 'upstream/22.1'
Update to upstream version '22.1'
with Debian dir 8b7a2724cf0743f8484bae09cc461f2895c971b3
- - - - -
0070926d by Andreas Tille at 2018-04-12T18:43:39+02:00
New upstream version
- - - - -
89febd82 by Andreas Tille at 2018-04-12T18:43:45+02:00
Point Vcs fields to salsa.debian.org
- - - - -
f69ca15a by Andreas Tille at 2018-04-12T18:43:45+02:00
Standards-Version: 4.1.4
- - - - -
296084e8 by Andreas Tille at 2018-04-12T19:47:29+02:00
Upload to unstable
- - - - -
12 changed files:
- debian/changelog
- debian/control
- server/bootstrap/fixup_db-v22.conf
- server/bootstrap/update_db-v21_v22.conf
- server/doc/schema/gnumed-entire_schema.html
- server/gm-backup.sh
- server/gm-bootstrap_server
- server/gm-fixup_server
- server/gm-restore.sh
- server/gm-upgrade_server
- server/gm-zip+sign_backups.sh
- + server/sql/v21-v22/fixups/v22-release_notes-fixup.sql
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+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 at 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
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -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
=====================================
server/bootstrap/fixup_db-v22.conf
=====================================
--- a/server/bootstrap/fixup_db-v22.conf
+++ b/server/bootstrap/fixup_db-v22.conf
@@ -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$
#----------------------------------
=====================================
server/bootstrap/update_db-v21_v22.conf
=====================================
--- a/server/bootstrap/update_db-v21_v22.conf
+++ b/server/bootstrap/update_db-v21_v22.conf
@@ -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$
#----------------------------------
=====================================
server/doc/schema/gnumed-entire_schema.html
=====================================
--- a/server/doc/schema/gnumed-entire_schema.html
+++ b/server/doc/schema/gnumed-entire_schema.html
@@ -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>
=====================================
server/gm-backup.sh
=====================================
--- a/server/gm-backup.sh
+++ b/server/gm-backup.sh
@@ -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}
=====================================
server/gm-bootstrap_server
=====================================
--- a/server/gm-bootstrap_server
+++ b/server/gm-bootstrap_server
@@ -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
=====================================
server/gm-fixup_server
=====================================
--- a/server/gm-fixup_server
+++ b/server/gm-fixup_server
@@ -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}
=====================================
server/gm-restore.sh
=====================================
--- a/server/gm-restore.sh
+++ b/server/gm-restore.sh
@@ -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 "====================================================="
=====================================
server/gm-upgrade_server
=====================================
--- a/server/gm-upgrade_server
+++ b/server/gm-upgrade_server
@@ -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}
=====================================
server/gm-zip+sign_backups.sh
=====================================
--- a/server/gm-zip+sign_backups.sh
+++ b/server/gm-zip+sign_backups.sh
@@ -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" "$@" || :
=====================================
server/sql/v21-v22/fixups/v22-release_notes-fixup.sql
=====================================
--- /dev/null
+++ b/server/sql/v21-v22/fixups/v22-release_notes-fixup.sql
@@ -0,0 +1,37 @@
+-- ==============================================================
+-- GNUmed database schema change script
+--
+-- License: GPL v2 or later
+-- Author: karsten.hilbert at 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');
View it on GitLab: https://salsa.debian.org/med-team/gnumed-server/compare/7892f4b1b602514a8187a8176630537dafd43b53...296084e80bda8b6750bec4417e89eb2888c51af2
---
View it on GitLab: https://salsa.debian.org/med-team/gnumed-server/compare/7892f4b1b602514a8187a8176630537dafd43b53...296084e80bda8b6750bec4417e89eb2888c51af2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180412/c6ae8a08/attachment-0001.html>
More information about the debian-med-commit
mailing list