From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0FtEHO22m2VkpAAAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 09:48:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8FzjFe22m2WqXQAAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 09:48:45 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=gNzxxY6Q; 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=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704703725; 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=fgZ88lTSHjSCvBriRDYf1J2SYBonTv2CUDkbn0Q7fEE=; b=qJbc/gkYR0Hsp50a6HmXjEXNIgqft3oy+CmLnNl7eQIwLRLvWFZ2LOYMwU+0E4NdeVvEmv hJqxqSfK5zCaPJ50slH7yG03zvRHTF16jjdcxMitFSCgW/XSNwy1Y9HLVTHSoYnWVD6EJx MTYNvDiS4pWrhT6NZdRU26HlexF6FU2Ldm5/tj9hrLvzKaVwRYfnYG0tEy9E+pBH8nzxo0 eTQ98Wa5heWVedMgroskWy3f7ioVW1VkKfUWfFfaw4aMr15wgDPTpbXVIl/cOHS6vGG5wa AKKN2TNPtkN6D3w+AuUFPMdI0Jy/VHzpq43EJdRd4W2OKUhVuhv8nm5L4DkHPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704703725; a=rsa-sha256; cv=none; b=oU19oYdqzr8jflZ4gz3xyKf6VZeOrplDeltJrdGzUfB1v7T2S3B8Dwra91dDu2lN3Yl+kC 5hXWqcJmb7w2i3aMIzCSROXCTFl/FQZaPewjd6JazH7q+f0s0pSgwex8PJtvwT1SP2lrag 3pYiKBmq8KlGc5tFkyeLDeRXuSinqARXvE1cspTZJG9Ul5tnMoHHa4kBciYVwbYk7OxjU5 geX7wUPqDMpJ3hgP8uCCoIyw4FvA1qFdtu+dwQKGAZCokpTh0H+4Eu6J8PCaRbtNlo3Rao ZLLuQ5BNE0jYJByvNqPNENBTKD4D00S6wFDaNJqjHP1/kH+bcH7rbq+TkZpsAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=gNzxxY6Q; 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=inria.fr (policy=none) 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 EF2901A0EB for ; Mon, 8 Jan 2024 09:48:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMlIz-0001Id-Mp; Mon, 08 Jan 2024 03:48:21 -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 1rMlIa-0001Fw-Oy for guix-patches@gnu.org; Mon, 08 Jan 2024 03:48:19 -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 1rMlIa-0005M5-GA for guix-patches@gnu.org; Mon, 08 Jan 2024 03:47:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMlIg-0008WA-6p for guix-patches@gnu.org; Mon, 08 Jan 2024 03:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68010] [PATCH] home: services: Add home-zathura-service-type. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 08:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68010 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sergey Trofimov Cc: lgcoelho@disroot.org, 68010@debbugs.gnu.org Received: via spool by 68010-submit@debbugs.gnu.org id=B68010.170470363132606 (code B ref 68010); Mon, 08 Jan 2024 08:48:02 +0000 Received: (at 68010) by debbugs.gnu.org; 8 Jan 2024 08:47:11 +0000 Received: from localhost ([127.0.0.1]:35119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMlHr-0008Tq-0t for submit@debbugs.gnu.org; Mon, 08 Jan 2024 03:47:11 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:21244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMlHj-0008TD-CW for 68010@debbugs.gnu.org; Mon, 08 Jan 2024 03:47:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=fgZ88lTSHjSCvBriRDYf1J2SYBonTv2CUDkbn0Q7fEE=; b=gNzxxY6QMwnlOM8qPQlzsi2PtPfHKcYmtmp51U3YUaYdypw/ajhHpQfn DAp96i9PzB5cp1oGIMFAeO8UlEs5VgTJg3wjiWEmNjCCD+j5N06G6zB0q kGIWkDSTioXBx44mOcZ+Ohgw0v1Yft7HAIXhfpV3+06e3aTQOzV9pvS5v Q=; X-IronPort-AV: E=Sophos;i="6.04,340,1695679200"; d="scan'208";a="76093266" Received: from unknown (HELO ribbon) ([193.50.110.52]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2024 09:46:50 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <874jg5gvfn.fsf@sarg.org.ru> (Sergey Trofimov's message of "Tue, 26 Dec 2023 10:33:16 +0100") References: <874jg5gvfn.fsf@sarg.org.ru> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 =?UTF-8?Q?Niv=C3=B4se?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Marbre X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 08 Jan 2024 09:46:50 +0100 Message-ID: <87wmsk6wlh.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -3.76 X-Spam-Score: -3.76 X-Migadu-Queue-Id: EF2901A0EB X-Migadu-Scanner: mx12.migadu.com X-TUID: FXUHmWvOJ91f Hello, Sergey Trofimov skribis: > lgcoelho@disroot.org writes: > >> This service enables a declarative configuration of zathura, the >> customizable document viewer. > > I have mixed feelings about pulling 3rd-party software configurations > in guix: > - adding it to guix increases maintenance burden: new versions could > add or remove config options > - it bloats guix: imagine if we add configs for every > user-configurable app > - such configs are not easily transferrable: if I were to use the > same app in non-guix env, I'd have to maintain 2 configs > > Another recent example is `oci-container-configuration` which defines > a subset of docker-cli startup arguments. The problem is that `docker > run` command has 96 options and the configuration only uses a handful, > lacking a way to provide the remaining ones. > > I think guix should not embed config generators for user software. The > only need I see for such generators is when there are options which > should be the same among multiple applications (e.g. color schemes or > shared directories). For such usecase guix should provide better text > manipulation tools which home owners could use to parameterise > configs. I guess it=E2=80=99s a tradeoff. The usual approach for System/Home servic= es has been to provide =E2=80=9Cbindings=E2=80=9D (a record type) for the conf= ig, *plus* an =E2=80=9Cescape hatch=E2=80=9D (letting users pass raw config as a string). But you=E2=80=99re right, the expected maintenance burden should be taken i= nto account. For well-established software and config formats such as Git, it=E2=80=99s probably okay to have bindings; for things that are more recent/changing, it=E2=80=99s less obvious. Also, we currently don=E2=80= =99t have tests for Home services, except for those mapped from System services, which means breakage isn=E2=80=99t automatically detected. I don=E2=80=99t know whether Zathura falls in the =E2=80=9Cokay=E2=80=9D ca= tegory or rather in the =E2=80=9Clet=E2=80=99s do write bindings=E2=80=9D one. Ludo=E2=80=99.