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-06-08 14:19:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chirp (Old)
 and      /work/SRC/openSUSE:Factory/.chirp.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chirp"

Mon Jun  8 14:19:01 2026 rev:73 rq:1357672 version:20260605

Changes:
--------
--- /work/SRC/openSUSE:Factory/chirp/chirp.changes      2026-05-30 
23:00:15.173488503 +0200
+++ /work/SRC/openSUSE:Factory/.chirp.new.2375/chirp.changes    2026-06-08 
14:24:58.096181826 +0200
@@ -1,0 +2,7 @@
+Sat Jun  6 14:05:23 UTC 2026 - Andreas Stieger <[email protected]>
+
+- Update to version 20260605:
+  * Update boot, zone, scan and alarm channels on channel deletion
+  * Add GM-15Pro extended UHF range
+
+-------------------------------------------------------------------

Old:
----
  chirp-20260529.obscpio

New:
----
  chirp-20260605.obscpio

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

Other differences:
------------------
++++++ chirp.spec ++++++
--- /var/tmp/diff_new_pack.MNyFB5/_old  2026-06-08 14:24:58.860213508 +0200
+++ /var/tmp/diff_new_pack.MNyFB5/_new  2026-06-08 14:24:58.860213508 +0200
@@ -20,7 +20,7 @@
 
 %define pythons python3
 Name:           chirp
-Version:        20260529
+Version:        20260605
 Release:        0
 Summary:        Tool for programming amateur radio sets
 License:        GPL-3.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.MNyFB5/_old  2026-06-08 14:24:58.904215333 +0200
+++ /var/tmp/diff_new_pack.MNyFB5/_new  2026-06-08 14:24:58.924216162 +0200
@@ -4,8 +4,8 @@
     <param name="scm">git</param>
     <param name="changesgenerate">enable</param>
     <param name="filename">chirp</param>
-    <param name="versionformat">20260529</param>
-    <param name="revision">61a03fc242a685335bae2f449d685fc59de30e6d</param>
+    <param name="versionformat">20260605</param>
+    <param name="revision">f624f55513514636081bfdd5736f067e666628fd</param>
   </service>
   <service mode="manual" name="set_version"/>
   <service name="tar" mode="buildtime"/>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.MNyFB5/_old  2026-06-08 14:24:58.956217489 +0200
+++ /var/tmp/diff_new_pack.MNyFB5/_new  2026-06-08 14:24:58.968217987 +0200
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">https://github.com/kk7ds/chirp.git</param>
-    <param 
name="changesrevision">61a03fc242a685335bae2f449d685fc59de30e6d</param>
+    <param 
name="changesrevision">f624f55513514636081bfdd5736f067e666628fd</param>
   </service>
 </servicedata>
 (No newline at EOF)

++++++ chirp-20260529.obscpio -> chirp-20260605.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chirp-20260529/chirp/drivers/radioddity_gm30.py 
new/chirp-20260605/chirp/drivers/radioddity_gm30.py
--- old/chirp-20260529/chirp/drivers/radioddity_gm30.py 2026-05-27 
06:35:07.000000000 +0200
+++ new/chirp-20260605/chirp/drivers/radioddity_gm30.py 2026-06-02 
02:42:11.000000000 +0200
@@ -961,6 +961,7 @@
     """Baofeng GM-15Pro"""
     VENDOR = "Baofeng"
     MODEL = "GM-15Pro"
+    _range = [(136000000, 174000000), (400000000, 512000000)]
 
 
 @directory.register
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chirp-20260529/chirp/drivers/retevis_ha1g.py 
new/chirp-20260605/chirp/drivers/retevis_ha1g.py
--- old/chirp-20260529/chirp/drivers/retevis_ha1g.py    2026-05-27 
06:35:07.000000000 +0200
+++ new/chirp-20260605/chirp/drivers/retevis_ha1g.py    2026-06-02 
02:42:11.000000000 +0200
@@ -447,6 +447,11 @@
 
         if not channels_in_bank and bank.index in self.get_used_zone_index():
             # disable bank
