Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zswap-cli for openSUSE:Factory 
checked in at 2025-10-27 14:39:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zswap-cli (Old)
 and      /work/SRC/openSUSE:Factory/.zswap-cli.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zswap-cli"

Mon Oct 27 14:39:38 2025 rev:4 rq:1313648 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/zswap-cli/zswap-cli.changes      2025-08-21 
16:57:22.345055281 +0200
+++ /work/SRC/openSUSE:Factory/.zswap-cli.new.1980/zswap-cli.changes    
2025-10-27 14:41:34.839300476 +0100
@@ -1,0 +2,7 @@
+Sat Oct 25 11:20:09 UTC 2025 - Andreas Stieger <[email protected]>
+
+- update to 1.1.1:
+  * Add a new method to check if the swap space is available
+  * Enable shell completion installation by default
+
+-------------------------------------------------------------------

Old:
----
  zswap-cli-1.1.0.tar.gz

New:
----
  zswap-cli-1.1.1.tar.gz

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

Other differences:
------------------
++++++ zswap-cli.spec ++++++
--- /var/tmp/diff_new_pack.qIJOKD/_old  2025-10-27 14:41:35.575331561 +0100
+++ /var/tmp/diff_new_pack.qIJOKD/_new  2025-10-27 14:41:35.579331730 +0100
@@ -18,7 +18,7 @@
 
 %bcond_without systemd
 Name:           zswap-cli
-Version:        1.1.0
+Version:        1.1.1
 Release:        0
 Summary:        Command-line tool to control the zswap kernel module options
 License:        MIT
@@ -49,7 +49,6 @@
 %build
 %cmake \
        -DBUILD_MANPAGE:BOOL=ON \
-       -DBUILD_SHELL_COMPLETION:BOOL=ON \
 %if %{with systemd}
        -DSYSTEMD_INTEGRATION:BOOL=ON \
 %else

++++++ zswap-cli-1.1.0.tar.gz -> zswap-cli-1.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zswap-cli-1.1.0/.github/CONTRIBUTING.md 
new/zswap-cli-1.1.1/.github/CONTRIBUTING.md
--- old/zswap-cli-1.1.0/.github/CONTRIBUTING.md 2025-08-20 10:49:21.000000000 
+0200
+++ new/zswap-cli-1.1.1/.github/CONTRIBUTING.md 2025-10-25 12:07:33.000000000 
+0200
@@ -57,6 +57,7 @@
 ### Some important warnings
 
  * Don't mix different line endings.
+ * Don't add automatically generated code.
  * Don't upload any binary files to the repository.
  * Don't add and upload any temporary files.
  * Don't use any libraries incompatible with [current license](../LICENSE).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zswap-cli-1.1.0/.github/workflows/codeql.yml 
new/zswap-cli-1.1.1/.github/workflows/codeql.yml
--- old/zswap-cli-1.1.0/.github/workflows/codeql.yml    2025-08-20 
10:49:21.000000000 +0200
+++ new/zswap-cli-1.1.1/.github/workflows/codeql.yml    2025-10-25 
12:07:33.000000000 +0200
@@ -33,7 +33,7 @@
     - name: Checkout repository
       uses: actions/checkout@v5
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@v3
+      uses: github/codeql-action/init@v4
       with:
         languages: ${{ matrix.language }}
         queries: +security-and-quality
@@ -44,8 +44,8 @@
       run: |
         sudo apt-get -y install linux-libc-dev libboost-program-options-dev 
libsystemd-dev
     - name: Perform automatic build
-      uses: github/codeql-action/autobuild@v3
+      uses: github/codeql-action/autobuild@v4
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@v3
+      uses: github/codeql-action/analyze@v4
       with:
           category: "/language:${{ matrix.language }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zswap-cli-1.1.0/CMakeLists.txt 
