Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mygnuhealth for openSUSE:Factory checked in at 2024-04-09 16:48:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mygnuhealth (Old) and /work/SRC/openSUSE:Factory/.mygnuhealth.new.29460 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mygnuhealth" Tue Apr 9 16:48:25 2024 rev:11 rq:1166437 version:2.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/mygnuhealth/mygnuhealth.changes 2024-03-06 23:06:21.665295554 +0100 +++ /work/SRC/openSUSE:Factory/.mygnuhealth.new.29460/mygnuhealth.changes 2024-04-09 16:54:00.875091598 +0200 @@ -1,0 +2,6 @@ +Sun Apr 7 11:12:02 UTC 2024 - Axel Braun <[email protected]> + +- version 2.0.3 + * No changelog provided + +------------------------------------------------------------------- Old: ---- mygnuhealth-2.0.2.tar.gz New: ---- mygnuhealth-2.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mygnuhealth.spec ++++++ --- /var/tmp/diff_new_pack.GwLtIM/_old 2024-04-09 16:54:02.299144132 +0200 +++ /var/tmp/diff_new_pack.GwLtIM/_new 2024-04-09 16:54:02.307144427 +0200 @@ -34,7 +34,7 @@ %endif Name: mygnuhealth -Version: %{majorver}.0.2 +Version: %{majorver}.0.3 Release: 0 Summary: The personal health record for the GNU Health system License: GPL-3.0-or-later ++++++ mygnuhealth-2.0.2.tar.gz -> mygnuhealth-2.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mygnuhealth-2.0.2/PKG-INFO new/mygnuhealth-2.0.3/PKG-INFO --- old/mygnuhealth-2.0.2/PKG-INFO 2024-02-26 18:50:50.011162300 +0100 +++ new/mygnuhealth-2.0.3/PKG-INFO 2024-03-31 00:02:00.121187000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: mygnuhealth -Version: 2.0.2 +Version: 2.0.3 Summary: The GNU Health Personal Health Record Author-email: Luis Falcon <[email protected]> License: GPL v3+ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mygnuhealth-2.0.2/mygnuhealth/__init__.py new/mygnuhealth-2.0.3/mygnuhealth/__init__.py --- old/mygnuhealth-2.0.2/mygnuhealth/__init__.py 2024-02-26 18:17:00.000000000 +0100 +++ new/mygnuhealth-2.0.3/mygnuhealth/__init__.py 2024-03-30 23:24:19.000000000 +0100 @@ -4,4 +4,4 @@ # License: GPL v3+ # Please read the COPYRIGHT and LICENSE files of the package #################################################################### -__version__ = '2.0.2' +__version__ = '2.0.3' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mygnuhealth-2.0.2/mygnuhealth/book_of_life.py new/mygnuhealth-2.0.3/mygnuhealth/book_of_life.py --- old/mygnuhealth-2.0.2/mygnuhealth/book_of_life.py 2024-02-26 11:52:18.000000000 +0100 +++ new/mygnuhealth-2.0.3/mygnuhealth/book_of_life.py 2024-03-30 23:04:46.000000000 +0100 @@ -147,8 +147,10 @@ ---------- """ fedinfo = maindb.table('federation') - if len(fedinfo): - res = fedinfo.all()[0] + if not len(fedinfo): + return + + res = fedinfo.all()[0] print(res) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mygnuhealth-2.0.2/mygnuhealth/ui/login.kv new/mygnuhealth-2.0.3/mygnuhealth/ui/login.kv --- old/mygnuhealth-2.0.2/mygnuhealth/ui/login.kv 2024-02-26 17:51:48.000000000 +0100 +++ new/mygnuhealth-2.0.3/mygnuhealth/ui/login.kv 2024-03-30 22:55:45.000000000 +0100 @@ -22,6 +22,7 @@ id: key pos_hint: {'center_x': 0.5} size_hint: 0.4, 0.1 + padding: 0, self.height/3.3 focus: True multiline: False halign: 'center' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mygnuhealth-2.0.2/mygnuhealth/ui/newuser.kv new/mygnuhealth-2.0.3/mygnuhealth/ui/newuser.kv --- old/mygnuhealth-2.0.2/mygnuhealth/ui/newuser.kv 2024-02-26 17:58:06.000000000 +0100 +++ new/mygnuhealth-2.0.3/mygnuhealth/ui/newuser.kv 2024-03-30 22:55:45.000000000 +0100 @@ -1,17 +1,21 @@ <NewUserScreen>: name: "newuser" BoxLayout: - spacing: 20 - padding: 30 + id: newuser_box + spacing: self.height*0.05 # Provide spacing 5% of the actual box height + padding: self.height*0.05 orientation: "vertical" Image: source:"./images/gnu_health-logo.png" pos_hint: {'center_x': 0.5} + Label: + id: welcome_label pos_hint: {'center_x': 0.5} markup: True halign: 'center' + text_size: welcome_label.size text: "[b]Welcome![/b]\n\n To get the best out MyGNUHealth, I need " \ "some basic information from you.\n" \ @@ -21,33 +25,39 @@ TextInput: id: username + size_hint: (1, None) + height: newuser_box.height * 0.1 pos_hint: {'center_x': 0.5} - size_hint: (0.5, None) - # hardcode the height to it better fit the font size - height: 30 multiline: False halign: 'center' - hint_text: "Your name" + padding: 0, self.height/3 + hint_text: "Your Name" write_tab: False BoxLayout: - size_hint: (None, 0.3) width: username.width pos_hint: {'center_x': 0.5} + spacing: newuser_box.height*0.05 + padding: self.height*0.05 Spinner: id: sex + pos_hint: {'center_y': 0.5} text: "Sex" size_hint: (None, None) - width: 100 - height: 30 + height: newuser_box.height * 0.1 values: 'Female', 'Male', 'Other' BoxLayout: - spacing: 2 + spacing: newuser_box.height*0.05 + padding: newuser_box.height*0.05 Label: + height: newuser_box.height * 0.1 + pos_hint: {'center_y': 0.5} + text_size: self.size text: "DoB" - halign: 'right' + halign: 'center' + valign: 'middle' color: hexcolor('#32393a') multiline: False write_tab: False @@ -55,24 +65,24 @@ TextInput: id: bday size_hint: (0.4, None) + height: newuser_box.height * 0.1 input_filter: 'int' pos_hint: {'center_y': 0.5} - # hardcode the height to it better fit the font size - height: 30 multiline: False halign: 'center' + padding: 0, self.height/3 hint_text: "dd" write_tab: False TextInput: id: bmonth size_hint: (0.4, None) + height: newuser_box.height * 0.1 pos_hint: {'center_y': 0.5} input_filter: 'int' - # hardcode the height to it better fit the font size - height: 30 multiline: False halign: 'center' + padding: 0, self.height/3 hint_text: "mm" write_tab: False @@ -80,18 +90,19 @@ id: byear pos_hint: {'center_y': 0.5} size_hint: (0.5, None) + height: newuser_box.height * 0.1 input_filter: 'int' - # hardcode the height to it better fit the font size - height: 30 multiline: False halign: 'center' + padding: 0, self.height/3 hint_text: "yyyy" write_tab: False BoxLayout: - size_hint: (None, 0.3) width: username.width pos_hint: {'center_x': 0.5} + #spacing: newuser_box.height*0.05 + #padding: newuser_box.height*0.05 Slider: id: height @@ -102,21 +113,30 @@ orientation: 'horizontal' Label: markup: True + height: newuser_box.height * 0.1 text: "[b]Height:[/b] " + str(height.value) + " cm" color: hexcolor('#32393a') BoxLayout: size_hint: (None, 0.3) + spacing: newuser_box.height*0.05 + padding: newuser_box.height*0.05 + width: username.width + pos_hint: {'center_x': 0.5} + + BoxLayout: width: username.width pos_hint: {'center_x': 0.5} - spacing: 5 + spacing: newuser_box.height*0.05 + padding: newuser_box.height*0.05 TextInput: id: pkey size_hint: (0.5, None) - height: 30 + height: newuser_box.height * 0.1 multiline: False halign: 'center' + padding: 0, self.height/3 hint_text: "Personal key" password: True write_tab: False @@ -124,9 +144,10 @@ TextInput: id: pkey_confirm size_hint: (0.5, None) - height: 30 + height: newuser_box.height * 0.1 multiline: False halign: 'center' + padding: 0, self.height/3 hint_text: "Repeat Personal Key" password: True write_tab: False @@ -134,8 +155,8 @@ Button: id: save_button text: "Save" - # size_hint: 0.07, 0.07 pos_hint: {'center_x': 0.5} + height: newuser_box.height * 0.1 background_color: hexcolor("#07879a") on_release: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mygnuhealth-2.0.2/mygnuhealth.egg-info/PKG-INFO new/mygnuhealth-2.0.3/mygnuhealth.egg-info/PKG-INFO --- old/mygnuhealth-2.0.2/mygnuhealth.egg-info/PKG-INFO 2024-02-26 18:50:49.000000000 +0100 +++ new/mygnuhealth-2.0.3/mygnuhealth.egg-info/PKG-INFO 2024-03-31 00:02:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: mygnuhealth -Version: 2.0.2 +Version: 2.0.3 Summary: The GNU Health Personal Health Record Author-email: Luis Falcon <[email protected]> License: GPL v3+
