Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gnuhealth-client for
openSUSE:Factory checked in at 2026-01-12 10:23:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnuhealth-client (Old)
and /work/SRC/openSUSE:Factory/.gnuhealth-client.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnuhealth-client"
Mon Jan 12 10:23:43 2026 rev:32 rq:1326530 version:5.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/gnuhealth-client/gnuhealth-client.changes
2025-07-02 18:17:21.199025284 +0200
+++
/work/SRC/openSUSE:Factory/.gnuhealth-client.new.1928/gnuhealth-client.changes
2026-01-12 10:32:14.872482444 +0100
@@ -1,0 +2,7 @@
+Fri Jan 9 15:16:52 UTC 2026 - Axel Braun <[email protected]>
+
+- version 5.0.1
+ * Fix issue #11. default settings for federation.gnhealth.org not working
+ * allow Python 3.14
+
+-------------------------------------------------------------------
Old:
----
gnuhealth-client-5.0.0.tar.gz
gnuhealth-client-5.0.0.tar.gz.sig
New:
----
gnuhealth-client-5.0.1.tar.gz
gnuhealth-client-5.0.1.tar.gz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnuhealth-client.spec ++++++
--- /var/tmp/diff_new_pack.XKHKFE/_old 2026-01-12 10:32:15.620513137 +0100
+++ /var/tmp/diff_new_pack.XKHKFE/_new 2026-01-12 10:32:15.620513137 +0100
@@ -1,8 +1,8 @@
#
# spec file for package gnuhealth-client
#
-# Copyright (c) 2025 SUSE LLC
-# Copyright (c) 2015-2025 Dr. Axel Braun
+# Copyright (c) 2026 SUSE LLC and contributors
+# Copyright (c) 2015-2026 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
%{?sle15_python_module_pythons}
Name: gnuhealth-client
-Version: %{majorver}.0
+Version: %{majorver}.1
Release: 0
Summary: The client of the GNU Health Hospital system
License: GPL-3.0-only
@@ -80,7 +80,7 @@
The client of the GNU Health Hospital application
%prep
-%autosetup
+%autosetup -n his-client
pwd
cd gnuhealth/plugins
@@ -121,7 +121,7 @@
%doc Changelog
%license COPYRIGHT COPYING
%{_datadir}/pixmaps/*
-%{mysitelib}/gnuhealth_client-5.0.0.dist-info
+%{mysitelib}/gnuhealth_client-%{version}.dist-info
%{mysitelib}/gnuhealth
-%{mysitelib}/gnuhealth_client-5.0.0.dist-info/*
+%{mysitelib}/gnuhealth_client-%{version}.dist-info/*
++++++ gnuhealth-client-5.0.0.tar.gz -> gnuhealth-client-5.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/.gitignore
new/his-client/.gitignore
--- old/gnuhealth-client-5.0.0/.gitignore 1970-01-01 01:00:00.000000000
+0100
+++ new/his-client/.gitignore 2025-12-15 17:19:30.000000000 +0100
@@ -0,0 +1,10 @@
+__pycache__/
+bin/gnuhealth-client
+*.pyc
+build/
+dist/
+sdist/
+eggs/
+*.egg-info/
+wheels/
+*.~lock*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/.woodpecker.yaml
new/his-client/.woodpecker.yaml
--- old/gnuhealth-client-5.0.0/.woodpecker.yaml 1970-01-01 01:00:00.000000000
+0100
+++ new/his-client/.woodpecker.yaml 2025-12-15 17:19:30.000000000 +0100
@@ -0,0 +1,10 @@
+# SPDX-FileCopyrightText: 2024 Gerald Wiese
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+steps:
+ test:
+ image: gnuhealth/linter:1.0.1
+ commands:
+ - bash scripts/lint.sh
+ # - bash scripts/security.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/Changelog
new/his-client/Changelog
--- old/gnuhealth-client-5.0.0/Changelog 2025-06-29 23:12:20.000000000
+0200
+++ new/his-client/Changelog 2025-12-15 17:19:30.000000000 +0100
@@ -1,3 +1,15 @@
+commit eb1c17a7e4f6e19cc2c99d7ed31aa5c63b874755 (HEAD -> patchset/5.0.1,
origin/patchset/5.0.1)
+Author: Luis Falcon <[email protected]>
+Date: Mon Dec 15 16:13:36 2025 +0000
+
+ Fix issue #11. default settings for federation.gnhealth.org not working
+
+commit c4dfe2e10638802d482f7b962b366656ccab3e73
+Author: Luis Falcon <[email protected]>
+Date: Mon Dec 15 16:11:54 2025 +0000
+
+ Complete task #12. Allow Python 3.14
+
commit d227a768a4b7ef1e8d606c4505bf371c278e172e
Author: Luis Falcon <[email protected]>
Date: Sun Jun 29 19:22:45 2025 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/gnuhealth/__init__.py
new/his-client/gnuhealth/__init__.py
--- old/gnuhealth-client-5.0.0/gnuhealth/__init__.py 2025-06-29
23:12:21.000000000 +0200
+++ new/his-client/gnuhealth/__init__.py 2025-12-15 17:19:30.000000000
+0100
@@ -16,7 +16,7 @@
import gi
# Settings for the GNU Health client and server versions
-__version__ = "5.0.0"
+__version__ = "5.0.1"
SERVER_VERSION = "7.0.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/gnuhealth/config.py
new/his-client/gnuhealth/config.py
--- old/gnuhealth-client-5.0.0/gnuhealth/config.py 2025-06-29
23:12:21.000000000 +0200
+++ new/his-client/gnuhealth/config.py 2025-12-15 17:19:30.000000000 +0100
@@ -85,17 +85,17 @@
"Config manager"
def __init__(self):
- short_version = '.'.join(__version__.split('.', 2)[:2])
- demo_server = 'federation.gnuhealth.org'
- demo_database = 'health%s' % short_version
+ short_version = ''.join(__version__.split('.')[:2])
+ demo_server = 'federation.gnuhealth.org:443'
+ demo_database = f'health{short_version}'
self.defaults = {
'login.profile': demo_server,
- 'login.login': 'demo',
+ 'login.login': 'admin',
'login.service': '',
'login.service.port': 8001,
'login.host': demo_server,
'login.db': demo_database,
- 'login.expanded': False,
+ 'login.expanded': True,
'client.title': 'GNU Health HIS GTK Client',
'client.toolbar': 'default',
'client.save_tree_width': True,
@@ -115,7 +115,7 @@
'image.cache_size': 1024,
'doc.url': 'https://docs.gnuhealth.org/his',
'bug.url': 'https://codeberg.org/gnuhealth/his/',
- 'download.url': 'https://downloads.gnuhealth.org/',
+ 'download.url': 'https://www.gnuhealth.org/',
'menu.pane': 320,
}
self.config = {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/gnuhealth-client-5.0.0/gnuhealth/gui/window/dblogin.py
new/his-client/gnuhealth/gui/window/dblogin.py
--- old/gnuhealth-client-5.0.0/gnuhealth/gui/window/dblogin.py 2025-06-29
23:12:21.000000000 +0200
+++ new/his-client/gnuhealth/gui/window/dblogin.py 2025-12-15
17:19:30.000000000 +0100
@@ -32,7 +32,7 @@
_ = gettext.gettext
logger = logging.getLogger(__name__)
-DEMO_HOSTNAME = 'federation.gnuhealth.org'
+DEMO_HOSTNAME = 'federation.gnuhealth.org:443'
class DBListEditor(object):
@@ -519,8 +519,8 @@
config_dir = get_config_dir()
self.profile_cfg = os.path.join(config_dir, 'profiles.cfg')
self.profiles = configparser.ConfigParser()
- series = '.'.join(__version__.split('.', 2)[:2])
- current_demo = "federation.gnuhealth.org"
+ series = ''.join(__version__.split('.')[:2])
+ current_demo = "federation.gnuhealth.org:443"
try:
self.profiles.read(self.profile_cfg)
except configparser.Error:
@@ -540,11 +540,14 @@
if not self.profiles.sections():
self.profiles.add_section(current_demo)
self.profiles.set(current_demo, 'host', current_demo)
- self.profiles.set(current_demo, 'database', f'demo{series}')
- self.profiles.set(current_demo, 'username', 'demo')
+ self.profiles.set(current_demo, 'database', f'health{series}')
+ self.profiles.set(current_demo, 'username', 'admin')
to_remove = []
for section in self.profiles.sections():
- # host = self.profiles.get(section, 'host', fallback='')
+ host = self.profiles.get(section, 'host', fallback='')
+ if host and (DEMO_HOSTNAME == host) and host != current_demo:
+ to_remove.append(section)
+ continue
active = all(
self.profiles.has_option(section, option)
@@ -555,8 +558,8 @@
if to_remove and not self.profiles.has_section(current_demo):
self.profiles.add_section(current_demo)
self.profiles.set(current_demo, 'host', current_demo)
- self.profiles.set(current_demo, 'database', f'demo{series}')
- self.profiles.set(current_demo, 'username', 'demo')
+ self.profiles.set(current_demo, 'database', f'health{series}')
+ self.profiles.set(current_demo, 'username', 'admin')
self.profile_store.append([current_demo, True])
self.services = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/pyproject.toml
new/his-client/pyproject.toml
--- old/gnuhealth-client-5.0.0/pyproject.toml 2025-06-29 23:12:22.000000000
+0200
+++ new/his-client/pyproject.toml 2025-12-15 17:19:30.000000000 +0100
@@ -8,12 +8,12 @@
[project]
name = "gnuhealth-client"
-version = "5.0.0"
+version = "5.0.1"
description = "GTK client for the GNU Health Hospital Management System"
-license = { text = "GPL-3.0-or-later" }
+license = "GPL-3.0-or-later"
readme = "README.rst"
keywords = ["health", "hospital", "HIS", "eHealth", "gnuhealth"]
-requires-python = ">=3.10,<3.14"
+requires-python = ">=3.10,<3.15"
authors = [
{name = "GNU Solidario", email = "[email protected]"},
]
@@ -28,7 +28,7 @@
dependencies = [
'pycairo',
'python-dateutil',
- 'PyGObject (>=3.19,<3.51)',
+ 'PyGObject (>=3.19)',
]
[project.optional-dependencies]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/scripts/autopep8.sh
new/his-client/scripts/autopep8.sh
--- old/gnuhealth-client-5.0.0/scripts/autopep8.sh 1970-01-01
01:00:00.000000000 +0100
+++ new/his-client/scripts/autopep8.sh 2025-12-15 17:19:30.000000000 +0100
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# SPDX-FileCopyrightText: 2024 Feng Shu
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+for py in $(find . -name '*.py');
+do
+ echo "# Formating ${py} ..."
+ autopep8 --aggressive --max-line-length=79 --in-place ${py}
+done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/scripts/lint.sh
new/his-client/scripts/lint.sh
--- old/gnuhealth-client-5.0.0/scripts/lint.sh 1970-01-01 01:00:00.000000000
+0100
+++ new/his-client/scripts/lint.sh 2025-12-15 17:19:30.000000000 +0100
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+# SPDX-FileCopyrightText: 2024 Gerald Wiese
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+# Usage:
+# 1. bash scripts/lint.sh
+# 2. bash scripts/lint.sh |grep -v pyc |grep -v __init__ |grep -v setup
+
+# Following uses PyPi package flake8, run "pipx install flake8" to get it
+echo "Running pycodestyle linting"
+pycodestyle . || exit_status=$?
+printf "\n\n\nRunning pyflakes linting\n"
+pyflakes . || exit_status=$?
+
+# Following uses PyPI package reuse, run "pipx install reuse" to get it
+printf "\n\n\nRunning reuse linting\n"
+reuse lint || exit_status=$?
+
+# Don't exit 0 if we had errors
+exit "${exit_status:-0}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/scripts/security.sh
new/his-client/scripts/security.sh
--- old/gnuhealth-client-5.0.0/scripts/security.sh 1970-01-01
01:00:00.000000000 +0100
+++ new/his-client/scripts/security.sh 2025-12-15 17:19:30.000000000 +0100
@@ -0,0 +1,21 @@
+#! /bin/bash
+
+# SPDX-FileCopyrightText: 2024 Gerald Wiese
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+# Usage:
+# 1. bash scripts/security.sh
+
+# Commands equal package names on PyPI
+
+# Run pip-audit to check dependencies for known vulnerabilities
+echo "Running pip-audit"
+pip-audit . || exit_status=$?
+
+# Bandit is a tool designed to find common security issues in Python code
+printf "\n\n\nRunning bandit\n"
+bandit -r . || exit_status=$?
+
+# Don't exit 0 if we had errors
+exit "${exit_status:-0}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/update-locales.sh
new/his-client/update-locales.sh
--- old/gnuhealth-client-5.0.0/update-locales.sh 1970-01-01
01:00:00.000000000 +0100
+++ new/his-client/update-locales.sh 2025-12-15 17:19:30.000000000 +0100
@@ -0,0 +1,49 @@
+#! /bin/bash
+
+# SPDX-FileCopyrightText: 2025 Feng Shu
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+
+CURDIR=$(dirname "$(realpath "${BASH_SOURCE[0]}")")
+
+cd ${CURDIR}
+
+PY_FILES=$(find . -type f -name "*.py")
+LOCALE_DIR=${CURDIR}/gnuhealth/data/locale
+
+xgettext --from-code=UTF-8 \
+ --force-po \
+ --omit-header \
+ --language=Python \
+ --output-dir=${LOCALE_DIR} \
+ --no-location \
+ --output=tryton-extra.pot $PY_FILES
+
+msgcat ${LOCALE_DIR}/tryton.pot ${LOCALE_DIR}/tryton-extra.pot -o
${LOCALE_DIR}/tryton.pot
+rm ${LOCALE_DIR}/tryton-extra.pot
+
+for lang in bg cs es et fi hu it lo nl pt ru tr uk ca de \
+ es_419 fa fr id ja_JP lt pl ro sl zh_CN
+do
+ lang_dir=${LOCALE_DIR}/${lang}/LC_MESSAGES/
+ mkdir -p ${lang_dir}
+ cd ${lang_dir}
+
+ if [ -f tryton.po ]; then
+ msgmerge --quiet --update --backup=none \
+ --no-fuzzy-matching \
+ tryton.po ../../tryton.pot
+
+ msgattrib --no-obsolete tryton.po \
+ --output-file tryton.po
+ else
+ msginit --input=../../tryton.pot \
+ --output-file=tryton.po \
+ --no-translator \
+ --locale=tryton.UTF-8
+ fi
+
+ msgfmt tryton.po -o tryton.mo
+
+done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gnuhealth-client-5.0.0/version new/his-client/version
--- old/gnuhealth-client-5.0.0/version 2025-06-29 23:12:22.000000000 +0200
+++ new/his-client/version 2025-12-15 17:19:30.000000000 +0100
@@ -1 +1 @@
-5.0.0
+5.0.1