From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OKVvJmeobGV1iwAAG6o9tA:P1 (envelope-from ) for ; Sun, 03 Dec 2023 17:10:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OKVvJmeobGV1iwAAG6o9tA (envelope-from ) for ; Sun, 03 Dec 2023 17:10:15 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A3075D327 for ; Sun, 3 Dec 2023 17:10:15 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=landt.email header.s=MBO0001 header.b=tFZFAivF; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=landt.email (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701619815; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XwEtT6zY8bNq0xgpIgsjCLYRahXhHbed+tTsWW1U0aY=; b=ZdxHrYx8CoCNrG3qWWi9IeAHx0eOfsJrwyZsGpUiX5UCXTAQFnfsmpY9h6Ww9egXyDiP8T OIMuDFunwPnbM+m6S9pGG1yr2gtGzmDtWzCfQQ6NIKWw/bziakOHf/gJrGhAZyJsHwX34y +AzqzAi/M6hUdqZqeXQI+wxJnkI6VO7MG9gbesko3AiLsn1GxdGWU5ni0F5PHdV1sGgZiA 1o/pezMk9lJNGuYejvK6JtUBBmRrEp+b16q8rbf3Q5eKo5se5spNdaCZj0FUV8yu1a0Nva XiWJqyKsBrO0X9lOfvW2RAcWG+pxKy111LJyAfOCOieV26mJOqPdZhtIOFBARw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=landt.email header.s=MBO0001 header.b=tFZFAivF; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=landt.email (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701619815; a=rsa-sha256; cv=none; b=YbAyDmAEvzYe/B87KVmeLDWF1aiHicQWxzMYWfnM3ZruyMSwNzu2oq1OwTSnR8gnUMgwmW o9ImlSEEP84Eg3aMjLMhwmeu11opg0RESX6K7XpmZK/z9qxPcTTRxY+Q9B2o5Vixp4jMzK Fi6oUt3BhUjgCq2CuPf0CmO2JvUXG0wu4GNGJd0fpI86zpazPB/O0tibuCKD8KKUlWZyT0 Zh+ORmDigPIvs13VmNgnsvS8ZtTNG8cCWzDHyXVk+5CIHVHIj7llTBtwGeOnsTV80qVxZu hdORgYrL+Clg/WDw7HweoGooIIED2f8bWCMenJqznqobDMvTGFzCaUzglVSDWA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9oqw-0007a6-J9; Sun, 03 Dec 2023 10:57:54 -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 ) id 1r9oqv-0007Yn-05 for guix-patches@gnu.org; Sun, 03 Dec 2023 10:57:53 -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 ) id 1r9oqu-0005bB-OZ for guix-patches@gnu.org; Sun, 03 Dec 2023 10:57:52 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r9or4-0004e3-M3 for guix-patches@gnu.org; Sun, 03 Dec 2023 10:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66557] [PATCH] home: services: Add goimapnotify service. Resent-From: Nils Landt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Dec 2023 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66557 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Bruno Victal Cc: 66557@debbugs.gnu.org Received: via spool by 66557-submit@debbugs.gnu.org id=B66557.170161902217775 (code B ref 66557); Sun, 03 Dec 2023 15:58:02 +0000 Received: (at 66557) by debbugs.gnu.org; 3 Dec 2023 15:57:02 +0000 Received: from localhost ([127.0.0.1]:60659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9oq5-0004cW-UX for submit@debbugs.gnu.org; Sun, 03 Dec 2023 10:57:02 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:36650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9oq2-0004cA-Ih for 66557@debbugs.gnu.org; Sun, 03 Dec 2023 10:57:00 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4SjryJ4d0vz9sTM; Sun, 3 Dec 2023 16:56:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1701619000; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XwEtT6zY8bNq0xgpIgsjCLYRahXhHbed+tTsWW1U0aY=; b=tFZFAivFZCusE+ZW8a7RxwVCqPAinmCWYPAHmTxshdIXhY7dtOsUZA3ChwDWX0ntGb8daU YZjI++Z7HcVOWzlDXTH5rc/TN9kbshM6oXppYOQNnFKHe/Ja/5lPlQWldbsS/VQ21T5AYb TsqvKKCmpTNmdFy1S/gMYe3O3OLo5piiELGn/VEHm0itXIfl6X19yETlRAgN/LaNgGrybQ Qid5tmTjN4fy58DSPUS8SRYLJimg1V+OUmwJUjI4cBC3CrT79F2NAXaMyQqyTRPiNwkh4H x+N5vnQOGCA+psm1tt5of1jwJjPJkfxgnul1xh3JMEUNfsYzN6fDgrxTJfBzaw== Date: Sun, 3 Dec 2023 16:56:40 +0100 (CET) From: Nils Landt Message-ID: <562343514.101052.1701619000082@office.mailbox.org> In-Reply-To: <52947fbf-42c2-44e5-adf4-0b1bd66f56c0@makinata.eu> References: <1635724009.68147.1700997260830@office.mailbox.org> <52947fbf-42c2-44e5-adf4-0b1bd66f56c0@makinata.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6A3075D327 X-Spam-Score: -2.99 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.99 X-TUID: I0JyDGbm+bEU Hey Bruno, I've just pushed a new version, please have another look. > Bruno Victal hat am 29.11.2023 18:20 CET geschrieben: > > > Hi Nils, > > On 2023-11-26 11:14, Nils Landt wrote: > > Bruno: > >> This isn't needed, fields whose maybe-values are unset don't call the > >> serializing procedures. Took me a while to understand I needed to prefix the maybe-values. This then generates (goimapnotify-serialize-maybe-boolean). > you will need to make use of the lower-level transducers in > (gnu services configuration). > The fstrim-service-type in (gnu services linux) provides a simple > example of its use though for your case you might be looking at > something like: Thanks, I was able to get it work with a minor change! Don't really understand transducers yet, but I've starting reading up on them. Nils