public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Rebase to 4.18.0-beta1
Date: Mon, 23 Nov 2026 09:34:21 GMT	[thread overview]
Message-ID: <179542646154.1.9910535809367437810.rpms-rpm-8b4a3685d47f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 8b4a3685d47fcca29fb3f41a59d93bdb9df5953c
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2022-06-29T09:13:17+03:00
Stats  : +7/-43 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/8b4a3685d47fcca29fb3f41a59d93bdb9df5953c?branch=pmatilai-v6

Log:
Rebase to 4.18.0-beta1

---
diff --git a/.gitignore b/.gitignore
index 4979997..53ea46f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,4 @@
 /rpm-4.17.0.tar.bz2
 /rpm-4.18.0-alpha1.tar.bz2
 /rpm-4.18.0-alpha2.tar.bz2
+/rpm-4.18.0-beta1.tar.bz2

diff --git a/0001-Prevent-uncontrolled-sqlite-WAL-growth-during-large-.patch b/0001-Prevent-uncontrolled-sqlite-WAL-growth-during-large-.patch
deleted file mode 100644
index b1a7b04..0000000
--- a/0001-Prevent-uncontrolled-sqlite-WAL-growth-during-large-.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 33c8b214425c2860fdfe485d597e210b9723a792 Mon Sep 17 00:00:00 2001
-Message-Id: <33c8b214425c2860fdfe485d597e210b9723a792.1653292401.git.pmatilai@redhat.com>
-From: Panu Matilainen <pmatilai@redhat.com>
-Date: Mon, 23 May 2022 10:42:13 +0300
-Subject: [PATCH] Prevent uncontrolled sqlite WAL growth during large
- transactions
-
-Sqlite WAL threshold of 1000 pages is way too low for rpmdb as a single
-header often exceeds that, but disabling the checkpointing entirely can
-cause the WAL to grow to multiple gigabytes during large distro update
-transactions, which isn't healty either. Bump the threshold to 10000
-pages which caps the WAL size to tens of megabytes, which hopefully
-is a reasonable balance between performance on rotational disks (anybody
-remember those?) and diskpace consumption.
-
-Also drop no longer meaningful link to %_flush_io configuration.
----
- lib/backend/sqlite.c | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/lib/backend/sqlite.c b/lib/backend/sqlite.c
-index 31f77e845..d5389736b 100644
---- a/lib/backend/sqlite.c
-+++ b/lib/backend/sqlite.c
-@@ -180,9 +180,8 @@ static int sqlite_init(rpmdb rdb, const char * dbhome)
- 		int one = 1;
- 		/* Annoying but necessary to support non-privileged readers */
- 		sqlite3_file_control(sdb, NULL, SQLITE_FCNTL_PERSIST_WAL, &one);
--
--		if (!rpmExpandNumeric("%{?_flush_io}"))
--		    sqlexec(sdb, "PRAGMA wal_autocheckpoint = 0");
-+		/* Sqlite default threshold is way too low for rpmdb */
-+		sqlexec(sdb, "PRAGMA wal_autocheckpoint = 10000");
- 	    }
- 	}
- 
--- 
-2.35.3
-

diff --git a/rpm.spec b/rpm.spec
index 77ead79..b703859 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -29,8 +29,8 @@
 %define rpmhome /usr/lib/rpm
 
 %global rpmver 4.18.0
-%global snapver alpha2
-%global baserelease 2
+%global snapver beta1
+%global baserelease 1
 %global sover 9
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -56,7 +56,6 @@ Patch1: rpm-4.17.x-siteconfig.patch
 Patch3: rpm-4.9.90-no-man-dirs.patch
 
 # Patches already upstream:
-Patch100: 0001-Prevent-uncontrolled-sqlite-WAL-growth-during-large-.patch
 
 # These are not yet upstream
 Patch906: rpm-4.7.1-geode-i686.patch
@@ -611,6 +610,9 @@ fi
 %doc docs/librpm/html/*
 
 %changelog
+* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.beta1.1
+- Rebase to 4.18.0-beta1 (https://rpm.org/wiki/Releases/4.18.0)
+
 * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.18.0-0.alpha2.2
 - Rebuilt for Python 3.11
 

diff --git a/sources b/sources
index e897291..dff03e8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rpm-4.18.0-alpha2.tar.bz2) = 76282bbcdf7cfb3b6240ef2e2650cfbee784bddbfa85a09a92c02038e44b19cf8f20bf94b6d5464773d04ee838e136b788506ca28bdf36ed3a017c8e7172990e
+SHA512 (rpm-4.18.0-beta1.tar.bz2) = 4476c9e679e0ac622323e80212404dc062884d1f38923ab824a64e1120bd7c1586379709feae824628425222567e4f338fcba0104e2ae285909df249adcf96c8

                 reply	other threads:[~2026-11-23  9:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542646154.1.9910535809367437810.rpms-rpm-8b4a3685d47f@fedoraproject.org \
    --to=pmatilai@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox