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 oNWtMWb+616DcQAA0tVLHw
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 18 Jun 2020 23:53:10 +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 mEOmLWb+614qKQAA1q6Kng
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 18 Jun 2020 23:53:10 +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 640A3940276
	for <larch@yhetil.org>; Thu, 18 Jun 2020 23:53:10 +0000 (UTC)
Received: from localhost ([::1]:34498 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 1jm4LF-0005xy-Cp
	for larch@yhetil.org; Thu, 18 Jun 2020 19:53:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45210)
 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 1jm4L8-0005w7-Sp
 for guix-patches@gnu.org; Thu, 18 Jun 2020 19:53:02 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:43130)
 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 1jm4L8-0004wn-JT
 for guix-patches@gnu.org; Thu, 18 Jun 2020 19:53:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jm4L8-00076c-Gh
 for guix-patches@gnu.org; Thu, 18 Jun 2020 19:53:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#41882] [PATCH] channels: Allow specifying per-channel
 --allow-downgrades in the channel file
Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= <kuba@kadziolka.net>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Thu, 18 Jun 2020 23:53:02 +0000
Resent-Message-ID: <handler.41882.B41882.159252434227264@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 41882
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Cc: 41882@debbugs.gnu.org
Received: via spool by 41882-submit@debbugs.gnu.org id=B41882.159252434227264
 (code B ref 41882); Thu, 18 Jun 2020 23:53:02 +0000
Received: (at 41882) by debbugs.gnu.org; 18 Jun 2020 23:52:22 +0000
Received: from localhost ([127.0.0.1]:54676 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1jm4KT-00075f-JG
 for submit@debbugs.gnu.org; Thu, 18 Jun 2020 19:52:21 -0400
Received: from pat.zlotemysli.pl ([37.59.186.212]:59968)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kuba@kadziolka.net>) id 1jm4KP-00075V-H3
 for 41882@debbugs.gnu.org; Thu, 18 Jun 2020 19:52:20 -0400
Received: (qmail 28124 invoked by uid 1009); 19 Jun 2020 01:52:15 +0200
Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by
 pat.zlotemysli.pl (envelope-from <kuba@kadziolka.net>,
 uid 1002) with qmail-scanner-2.08st 
 (clamdscan: 0.98.6/25846. spamassassin: 3.4.0. perlscan: 2.08st.  
 Clear:RC:1(188.123.215.55):. 
 Processed in 0.034407 secs); 18 Jun 2020 23:52:15 -0000
Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55)
 by pat.zlotemysli.pl with SMTP; 19 Jun 2020 01:52:15 +0200
Date: Fri, 19 Jun 2020 01:52:13 +0200
From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= <kuba@kadziolka.net>
Message-ID: <20200618235213.utb3sk6la7mmhqsx@gravity>
References: <20200615210343.18964-1-kuba@kadziolka.net>
 <87lfkmrqi7.fsf@gnu.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="h4bv7tqtufvubgcu"
Content-Disposition: inline
In-Reply-To: <87lfkmrqi7.fsf@gnu.org>
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-Spam-Score: -1.0 (-)
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>
X-Scanner: scn0
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	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-Spam-Score: -2.61
X-TUID: McJZ1A3zAVdY


--h4bv7tqtufvubgcu
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 17, 2020 at 11:27:44AM +0200, Ludovic Court=C3=A8s wrote:
> It may be that setting GUIX_BUILD_OPTIONS=3D--allow-downgrades actually
> works, though it=E2=80=99s a bit of a hack.

I have found the time to test this. Unfortunately, while it does make
`guix pull' work, it breaks other commands, such as `guix build'.

I'm not sure what a good solution would be, then. I could make a bash
alias, but that forfeits the per-channel granularity. Of course, this
could be solved by augmenting --allow-downgrades to optionally take as a
parameter a list of channel names, but it's not something people would
use interactively and feels like a workaround for the fact there's no
relevant configuration file this could be in.

Thoughts?

Regards,
Jakub K=C4=85dzio=C5=82ka

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

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

iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl7r/i0ACgkQ4xWnWEYT
FWT8oRAApXyjfrDbx3zqNYSfeGSSMa8MGDfkU2n9HlRVwkNuWKYLn6jJjRU37qeK
rHo0ovEbQGrElgD45+4GQbZuz35/o8W1p00go2vNMXszl9Ll6UUj6HHKvy0HSyms
4eTps1+3MKIX9mxbD9hXyStHCZaJHnyRGh3b5VwLBuNgiGUrEAB6aU5/YO+3CTks
6mr3rKeXMUPNNhaTIAIWqpDsR1M+F8dHTNp8UVSAcIpz2GfIA83W70+Qs8oCkOxO
9GxJKUoaDZ839qsIu0td6H15hBLkuKIlFwPWkZnyeyf/fGluXcV1J92wRn4TEucl
eQinHa8Dt0doEZ1oAVLK2ZtA5aX7N7uhGzRPKe/ML6TAujZniAFHnTd58PKA4uHU
D0DrgicXFqm9xzH1p98tuKSuabbH1ccKvhEbx8jVwliTL7ZahLdHviiaFo54G8FV
n079xOBplbP24leEaREMRDqft3fVHcUdIC6PsrppJ6840X5Lz0eUtwjOmgmMClWD
mWtkFLu1qKMNdkNODlhj6bcwu58Du95UDNEugYOU1T+SHK1G1XTYWCbwrE0NmrIA
92/207NDap1Kp2dUhaVxdkAJPftdzbKnhDOSwKbTkVHM52Uw5collnnp5u1xQojT
2lTjai6bdh+r62MhlFFhVTziTTSG4PjVc+IKozTPWrm1SQmepwc=
=a92t
-----END PGP SIGNATURE-----

--h4bv7tqtufvubgcu--