Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package chirp for openSUSE:Factory checked 
in at 2026-05-15 23:56:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chirp (Old)
 and      /work/SRC/openSUSE:Factory/.chirp.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chirp"

Fri May 15 23:56:58 2026 rev:70 rq:1353444 version:20260515

Changes:
--------
--- /work/SRC/openSUSE:Factory/chirp/chirp.changes      2026-05-10 
16:48:28.885165035 +0200
+++ /work/SRC/openSUSE:Factory/.chirp.new.1966/chirp.changes    2026-05-15 
23:58:48.806207257 +0200
@@ -1,0 +2,6 @@
+Fri May 15 15:38:30 UTC 2026 - Andreas Stieger <[email protected]>
+
+- Update to version 20260515:
+  * ha2: Fix defaulting empty memories to sane values
+
+-------------------------------------------------------------------

Old:
----
  chirp-20260508.obscpio

New:
----
  chirp-20260515.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ chirp.spec ++++++
--- /var/tmp/diff_new_pack.2xQ1Kq/_old  2026-05-15 23:58:49.446233603 +0200
+++ /var/tmp/diff_new_pack.2xQ1Kq/_new  2026-05-15 23:58:49.450233767 +0200
@@ -20,7 +20,7 @@
 
 %define pythons python3
 Name:           chirp
-Version:        20260508
+Version:        20260515
 Release:        0
 Summary:        Tool for programming amateur radio sets
 License:        GPL-3.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.2xQ1Kq/_old  2026-05-15 23:58:49.482235085 +0200
+++ /var/tmp/diff_new_pack.2xQ1Kq/_new  2026-05-15 23:58:49.494235579 +0200
@@ -4,8 +4,8 @@
     <param name="scm">git</param>
     <param name="changesgenerate">enable</param>
     <param name="filename">chirp</param>
-    <param name="versionformat">20260508</param>
-    <param name="revision">a89815c5c1575d7ab2c4bfae2ce153611f64e804</param>
+    <param name="versionformat">20260515</param>
+    <param name="revision">cb0e19f55fbd17b9485fcb7696fb9cd4863ccf58</param>
   </service>
   <service mode="manual" name="set_version"/>
   <service name="tar" mode="buildtime"/>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.2xQ1Kq/_old  2026-05-15 23:58:49.518236567 +0200
+++ /var/tmp/diff_new_pack.2xQ1Kq/_new  2026-05-15 23:58:49.522236731 +0200
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">https://github.com/kk7ds/chirp.git</param>
-    <param 
name="changesrevision">a89815c5c1575d7ab2c4bfae2ce153611f64e804</param>
+    <param 
name="changesrevision">cb0e19f55fbd17b9485fcb7696fb9cd4863ccf58</param>
   </service>
 </servicedata>
 (No newline at EOF)

++++++ chirp-20260508.obscpio -> chirp-20260515.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chirp-20260508/chirp/drivers/retevis_ha2.py 
new/chirp-20260515/chirp/drivers/retevis_ha2.py
--- old/chirp-20260508/chirp/drivers/retevis_ha2.py     2026-05-08 
02:04:19.000000000 +0200
+++ new/chirp-20260515/chirp/drivers/retevis_ha2.py     2026-05-12 
02:16:08.000000000 +0200
@@ -325,8 +325,17 @@
     {"name": "Prog PTT", "id": 31}
 ]
 
+DTMF_SIGNALINGLIST_DISABLED = 15
+TOTTIME_DISABLED = 36
+SQUELCHLEVEL_DISABLED = 4
+
 
 def _get_memory(radio, mem, _mem, ch_index, isvfo=False):
+    was_empty = False
+    if not isvfo:
+        ch_index_dict = retevis_ha1g.get_ch_index(radio)
+        was_empty = ch_index not in ch_index_dict
+
     mem.extra = RadioSettingGroup("Extra", "extra")
     mem.extra.append(
         RadioSetting(
@@ -335,7 +344,8 @@
             RadioSettingValueList(
                 retevis_ha1g.get_namedict_by_items(
                     retevis_ha1g.TIMEOUTTIMER_LIST),
-                current_index=(_mem.tottime - 1))))
+                current_index=(
+                  was_empty and TOTTIME_DISABLED - 1 or (_mem.tottime - 1)))))
     mem.extra.append(
         RadioSetting(
             "totpermissions",
@@ -346,8 +356,10 @@
         RadioSetting(
             "rxsqlmode",
             "Squelch Level",
-            RadioSettingValueList(retevis_ha1g.SQUELCHLEVEL_LIST,
-                                  current_index=_mem.rxsqlmode)))
+            RadioSettingValueList(
+                retevis_ha1g.SQUELCHLEVEL_LIST,
+                current_index=(
+                    was_empty and SQUELCHLEVEL_DISABLED or _mem.rxsqlmode))))
     mem.extra.append(
         RadioSetting(
             "alarmlist",
@@ -363,7 +375,9 @@
             RadioSettingValueList(
                 retevis_ha1g.get_namedict_by_items(radio._dtmf_list),
                 current_index=retevis_ha1g.get_item_by_id(
-                    radio._dtmf_list, _mem.dtmfsignalinglist))))
+                    radio._dtmf_list,
+                    (was_empty and DTMF_SIGNALINGLIST_DISABLED
+                     or _mem.dtmfsignalinglist)))))
     mem.extra.append(
         RadioSetting(
             "offlineorreversal",
@@ -388,25 +402,17 @@
         RadioSetting(
             "vox", "VOX",
             RadioSettingValueBoolean(_mem.vox)))
-
-    if not isvfo:
-        ch_index_dict = retevis_ha1g.get_ch_index(radio)
-        if ch_index not in ch_index_dict:
-            mem.freq = 0
-            mem.empty = True
-            return mem
-
     mem.freq = int(_mem.rxfreq)
     mem.name = radio.filter_name(str(_mem.alias).rstrip())
     if isvfo:
         mem.immutable += ["name"]
-    tx_freq = int(_mem.txfreq)
 
-    if mem.freq == 0 or mem.freq == 0xFFFFFFFF:
+    if was_empty or _mem.rxfreq == 0 or _mem.rxfreq == 0xFFFFFFFF:
         mem.freq = 0
         mem.empty = True
         return mem
 
+    tx_freq = int(_mem.txfreq)
     if mem.freq == tx_freq:
         mem.duplex = ""
         mem.offset = 0
@@ -459,6 +465,9 @@
 
     _mem.fill_raw(b"\x00")
     if mem.empty:
+        _mem.dtmfsignalinglist = DTMF_SIGNALINGLIST_DISABLED
+        _mem.tottime = TOTTIME_DISABLED
+        _mem.rxsqlmode = SQUELCHLEVEL_DISABLED
         return
 
     _mem.rxfreq = mem.freq

++++++ chirp.obsinfo ++++++
--- /var/tmp/diff_new_pack.2xQ1Kq/_old  2026-05-15 23:58:50.766287941 +0200
+++ /var/tmp/diff_new_pack.2xQ1Kq/_new  2026-05-15 23:58:50.774288271 +0200
@@ -1,5 +1,5 @@
 name: chirp
-version: 20260508
-mtime: 1778198659
-commit: a89815c5c1575d7ab2c4bfae2ce153611f64e804
+version: 20260515
+mtime: 1778544968
+commit: cb0e19f55fbd17b9485fcb7696fb9cd4863ccf58
 

Reply via email to