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 wO9oNx+IXl+lNQAA0tVLHw (envelope-from ) for ; Sun, 13 Sep 2020 20:59:11 +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 IE7OMR+IXl94QQAA1q6Kng (envelope-from ) for ; Sun, 13 Sep 2020 20:59:11 +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 4BDCD94053F for ; Sun, 13 Sep 2020 20:59:11 +0000 (UTC) Received: from localhost ([::1]:47606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHZ5Z-0006dN-Oh for larch@yhetil.org; Sun, 13 Sep 2020 16:59:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHZ5S-0006d0-M4 for guix-patches@gnu.org; Sun, 13 Sep 2020 16:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHZ5S-00017j-9F for guix-patches@gnu.org; Sun, 13 Sep 2020 16:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHZ5S-0005QU-86 for guix-patches@gnu.org; Sun, 13 Sep 2020 16:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42354] [PATCH] gnu: open-adventure: Update to 1.8. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Sep 2020 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42354 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 42354@debbugs.gnu.org Received: via spool by 42354-submit@debbugs.gnu.org id=B42354.160003071020819 (code B ref 42354); Sun, 13 Sep 2020 20:59:02 +0000 Received: (at 42354) by debbugs.gnu.org; 13 Sep 2020 20:58:30 +0000 Received: from localhost ([127.0.0.1]:51887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHZ4q-0005Pd-HS for submit@debbugs.gnu.org; Sun, 13 Sep 2020 16:58:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHZ4m-0005PN-NB for 42354@debbugs.gnu.org; Sun, 13 Sep 2020 16:58:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38149) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHZ4g-000150-4K; Sun, 13 Sep 2020 16:58:14 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47916 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHZ4f-0004QP-2e; Sun, 13 Sep 2020 16:58:13 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200714144424.20954-1-mail@nicolasgoaziou.fr> <87r1t4n7so.fsf@gnu.org> <87wo15hell.fsf@gnu.org> <87mu21qtkd.fsf@nicolasgoaziou.fr> <875z8op8yo.fsf@gnu.org> <87363qn3il.fsf@nicolasgoaziou.fr> <87sgbqjcq5.fsf@gnu.org> <87tuw1g56c.fsf@nicolasgoaziou.fr> Date: Sun, 13 Sep 2020 22:58:03 +0200 In-Reply-To: <87tuw1g56c.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 13 Sep 2020 15:46:51 +0200") Message-ID: <87363lbdic.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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: -1.01 X-TUID: ikdKVwcOIuWv Hi, Nicolas Goaziou skribis: > Ludovic Court=C3=A8s writes: > >> Ah well, not exactly with this function, you=E2=80=99re right, but I thi= nk you >> can do something like: >> >> (define-public open-adventure-1.8 >> (package >> (inherit open-adventure) >> (version "1.8") >> (properties `((superseded . ,open-adventure))))) >> >> That way =E2=80=9Cguix install open-adventure@1.8=E2=80=9D will emit a d= eprecation >> warning and install the other one. > > Thank you. However, wouldn't this do the exact opposite to what we want > to achieve? > > We want to > - "guix install open-adventure" and get open-adventure 1.8, not 2.5, > - "guix upgrade open-adventure" and have open-adventure 1.8 override > 2.5. > > Do you mean this instead? > > (define-public open-adventure-2.5 > (package > (inherit open-adventure) > (version "1.8") ^ Should be 2.5. > (properties `((superseded . ,open-adventure))))) That way, =E2=80=9Cguix upgrade open-adventure=E2=80=9D will =E2=80=9Cdowng= rade=E2=80=9D to 1.8 if you currently have 2.5. Ludo=E2=80=99.