[med-svn] [Git][med-team/gnumed-server][upstream] New upstream version 22.5
Andreas Tille
gitlab at salsa.debian.org
Sun Jan 27 13:12:05 GMT 2019
Andreas Tille pushed to branch upstream at Debian Med / gnumed-server
Commits:
77fa82d7 by Andreas Tille at 2019-01-27T13:08:40Z
New upstream version 22.5
- - - - -
3 changed files:
- server/doc/schema/gnumed-entire_schema.html
- − server/pycommon/xtest.py
- server/sql/v21-v22/fixups/v22-release_notes-fixup.sql
Changes:
=====================================
server/doc/schema/gnumed-entire_schema.html
=====================================
@@ -112,7 +112,7 @@
<body>
<!-- Primary Index -->
- <p><br><br>Dumped on 2018-12-19</p>
+ <p><br><br>Dumped on 2019-01-25</p>
<h1><a name="index">Index of database - gnumed_v22</a></h1>
<ul>
=====================================
server/pycommon/xtest.py deleted
=====================================
@@ -1,39 +0,0 @@
-#!/usr/bin/python3
-
-import sys
-
-import pyudev
-import psutil
-
-def enumerate_removable_partitions():
- removable_partitions = {}
- ctxt = pyudev.Context()
- removable_devices = [ dev for dev in ctxt.list_devices(subsystem='block', DEVTYPE='disk') if dev.attributes.get('removable') == b'1' ]
- all_mounted_partitions = { part.device: part for part in psutil.disk_partitions() }
- for device in removable_devices:
- partitions_on_removable_device = {
- part.device_node: {
- 'device': part['DEVNAME'],
- 'vendor': part['ID_VENDOR'],
- 'model': part['ID_MODEL'],
- 'fs_label': part['ID_FS_LABEL'],
- 'is_mounted': False,
- 'mountpoint': None,
- 'fs_type': None,
- } for part in ctxt.list_devices(subsystem='block', DEVTYPE='partition', parent=device)
- }
- for part in partitions_on_removable_device:
- try:
- partitions_on_removable_device[part]['mountpoint'] = all_mounted_partitions[part].mountpoint
- partitions_on_removable_device[part]['is_mounted'] = True
- partitions_on_removable_device[part]['fs_type'] = all_mounted_partitions[part].fstype
- except KeyError:
- pass # not mounted
- removable_partitions.update(partitions_on_removable_device)
- return removable_partitions
-
-parts = enumerate_removable_partitions()
-for part_name in parts:
- part = parts[part_name]
- if part['is_mounted']:
- print('mounted:', part)
=====================================
server/sql/v21-v22/fixups/v22-release_notes-fixup.sql
=====================================
@@ -17,8 +17,12 @@ INSERT INTO dem.message_inbox (
) 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.4 (database v22.4)',
- 'GNUmed 1.7.4 Release Notes:
+ 'Release Notes for GNUmed 1.7.5 (database v22.5)',
+ 'GNUmed 1.7.5 Release Notes:
+
+ 1.7.5
+
+FIX: exception on following vaccs reminder from provider inbox
1.7.4
View it on GitLab: https://salsa.debian.org/med-team/gnumed-server/commit/77fa82d79b5298fadafb8dde389ce8dd14c20b6e
--
View it on GitLab: https://salsa.debian.org/med-team/gnumed-server/commit/77fa82d79b5298fadafb8dde389ce8dd14c20b6e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190127/e365fe3d/attachment-0001.html>
More information about the debian-med-commit
mailing list