Message ID | 87h6i3lyph.fsf@cbaines.net |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BE4CA27BBEA; Tue, 20 Feb 2024 19:31:53 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4FA7027BBE2 for <patchwork@mira.cbaines.net>; Tue, 20 Feb 2024 19:31:53 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1rcVqC-0005Hx-8Z; Tue, 20 Feb 2024 14:31:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rcVq9-0005HI-6I for guix-patches@gnu.org; Tue, 20 Feb 2024 14:31:41 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rcVq8-0007ap-Ie for guix-patches@gnu.org; Tue, 20 Feb 2024 14:31:40 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rcVqU-0002FI-CO for guix-patches@gnu.org; Tue, 20 Feb 2024 14:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69292] [PATCH 0/6] Prepare the database code for use in the daemon Resent-From: Christopher Baines <mail@cbaines.net> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Feb 2024 19:32:02 +0000 Resent-Message-ID: <handler.69292.B.17084575148616@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69292 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69292@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17084575148616 (code B ref -1); Tue, 20 Feb 2024 19:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Feb 2024 19:31:54 +0000 Received: from localhost ([127.0.0.1]:46586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rcVqM-0002Eu-A7 for submit@debbugs.gnu.org; Tue, 20 Feb 2024 14:31:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:36826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@cbaines.net>) id 1rcVqK-0002Ek-CI for submit@debbugs.gnu.org; Tue, 20 Feb 2024 14:31:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@cbaines.net>) id 1rcVpy-0004sR-6d for guix-patches@gnu.org; Tue, 20 Feb 2024 14:31:30 -0500 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <mail@cbaines.net>) id 1rcVpw-0007Xd-Lo for guix-patches@gnu.org; Tue, 20 Feb 2024 14:31:29 -0500 Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id ED49D27BBE2 for <guix-patches@gnu.org>; Tue, 20 Feb 2024 19:31:25 +0000 (GMT) Received: from felis (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id b3a37161 for <guix-patches@gnu.org>; Tue, 20 Feb 2024 19:31:25 +0000 (UTC) User-agent: mu4e 1.10.8; emacs 29.1 From: Christopher Baines <mail@cbaines.net> Date: Tue, 20 Feb 2024 19:20:45 +0000 Message-ID: <87h6i3lyph.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Prepare the database code for use in the daemon
|
|
Message
Christopher Baines
Feb. 20, 2024, 7:20 p.m. UTC
These changes prepare the database module for use in a Guile implementation of the guix-daemon. There's quite a few procedures that need adding, but these changes just adapt the existing functionality in to something that can be built on. Christopher Baines (6): store: database: Remove call-with-savepoint and associated code. store: database: Remove with-statement and associated code. store: database: Inline SQL to where it's used. store: database: Stop finalizing prepared statements. store: database: Refactor sqlite-register. store: database: Rename a couple of procedures. .dir-locals.el | 3 - guix/store/database.scm | 273 +++++++++++++++++----------------------- 2 files changed, 112 insertions(+), 164 deletions(-) base-commit: f4af19b037826cad90bbcfe400ad864f028cc7d8
Comments
Christopher Baines <mail@cbaines.net> writes: > These changes prepare the database module for use in a Guile > implementation of the guix-daemon. > > There's quite a few procedures that need adding, but these changes just > adapt the existing functionality in to something that can be built on. > > > Christopher Baines (6): > store: database: Remove call-with-savepoint and associated code. > store: database: Remove with-statement and associated code. > store: database: Inline SQL to where it's used. > store: database: Stop finalizing prepared statements. > store: database: Refactor sqlite-register. > store: database: Rename a couple of procedures. > > .dir-locals.el | 3 - > guix/store/database.scm | 273 +++++++++++++++++----------------------- > 2 files changed, 112 insertions(+), 164 deletions(-) I've pushed these to master as c9cd16c630ccba655b93ff32fd9a99570b4f5373. Chris