unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / 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
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: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14 14:44 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

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

  List information: https://guix.gnu.org/

* 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

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git