+            settings = self._radio._memobj.settings
+            if settings.homepoweronzone_1 == bank.index:
+                settings.homepoweronzone_1 = 0xFFF
+            if settings.homepoweronzone_2 == bank.index:
+                settings.homepoweronzone_2 = 0xFFF
             _zone_index = [x for x in self.get_used_zone_index()
                            if x != bank.index]
             self.zinfo.zoneindex = (
@@ -1171,6 +1176,7 @@
         ch_index_dict.append(ch_index)
     elif ch_index in ch_index_dict and rx_freq <= 0:
         ch_index_dict.remove(ch_index)
+        self.update_channel_indexes(ch_index, ch_index_dict)
     set_ch_index(self, ch_index_dict)
     _mem.set_raw(b"\x00" * 40)
     if mem.empty:
@@ -1658,6 +1664,74 @@
         return compare_version(self.metadata.get(
             'ha1g_firmware', '0.0.0.0'), '1.1.13.1') >= 0
 
+    def update_channel_indexes(self, ch_index, ch_index_list):
+        """Check if home power on channels are valid,
+        if not, the radio will keep restarting"""
+        self.update_poweron_channel_index(ch_index, ch_index_list)
+        self.update_zone_channel_index(ch_index)
+        self.update_scan_channel_index(ch_index, ch_index_list)
+        self.update_alarm_channel_index(ch_index)
+
+    def update_poweron_channel_index(self, ch_index, ch_index_list):
+        settings = self._memobj.settings
+        if settings.homepoweronch_1 == ch_index:
+            settings.homepoweronzone_1 = 0xFFF
+            settings.homepoweronch_1 = (
+                ch_index_list[self._skip_vfoch_count] if ch_index_list else 0)
+        if settings.homepoweronch_2 == ch_index:
+            settings.homepoweronzone_2 = 0xFFF
+            settings.homepoweronch_2 = (
+                ch_index_list[self._skip_vfoch_count] if ch_index_list else 0)
+
+    def update_zone_channel_index(self, ch_index):
+        zones = self._memobj.zoneinfo
+        zonenum = min(len(zones.zoneindex), zones.zonenum)
+        for i in range(zonenum):
+            idx = zones.zoneindex[i]
+            if idx == 0xFFFF or idx >= len(zones.zones):
+                break
+            zone = zones.zones[idx]
+            if ch_index in zone.chindex:
+                chidx = zone.chindex.index(ch_index)
+                for j in range(chidx, zone.chnum-1):
+                    zone.chindex[j] = zone.chindex[j+1]
+                zone.chindex[zone.chnum - 1] = 0xFFFF
+                zone.chnum -= 1
+
+    def update_scan_channel_index(self, ch_index, ch_index_list):
+        scans = self._memobj.scans
+        scannum = min(len(scans.scanindex), scans.scannum)
+        for i in range(scannum):
+            idx = scans.scanindex[i]
+            if idx == 0xFFFF or idx >= len(scans.scans):
+                break
+            scan = scans.scans[idx]
+            if scan.specifych == ch_index:
+                scan.specifych = (
+                    ch_index_list[self._skip_vfoch_count]
+                    if ch_index_list else 0)
+            if scan.PriorityCh1 == ch_index:
+                scan.PriorityCh1 = 0xFFFF
+            if scan.PriorityCh2 == ch_index:
+                scan.PriorityCh2 = 0xFFFF
+            if ch_index in scan.chindex:
+                chidx = scan.chindex.index(ch_index)
+                for j in range(chidx, scan.chnum-1):
+                    scan.chindex[j] = scan.chindex[j+1]
+                scan.chindex[scan.chnum - 1] = 0xFFFF
+                scan.chnum -= 1
+
+    def update_alarm_channel_index(self, ch_index):
+        alarms = self._memobj.alarms
+        alarnum = min(len(alarms.alarmindex), alarms.alarmnum)
+        for i in range(alarnum):
+            idx = alarms.alarmindex[i]
+            if idx == 0xFFFF or idx >= len(alarms.alarms):
+                break
+            alarm = alarms.alarms[idx]
+            if alarm.jumpch == ch_index:
+                alarm.jumpch = 0
+
 
 @directory.register
 class HA1UV(HA1G):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chirp-20260529/chirp/drivers/retevis_ha2.py 
new/chirp-20260605/chirp/drivers/retevis_ha2.py
--- old/chirp-20260529/chirp/drivers/retevis_ha2.py     2026-05-27 
06:35:07.000000000 +0200
+++ new/chirp-20260605/chirp/drivers/retevis_ha2.py     2026-06-02 
02:42:11.000000000 +0200
@@ -461,6 +461,7 @@
             ch_index_dict.append(ch_index)
         elif ch_index in ch_index_dict and mem.freq <= 0:
             ch_index_dict.remove(ch_index)
+            radio.update_channel_indexes(ch_index, ch_index_dict)
         retevis_ha1g.set_ch_index(radio, ch_index_dict)
 
     _mem.fill_raw(b"\x00")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/chirp-20260529/tools/check_commit.sh 
new/chirp-20260605/tools/check_commit.sh
--- old/chirp-20260529/tools/check_commit.sh    2026-05-27 06:35:07.000000000 
+0200
+++ new/chirp-20260605/tools/check_commit.sh    2026-06-02 02:42:11.000000000 
+0200
@@ -18,11 +18,11 @@
 
 git diff ${BASE}.. -- '*.py' | grep '^+' > added_lines
 
-if grep -E '(from|import).*six' added_lines; then
-    fail No new uses of future
+if grep -E '(from|import).*\<six\>' added_lines; then
+    fail No new uses of six
 fi
 
-if grep -E '\wsix\w' added_lines; then
+if grep -E '\<six\>' added_lines; then
     fail No new uses of six
 fi
 
@@ -30,7 +30,7 @@
     fail No new uses of future
 fi
 
-if grep -E '\wfuture\w' added_lines; then
+if grep -E '\<future\>' added_lines; then
     fail No new uses of future
 fi
 

++++++ chirp.obsinfo ++++++
--- /var/tmp/diff_new_pack.MNyFB5/_old  2026-06-08 14:25:00.728290973 +0200
+++ /var/tmp/diff_new_pack.MNyFB5/_new  2026-06-08 14:25:00.740291470 +0200
@@ -1,5 +1,5 @@
 name: chirp
-version: 20260529
-mtime: 1779856507
-commit: 61a03fc242a685335bae2f449d685fc59de30e6d
+version: 20260605
+mtime: 1780360931
+commit: f624f55513514636081bfdd5736f067e666628fd
 

Reply via email to