Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tik for openSUSE:Factory checked in 
at 2026-11-30 14:28:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tik (Old)
 and      /work/SRC/openSUSE:Factory/.tik.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tik"

Mon Nov 30 14:28:45 2026 rev:40 rq:1401589 version:1.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/tik/tik.changes  2026-07-07 21:08:05.652446178 
+0200
+++ /work/SRC/openSUSE:Factory/.tik.new.1340718/tik.changes     2026-11-30 
14:32:02.982216639 +0100
@@ -1,0 +2,7 @@
+Mon Nov 30 09:42:26 UTC 2026 - Richard Brown <[email protected]>
+
+- Update to version 1.5.4:
+  * Fix issues in tik (#64)
+  * Update 10-welcome (#63)
+
+-------------------------------------------------------------------

Old:
----
  tik-1.5.1.obscpio

New:
----
  tik-1.5.4.obscpio

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

Other differences:
------------------
++++++ tik.spec ++++++
--- /var/tmp/diff_new_pack.eppvsk/_old  2026-11-30 14:32:03.880254494 +0100
+++ /var/tmp/diff_new_pack.eppvsk/_new  2026-11-30 14:32:03.885254705 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           tik
-Version:        1.5.1
+Version:        1.5.4
 Release:        0
 Summary:        Transactional Installation Kit
 License:        MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.eppvsk/_old  2026-11-30 14:32:03.926256433 +0100
+++ /var/tmp/diff_new_pack.eppvsk/_new  2026-11-30 14:32:03.930256602 +0100
@@ -3,7 +3,7 @@
   <service name="obs_scm" mode="manual">
     <param name="url">https://github.com/sysrich/tik.git</param>
     <param name="scm">git</param>
-    <param name="revision">v1.5.1</param>
+    <param name="revision">v1.5.4</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.eppvsk/_old  2026-11-30 14:32:03.962257951 +0100
+++ /var/tmp/diff_new_pack.eppvsk/_new  2026-11-30 14:32:03.967258162 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/sysrich/tik.git</param>
-              <param 
name="changesrevision">249ecc64fd6fc2aba9f11ecf240bf5844751394a</param></service></servicedata>
+              <param 
name="changesrevision">73eebc53ec6b485aeb437320223bd9d3672729b4</param></service></servicedata>
 (No newline at EOF)
 

++++++ tik-1.5.1.obscpio -> tik-1.5.4.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tik-1.5.1/usr/lib/tik/lib/tik-core-helper 
new/tik-1.5.4/usr/lib/tik/lib/tik-core-helper
--- old/tik-1.5.1/usr/lib/tik/lib/tik-core-helper       2026-06-29 
11:44:36.000000000 +0200
+++ new/tik-1.5.4/usr/lib/tik/lib/tik-core-helper       2026-11-30 
10:34:38.000000000 +0100
@@ -245,7 +245,7 @@
 create_keyfile() {
     tik_keyfile=$(prun mktemp /tmp/tik.XXXXXXXXXX)
     log "[create_keyfile] Creating keyfile ${tik_keyfile}"
-    /usr/bin/base64 -w 0 /dev/urandom | head -c 1k | prun tee "${tik_keyfile}"
+    /usr/bin/base64 -w 0 /dev/urandom | head -c 1k | prun tee "${tik_keyfile}" 
>/dev/null
     prun /usr/bin/chmod 400 "${tik_keyfile}"
     tik_keyid=$(prun cat "${tik_keyfile}" | prun keyctl padd user cryptenroll 
@u)
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tik-1.5.1/usr/lib/tik/lib/tik-functions-helper 
new/tik-1.5.4/usr/lib/tik/lib/tik-functions-helper
--- old/tik-1.5.1/usr/lib/tik/lib/tik-functions-helper  2026-06-29 
11:44:36.000000000 +0200
+++ new/tik-1.5.4/usr/lib/tik/lib/tik-functions-helper  2026-11-30 
10:34:38.000000000 +0100
@@ -7,15 +7,18 @@
     local title="$1"
     local cancel_label="${2:-Cancel}"
     local passphrase=""
+    local prompt_retval=0
 
     if $gui; then
-        passphrase="$(zenity --password --title="${title}" 
--cancel-label="${cancel_label}")" || true
+        passphrase="$(zenity --password --title="${title}" 
--cancel-label="${cancel_label}")" || prompt_retval=$?
     else
-        cenity result --password --title="${title}" 
--cancel-label="${cancel_label}" || true
+        local result=""
+        cenity result --password --title="${title}" 
--cancel-label="${cancel_label}" || prompt_retval=$?
         passphrase="${result}"
     fi
 
     echo -n "${passphrase}"
+    return "${prompt_retval}"
 }
 
 tik_mount_prepare() {
@@ -122,6 +125,7 @@
 
     while true; do
         local pw
+        local prompt_retval
         local cancel_label="Cancel"
 
         if [ "${mode}" = "optional" ]; then
@@ -129,24 +133,27 @@
         fi
 
         pw="$(tik_prompt_passphrase "Encrypted partition (${crypt_part}) 
detected" "${cancel_label}")"
+        prompt_retval=$?
 
-        if [ -z "${pw}" ]; then
+        if [ "${prompt_retval}" -ne 0 ]; then
             if [ "${mode}" = "optional" ]; then
                 log "[tik_crypt_open] user skipped unlocking"
                 return 0
             fi
-            error "Encrypted system detected but no passphrase provided"
+            error "Encrypted system detected but unlocking was cancelled"
         fi
 
-        echo -n "${pw}" | prun /usr/sbin/cryptsetup luksOpen "${crypt_byid}" 
"${mapper_name}"
+        prun-opt /usr/sbin/cryptsetup luksOpen "${crypt_byid}" 
"${mapper_name}" <<<"${pw}"
         if [ "${retval}" = "0" ]; then
             TIK_ROOT_DEV="/dev/mapper/${mapper_name}"
             export TIK_ROOT_DEV
             TIK_OPENED_MAPPER="${mapper_name}"
             export TIK_OPENED_MAPPER
+            log "[tik_crypt_open] successfully unlocked ${TIK_CRYPT_PART}"
             return 0
         fi
 
+        log "[tik_crypt_open] failed to unlock ${TIK_CRYPT_PART}"
         d --warning --no-wrap --title="Incorrect passphrase" --text="Failed to 
unlock encrypted partition ${crypt_part}."
     done
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tik-1.5.1/usr/lib/tik/modules/pre/05-setup-gnome-env 
new/tik-1.5.4/usr/lib/tik/modules/pre/05-setup-gnome-env
--- old/tik-1.5.1/usr/lib/tik/modules/pre/05-setup-gnome-env    2026-06-29 
11:44:36.000000000 +0200
+++ new/tik-1.5.4/usr/lib/tik/modules/pre/05-setup-gnome-env    2026-11-30 
10:34:38.000000000 +0100
@@ -23,7 +23,7 @@
     gsettings set org.gnome.software download-updates 'false'
     gsettings set org.gnome.software download-updates-notify 'false'
     # Resize btrfs to max
-    prun-opt btrfs filesystem resize max /var
+    prun-opt /usr/sbin/btrfs filesystem resize max /var
 }
 
 setup_env
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tik-1.5.1/usr/lib/tik/modules/pre/10-welcome 
new/tik-1.5.4/usr/lib/tik/modules/pre/10-welcome
--- old/tik-1.5.1/usr/lib/tik/modules/pre/10-welcome    2026-06-29 
11:44:36.000000000 +0200
+++ new/tik-1.5.4/usr/lib/tik/modules/pre/10-welcome    2026-11-30 
10:34:38.000000000 +0100
@@ -13,25 +13,8 @@
 }
 
 checkLaptop() {
-    chassis=$(cat /sys/class/dmi/id/chassis_type)
-    # Test for respectively Handheld, Notebook, Laptop, and Portable
-    # If chassis variable matches 8 9 10 or 11 function continues else it 
proceeds to test AC power and Battery
-    [[ "$chassis" =~ ^(8|9|10|11)$ ]] || return
-    # Tested machine is confirmed mobile
-    givePowerRecommendation=false
-    # Only check for AC and Battery power connections with upower
-    updevices=$(/usr/bin/upower -e | grep -E 'AC|BAT')
-    for pdev in $updevices; do
-        # Get detailed info for each AC and BAT device in upower
-        upinfo=$(/usr/bin/upower -i "$pdev" | grep -E 'online|state')
-        # Check for discharging state or AC power offline which is equal to no 
state
-        if [[ "$upinfo" =~ (discharging|no) ]]; then
-            # Give power recommendation only once, so set this to true
-            givePowerRecommendation=true
-        fi
-    done
-    if [ "$givePowerRecommendation" = true ]; then
-        log "[welcome] AC Power disconnected and Battery is not charging"
+    if ! systemd-ac-power; then
+        log "[welcome] AC Power disconnected and battery is not charging"
         displayACWarningMsg
     fi
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tik-1.5.1/usr/lib/tik/modules/pre/20-mig 
new/tik-1.5.4/usr/lib/tik/modules/pre/20-mig
--- old/tik-1.5.1/usr/lib/tik/modules/pre/20-mig        2026-06-29 
11:44:36.000000000 +0200
+++ new/tik-1.5.4/usr/lib/tik/modules/pre/20-mig        2026-11-30 
10:34:38.000000000 +0100
@@ -68,7 +68,7 @@
             tik_progress_step "Scanning existing /home (btrfs quotas)" 10
             prun-opt /usr/sbin/btrfs quota rescan -w "${TIK_ROOT_MNT}/home" 
>/dev/null 2>&1
             if [ "${retval}" -eq 0 ]; then
-                home_size="$(prun-opt /usr/sbin/btrfs qgroup show --raw -f 
"${TIK_ROOT_MNT}/home" | awk 'NR==2{print $2}')"
+                home_size="$(prun-opt /usr/sbin/btrfs qgroup show --raw -f 
"${TIK_ROOT_MNT}/home" | awk '$1 ~ /^[0-9]+\/[0-9]+$/ {print $2; exit}')"
             fi
         else
             home_size=""
