From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id 4N6ZLgZ+HmBmKAAA0tVLHw
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 06 Feb 2021 11:31:18 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0 with LMTPS
	id +AJYKgZ+HmCoJQAA1q6Kng
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 06 Feb 2021 11:31:18 +0000
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 2C35C9401DF
	for <larch@yhetil.org>; Sat,  6 Feb 2021 11:31:18 +0000 (UTC)
Received: from localhost ([::1]:35094 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1l8Lo5-00054u-4j
	for larch@yhetil.org; Sat, 06 Feb 2021 06:31:17 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:42294)
 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 1l8Lnr-00054N-GQ
 for guix-patches@gnu.org; Sat, 06 Feb 2021 06:31:03 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:33694)
 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 1l8Lnq-00064b-Vt
 for guix-patches@gnu.org; Sat, 06 Feb 2021 06:31:03 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1l8Lnq-0006Cj-TV
 for guix-patches@gnu.org; Sat, 06 Feb 2021 06:31:02 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#46215] [PATCH] Add yadm
Resent-From: Tobias Geerinckx-Rice <me@tobias.gr>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Sat, 06 Feb 2021 11:31:02 +0000
Resent-Message-ID: <handler.46215.B46215.161261102923785@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 46215
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Ellis =?UTF-8?Q?Keny=C5=91?= <me@elken.dev>
Cc: leo.prikler@student.tugraz.at, 46215@debbugs.gnu.org
X-Debbugs-Original-Cc: Leo Prikler <leo.prikler@student.tugraz.at>,
 46215@debbugs.gnu.org, guix-patches@gnu.org
Received: via spool by 46215-submit@debbugs.gnu.org id=B46215.161261102923785
 (code B ref 46215); Sat, 06 Feb 2021 11:31:02 +0000
Received: (at 46215) by debbugs.gnu.org; 6 Feb 2021 11:30:29 +0000
Received: from localhost ([127.0.0.1]:45235 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1l8LnI-0006BY-Ti
 for submit@debbugs.gnu.org; Sat, 06 Feb 2021 06:30:29 -0500
Received: from tobias.gr ([80.241.217.52]:57958)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@tobias.gr>) id 1l8LnF-0006BN-Iv
 for 46215@debbugs.gnu.org; Sat, 06 Feb 2021 06:30:27 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018;
 bh=QwHdoi1pO9XvATYILnGcEb7oJpf3DJLB04NCcZga3i4=; h=date:in-reply-to:
 references:subject:cc:to:from; b=cgYBs5AnXgHfFo/wSsLjN5NiSst+34cWdZA7b
 QXqU2rKyBHIrqvN6Ftsi4SGmRq6Lw8wefVouz+E5UvvVlR1vCzFffG7U0Ge9Bq0IfMSi9p
 cNyrlZrdxYMWhxnoJ3ZeNlABMiriE7ryxxsUMZSCs+ImtbT4g4AzTYypKY8JgrpKt28JQv
 VyfGX2wZFJ/tJtOFbkfzeifthE491EwN2tbu6P9zaAEC3MB1uBrVuruNuN4ennZInTfzAB
 6pzRlUynLGOf4/qKrxDOwKQA0J+90GX9BI4L5lyF/ER9zFVsnWL3PNESY2PJMLps17QRf4
 gP3z1Eicbo43WwCFyybCYLgnw==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7a2a75cd
 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); 
 Sat, 6 Feb 2021 11:31:07 +0000 (UTC)
BIMI-Selector: v=BIMI1; s=default;
References: <20210131164721.8792-1-me@elken.dev>
 <84ab5054792abeb5e9b85d21229cd7182204d817.camel@student.tugraz.at>
 <87czxkc0yv.fsf@elken.dev>
 <0ff6a0c2cc9a2f65cd51c1eeb9e6a33aa4789766.camel@student.tugraz.at>
 <669deac8-ffa5-42ba-8741-3cae0b18220e@elken.dev>
 <38ed969df583e9254802fa7a4a80299ec5caddc4.camel@student.tugraz.at>
 <a69c6126-5304-48ca-a992-a6a0254e2d84@elken.dev>
 <9efaa5895bc488ddd4fd8c456aa5c2fdf09cb4af.camel@student.tugraz.at>
 <87pn1dpkwr.fsf@elken.dev>
 <d3e6681b2ad06ddbd0458aae96773b1d8128a26e.camel@student.tugraz.at>
 <9b32a7b7-9664-4108-a66c-f3de42d10c68@elken.dev>
In-reply-to: <9b32a7b7-9664-4108-a66c-f3de42d10c68@elken.dev>
Date: Sat, 06 Feb 2021 12:30:22 +0100
Message-ID: <871rdtxwkx.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
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+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
Reply-to:  Tobias Geerinckx-Rice <me@tobias.gr>
X-ACL-Warn: ,  Tobias Geerinckx-Rice via Guix-patches <guix-patches@gnu.org>
From:  Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -4.46
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=cgYBs5An;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org
X-Migadu-Queue-Id: 2C35C9401DF
X-Spam-Score: -4.46
X-Migadu-Scanner: scn0.migadu.com
X-TUID: wJQRNogjkkIA

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Ellis,

Ellis Keny=C5=91 via Guix-patches via =E5=86=99=E9=81=93=EF=BC=9A
> I was asking if there was a simple way to handle optional=20
> inputs.

While this is an oxymoron for the reasons pointed out by Leo,=20
there is _nothing_ wrong with simply leaving some variables at=20
their default e.g.

  GPG_PROGRAM=3D"gpg"

and letting yadm look them up at run time in its $PATH.

Does that not work?

For things like templates {native-,}search-paths can be a=20
solution, depending on how yadm (or its templating library)=20
searches for these.

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYB59zg0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15UgoBAJUizEAAR+MHMzz+jVmscRlMwjAYI2/YCMvZoqQ2
PJJWAP9vosK1ucO7rmhlDJYGnj9yQJme1ANYkOBJjyiROPv1Bg==
=BQbI
-----END PGP SIGNATURE-----
--=-=-=--