From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 CMxPJx5m6l7yFwAA0tVLHw (envelope-from ) for ; Wed, 17 Jun 2020 18:51: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 UGM4Ix5m6l7gFgAA1q6Kng (envelope-from ) for ; Wed, 17 Jun 2020 18:51: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 247E39401D0 for ; Wed, 17 Jun 2020 18:51:10 +0000 (UTC) Received: from localhost ([::1]:47802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jld9Q-0001bx-Po for larch@yhetil.org; Wed, 17 Jun 2020 14:51:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jld9K-0001ba-Ah for guix-patches@gnu.org; Wed, 17 Jun 2020 14:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jld9K-0001wp-1G for guix-patches@gnu.org; Wed, 17 Jun 2020 14:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jld9J-0003eR-Vd for guix-patches@gnu.org; Wed, 17 Jun 2020 14:51:01 -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?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Jun 2020 18:51:01 +0000 Resent-Message-ID: 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?= Cc: 41882@debbugs.gnu.org Received: via spool by 41882-submit@debbugs.gnu.org id=B41882.159241983413997 (code B ref 41882); Wed, 17 Jun 2020 18:51:01 +0000 Received: (at 41882) by debbugs.gnu.org; 17 Jun 2020 18:50:34 +0000 Received: from localhost ([127.0.0.1]:52194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jld8s-0003dg-HO for submit@debbugs.gnu.org; Wed, 17 Jun 2020 14:50:34 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:59254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jld8o-0003dW-C5 for 41882@debbugs.gnu.org; Wed, 17 Jun 2020 14:50:33 -0400 Received: (qmail 32528 invoked by uid 1009); 17 Jun 2020 20:50:28 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25845. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.063153 secs); 17 Jun 2020 18:50:28 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 17 Jun 2020 20:50:28 +0200 Date: Wed, 17 Jun 2020 20:50:27 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200617185027.ze5euqyuoylpewze@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="oki56fts6zsbmrvm" 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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: oc04SLuoT4Qq --oki56fts6zsbmrvm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > It gets tiring to have to specify --allow-downgrades when pulling, so I > > added a way of specifying it in the channels file. As a bonus, it's more > > granular. > > > > If this is the right approach, I'll add some docs. Also, is there a test > > that exercises this function? >=20 > I don=E2=80=99t think =E2=80=9Callow-downgrade?=E2=80=9D should be a prop= erty of , > because conceptually it=E2=80=99s an unrelated piece of configuration. S= o I > think it=E2=80=99s configuration that belongs elsewhere, but there=E2=80= =99s no > configuration file for =E2=80=98guix pull=E2=80=99 etc. It's a property of the channel that the git repo in question is not monotonic ;) Also, AFAIU, the channels.scm *is* the configuration file for guix pull, and it is the primary, if not only use of . Regards, Jakub K=C4=85dzio=C5=82ka --oki56fts6zsbmrvm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl7qZfMACgkQ4xWnWEYT FWRZyQ/+OBPwh3tXi1xn+gKdDif855PkkStNuzjfsbQU9aAqklOCroF1jL3T928d erTK+HohG6MH3wS/Ced1KZtAGl4USgRbxA1tbimebTZ8tOHM9qR/W8mMMzyWODXh cJTfSeDc4yEyRui0L9BJS/viJgCll0bSWutMeXfj8RTLLb0tB+X/NzRaAae1Ir3N WVJ2zb2vTQByrwhQXGXXxYz2ayti6MhXg6ymtjbeVSiIkDj+XGZKuGGARGNhHJ3F XLMTusC+NDeu1TtoQr27k3cizBG/C1dgNMImtf5a4I/CYZfyO2YO6qUopNhhskFA hbke9nTX3sp2TSlijQxh5Mx6iH9vNQ6snCowgRyH4E1KHqUa6dy1HiNBWhWtIcik kO0NoyNT1sxK6BrK/mvknM4agwCUz5otO3Y0JM7zgTpKcCUIu+wCJ0x8G3VbeQvZ 6ttiV0VJ737VcjyAIOsQUEXh5W8393DU5uVt5ShbgyS1ZJhc0F1rzwk4/AbDEWcZ OaGvqZNW1SZ3E6L+2tDWG0k63OG+C8REeiwJORJJQoWyWBmdYoRrP++hi619S7Ah h5JA1aZI9AdY8g/0QGFBUQn/8JsxW1hVOJzpVuUaRIrdaSd45hlQfDFuKLBEI1nH Z3sYmiqnP1R0kMkjFYGd35MiSUatR8KUYaosftZQ7B202z7L+NY= =UZCt -----END PGP SIGNATURE----- --oki56fts6zsbmrvm--