@@ -81,14 +81,17 @@
         fi
 
         tik_progress_step "Checking available space" 25
-        tik_stick_size=$(prun /usr/sbin/btrfs fi usage --raw ${mig_dir} | grep 
estimated | awk '{print $3}')
+        tik_stick_size="$(prun /usr/bin/df --output=avail --block-size=1 
"${mig_dir}" | awk 'NR==2 {print $1}')"
+        log "[mig] backup size check: home_size=${home_size:-unknown}, 
available=${tik_stick_size:-unknown}"
         if [ -n "${home_size}" ] && [ -n "${tik_stick_size}" ]; then
             if [ "${home_size}" -gt "${tik_stick_size}" ]; then
                 # Not enough space to offer migration
+                log "[mig] migration disabled: /home requires ${home_size} 
bytes but only ${tik_stick_size} bytes are available"
                 migrate=0
             fi
             if [ "${home_size}" -le 16384 ]; then
                 # /home subvolume is empty
+                log "[mig] migration disabled: /home appears empty 
(${home_size} bytes)"
                 migrate=0
             fi
         else

++++++ tik.obsinfo ++++++
--- /var/tmp/diff_new_pack.eppvsk/_old  2026-11-30 14:32:04.129264991 +0100
+++ /var/tmp/diff_new_pack.eppvsk/_new  2026-11-30 14:32:04.134265202 +0100
@@ -1,5 +1,5 @@
 name: tik
-version: 1.5.1
-mtime: 1782726276
-commit: 249ecc64fd6fc2aba9f11ecf240bf5844751394a
+version: 1.5.4
+mtime: 1796031278
+commit: 73eebc53ec6b485aeb437320223bd9d3672729b4
 

Reply via email to