new/zswap-cli-1.1.1/CMakeLists.txt
--- old/zswap-cli-1.1.0/CMakeLists.txt  2025-08-20 10:49:21.000000000 +0200
+++ new/zswap-cli-1.1.1/CMakeLists.txt  2025-10-25 12:07:33.000000000 +0200
@@ -11,7 +11,7 @@
 cmake_minimum_required(VERSION 3.28...4.0)
 
 project(zswap-cli
-    VERSION 1.1.0
+    VERSION 1.1.1
     DESCRIPTION "Command-line tool to control the zswap kernel module options"
     HOMEPAGE_URL "https://github.com/xvitaly/zswap-cli";
     LANGUAGES CXX
@@ -28,7 +28,7 @@
 
 option(BUILD_DOC "Build and install API and application documentation in HTML 
format." OFF)
 option(BUILD_MANPAGE "Build and install manpage with documentation." OFF)
-option(BUILD_SHELL_COMPLETION "Build and install shell completion helper 
files." OFF)
+option(BUILD_SHELL_COMPLETION "Build and install shell completion helper 
files." ON)
 option(LINK_ALL_STATICALLY "Link the program against all libraries statically 
(no dependencies mode)." OFF)
 option(LINK_BOOST_STATICALLY "Link the program against Boost library 
statically (removes dependency on it)." OFF)
 option(LINK_ENABLE_OPTIMIZATIONS "Enable link-time optimizations if supported 
by current C++ compiler." ON)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zswap-cli-1.1.0/docs/installation.md 
new/zswap-cli-1.1.1/docs/installation.md
--- old/zswap-cli-1.1.0/docs/installation.md    2025-08-20 10:49:21.000000000 
+0200
+++ new/zswap-cli-1.1.1/docs/installation.md    2025-10-25 12:07:33.000000000 
+0200
@@ -24,7 +24,7 @@
 | ------- | ------- | ------- |
 | BUILD_DOC | Build and install API and application documentation in HTML 
format. | OFF |
 | BUILD_MANPAGE | Build and install manpage with documentation. | OFF |
-| BUILD_SHELL_COMPLETION | Build and install shell completion helper files. | 
OFF |
+| BUILD_SHELL_COMPLETION | Build and install shell completion helper files. | 
ON |
 | LINK_ALL_STATICALLY | Link the program against all libraries statically (no 
dependencies mode). | OFF |
 | LINK_BOOST_STATICALLY | Link the program against Boost library statically 
(removes dependency on it). | OFF |
 | LINK_ENABLE_OPTIMIZATIONS | Enable link-time optimizations if supported by 
current C++ compiler. | ON |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zswap-cli-1.1.0/src/app/application/application.cpp 
new/zswap-cli-1.1.1/src/app/application/application.cpp
--- old/zswap-cli-1.1.0/src/app/application/application.cpp     2025-08-20 
10:49:21.000000000 +0200
+++ new/zswap-cli-1.1.1/src/app/application/application.cpp     2025-10-25 
12:07:33.000000000 +0200
@@ -102,7 +102,7 @@
     const unsigned long PoolSize = ZSwapDebugger -> 
GetPoolTotalSize().value_or(0UL);
     const unsigned long StoredPages = ZSwapDebugger -> 
GetStoredPages().value_or(0UL);
 
-    if (SysInfo -> GetTotalSwap() == 0)
+    if (!SysInfo -> IsSwapAvailable())
     {
         std::cout << "ZSwap is not functional due to missing swap file or 
partition." << std::endl;
         return;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zswap-cli-1.1.0/src/lib/ksysinfo/ksysinfo.cpp 
new/zswap-cli-1.1.1/src/lib/ksysinfo/ksysinfo.cpp
--- old/zswap-cli-1.1.0/src/lib/ksysinfo/ksysinfo.cpp   2025-08-20 
10:49:21.000000000 +0200
+++ new/zswap-cli-1.1.1/src/lib/ksysinfo/ksysinfo.cpp   2025-10-25 
12:07:33.000000000 +0200
@@ -117,6 +117,11 @@
     return PageSize;
 }
 
+bool KSysInfo::IsSwapAvailable() const
+{
+    return TotalSwap != 0UL;
+}
+
 void KSysInfo::ReadSysInfo()
 {
     struct sysinfo SysInfo;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zswap-cli-1.1.0/src/lib/ksysinfo/ksysinfo.hpp 
new/zswap-cli-1.1.1/src/lib/ksysinfo/ksysinfo.hpp
--- old/zswap-cli-1.1.0/src/lib/ksysinfo/ksysinfo.hpp   2025-08-20 
10:49:21.000000000 +0200
+++ new/zswap-cli-1.1.1/src/lib/ksysinfo/ksysinfo.hpp   2025-10-25 
12:07:33.000000000 +0200
@@ -160,6 +160,12 @@
      * @returns System memory page size.
     */
     long GetPageSize() const;
+
+    /**
+     * Checks if the swap space is available.
+     * @returns Swap space availability.
+    */
+    bool IsSwapAvailable() const;
 private:
     /**
      * Stores current uptime (in seconds since boot) value.

Reply via email to