all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 42354@debbugs.gnu.org
Subject: [bug#42354] [PATCH] gnu: open-adventure: Update to 1.8.
Date: Sun, 13 Sep 2020 22:58:03 +0200	[thread overview]
Message-ID: <87363lbdic.fsf@gnu.org> (raw)
In-Reply-To: <87tuw1g56c.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 13 Sep 2020 15:46:51 +0200")

Hi,

Nicolas Goaziou <mail@nicolasgoaziou.fr> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Ah well, not exactly with this function, you’re right, but I think you
>> can do something like:
>>
>>   (define-public open-adventure-1.8
>>     (package
>>       (inherit open-adventure)
>>       (version "1.8")
>>       (properties `((superseded . ,open-adventure)))))
>>
>> That way “guix install open-adventure@1.8” will emit a deprecation
>> 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, “guix upgrade open-adventure” will “downgrade” to 1.8 if
you currently have 2.5.

Ludo’.




  reply	other threads:[~2020-09-13 20:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14 14:44 [bug#42354] [PATCH] gnu: open-adventure: Update to 1.8 Nicolas Goaziou
2020-07-21 16:37 ` Ludovic Courtès
2020-09-07 13:59   ` Ludovic Courtès
2020-09-07 19:24     ` Nicolas Goaziou
2020-09-08 15:46       ` Ludovic Courtès
2020-09-09 19:39         ` Nicolas Goaziou
2020-09-10  7:46           ` Ludovic Courtès
2020-09-13 13:46             ` Nicolas Goaziou
2020-09-13 20:58               ` Ludovic Courtès [this message]
2020-09-25 12:39 ` [bug#42354] [PATCH] gnu: open-adventure: Update to 1.9 Nicolas Goaziou
2020-11-26 17:38   ` bug#42354: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87363lbdic.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=42354@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.