Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wsl-appx for openSUSE:Factory 
checked in at 2021-06-04 00:33:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wsl-appx (Old)
 and      /work/SRC/openSUSE:Factory/.wsl-appx.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wsl-appx"

Fri Jun  4 00:33:20 2021 rev:13 rq:896705 version:1

Changes:
--------
--- /work/SRC/openSUSE:Factory/wsl-appx/wsl-appx.changes        2021-05-20 
19:25:07.321927314 +0200
+++ /work/SRC/openSUSE:Factory/.wsl-appx.new.1898/wsl-appx.changes      
2021-06-04 00:33:29.352887614 +0200
@@ -1,0 +2,20 @@
+Fri May 28 20:41:06 UTC 2021 - Jeff Kowalczyk <jkowalc...@suse.com>
+
+- Set Tumbleweed appx version using same method as SLE and Leap.
+  * Concatenate VERSION_ID year and day of year to consume only one
+    segment of four segment appx version:
+    VERSION_ID="20210524" date --date=$VERSION_ID +"%y%j" -> 21144
+  * Transforming the TW version date to fit in one segment 0-65535
+    is necessary for compliance with the MS Store restriction that
+    version numbers must always increase. The two RELEASE digits
+    are each given their own segment for this reason.
+  * The kiwi generated appx file now contains both TW VERSION_ID
+    and the appx version for easier cross reference.
+  * As with SLE and Leap set digits two and three of appx VERSION
+    to 0 for subsequent regex or template substitution during kiwi
+    image build. With the zero digits e.g. 153.0.0.0 it is still
+    possible to manually create valid appx images for side load.
+  * Remove unused APPXNAME which is now set by kiwi direct appx
+    image creation.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ wsl-appx.spec ++++++
--- /var/tmp/diff_new_pack.K2GPT2/_old  2021-06-04 00:33:29.808887968 +0200
+++ /var/tmp/diff_new_pack.K2GPT2/_new  2021-06-04 00:33:29.812887971 +0200
@@ -117,20 +117,18 @@
 # 0-65535, 0-65535, 0-65535, 0
 # Where the fourth segment is reserved for the MS Store use.
 if [ "$ID" = "opensuse-tumbleweed" ]; then
-       # Specify base 10 (10#) for VERSION_ID substring
-       # to avoid octal parsing for dates ending in 08 and 09
-       # printf: 08: invalid octal number
-       VERSION=`printf "%d.%d.%d%02d.0" "${VERSION_ID:2:4}" 
"$((10#${VERSION_ID:6}))" "${RELEASE%.*}" "${RELEASE#*.}"`
-       
APPXNAME="${PRETTY_NAME//[^[:alnum:].]/-}-$ARCH-Build$VERSION_ID.$RELEASE.appx"
+       # Concatenate VERSION_ID year and day to consume only one segment 
0-65535 e.g. 20210524 -> 21144
+       # Retain RELEASE version number in the two remaining segments 
0-65535.0-65535
+       # Example: VERSION_ID="20210524" date --date=$VERSION_ID +"%y%j" -> 
21144
+       VERSION=`printf "%d.%d.%d.0" "$(date --date=$VERSION_ID +"%y%j")" 
"${RELEASE%.*}" "${RELEASE#*.}"`
 else
        RELEASE="${RELEASE/lp???./}"
        # Concatenate digits of VERSION_ID to consume only one segment 0-65535 
e.g. 15.3 -> 153
        # Retain RELEASE version number in the two remaining segments 
0-65535.0-65535
        VERSION=`printf "%d.%d.%d.0" "${VERSION_ID//\./}" "${RELEASE%.*}" 
"${RELEASE#*.}"`
-       APPXNAME="${PRETTY_NAME//[^[:alnum:].]/-}-$ARCH-Build$RELEASE.appx"
 fi
 
-for i in PRETTY_NAME APPID IDENTITYAPPID ARCH PUBLISHER PUBLISHER_DISPLAY_NAME 
VERSION LAUNCHERNAME SHORT_NAME APPXNAME; do
+for i in PRETTY_NAME APPID IDENTITYAPPID ARCH PUBLISHER PUBLISHER_DISPLAY_NAME 
VERSION LAUNCHERNAME SHORT_NAME; do
        eval echo "\"$i='\$$i'\""
 done > .settings
 

Reply via email to