Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pagein for openSUSE:Factory checked in at 2021-05-20 19:25:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pagein (Old) and /work/SRC/openSUSE:Factory/.pagein.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pagein" Thu May 20 19:25:25 2021 rev:4 rq:894576 version:0.01.06 Changes: -------- --- /work/SRC/openSUSE:Factory/pagein/pagein.changes 2020-08-18 12:03:16.115425317 +0200 +++ /work/SRC/openSUSE:Factory/.pagein.new.2988/pagein.changes 2021-05-20 19:25:54.661733156 +0200 @@ -1,0 +2,6 @@ +Mon May 17 22:21:40 UTC 2021 - Ferdinand Thiessen <[email protected]> + +- Update to 0.01.06 + * Fixed uninitialized variables + +------------------------------------------------------------------- Old: ---- pagein-0.01.05.tar.gz New: ---- pagein-0.01.06.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pagein.spec ++++++ --- /var/tmp/diff_new_pack.BdwLqd/_old 2021-05-20 19:25:55.133731219 +0200 +++ /var/tmp/diff_new_pack.BdwLqd/_new 2021-05-20 19:25:55.137731203 +0200 @@ -18,7 +18,7 @@ Name: pagein -Version: 0.01.05 +Version: 0.01.06 Release: 0 Summary: A tool to force swapped out pages back into memory License: GPL-2.0-only ++++++ pagein-0.01.05.tar.gz -> pagein-0.01.06.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.05/Makefile new/pagein-0.01.06/Makefile --- old/pagein-0.01.05/Makefile 2020-07-04 16:40:14.000000000 +0200 +++ new/pagein-0.01.06/Makefile 2021-04-28 21:55:18.000000000 +0200 @@ -1,5 +1,5 @@ # -# Copyright (C) 2016-2020 Canonical, Ltd. +# Copyright (C) 2016-2021 Canonical, Ltd. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.01.05 +VERSION=0.01.06 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.05/bash-completion/pagein new/pagein-0.01.06/bash-completion/pagein --- old/pagein-0.01.05/bash-completion/pagein 2020-07-04 16:40:14.000000000 +0200 +++ new/pagein-0.01.06/bash-completion/pagein 2021-04-28 21:55:18.000000000 +0200 @@ -1,6 +1,6 @@ # pagein tab completion for bash. # -# Copyright (C) 2020 Canonical +# Copyright (C) 2020-2021 Canonical # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.05/pagein.1 new/pagein-0.01.06/pagein.1 --- old/pagein-0.01.05/pagein.1 2020-07-04 16:40:14.000000000 +0200 +++ new/pagein-0.01.06/pagein.1 2021-04-28 21:55:18.000000000 +0200 @@ -70,7 +70,7 @@ This manual page was written by Colin King <[email protected]>, for the Ubuntu project (but may be used by others). .SH COPYRIGHT -Copyright \(co 2016-2019 Canonical Ltd. +Copyright \(co 2016-2021 Canonical Ltd. .br This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.05/pagein.c new/pagein-0.01.06/pagein.c --- old/pagein-0.01.05/pagein.c 2020-07-04 16:40:14.000000000 +0200 +++ new/pagein-0.01.06/pagein.c 2021-04-28 21:55:18.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016-2020 Canonical, Ltd. + * Copyright (C) 2016-2021 Canonical, Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -293,8 +293,8 @@ int main(int argc, char **argv) { - int64_t memfree_begin, memfree_end; - int64_t swapfree_begin, swapfree_end; + int64_t memfree_begin = 0, memfree_end = 0; + int64_t swapfree_begin = 0, swapfree_end = 0; int64_t delta; int64_t total_pages_touched = 0ULL; int64_t total_pages_skipped = 0ULL; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagein-0.01.05/snap/snapcraft.yaml new/pagein-0.01.06/snap/snapcraft.yaml --- old/pagein-0.01.05/snap/snapcraft.yaml 2020-07-04 16:40:14.000000000 +0200 +++ new/pagein-0.01.06/snap/snapcraft.yaml 2021-04-28 21:55:18.000000000 +0200 @@ -1,17 +1,32 @@ name: pagein -version: git -version-script: | - echo $(git describe --tags) summary: tool to force swapped out pages back into memory description: Pagein is a tool that forces pages that are in swap to be paged in back to memory. The main usecase for pagein is to exercise the VM and swap subsystems for testing purposes. confinement: devmode type: app grade: stable +assumes: [snapd2.45] +base: core18 +adopt-info: pagein parts: pagein: plugin: make - source: git://github.com/ColinIanKing/pagein + source-type: git + source: https://github.com/ColinIanKing/pagein + override-pull: | + snapcraftctl pull + description="$(git describe HEAD --tags)" + sha=$(echo $description | tr '-' ' ' | awk '{print $NF}') + version=${description%$sha} + commits=$(git log --oneline | wc -l) + date=$(date +'%Y%m%d') + if test "$description" = "$sha" + then + version="$description" + else + version=$(echo $version$date-$commits-$sha | cut -c1-32) + fi + snapcraftctl set-version "$version" build-packages: - gcc - make
