unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: 63122@debbugs.gnu.org
Subject: bug#63122: guix refresh wrote the wrong version number
Date: Thu, 27 Apr 2023 11:36:56 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.21.2304271110310.331@marsh.hcoop.net> (raw)

Hi Guix,

While working on the wlroots and sway update [0], I noticed the following 
odd behavior with `guix refresh`:

The problem occurred when using `guix refresh` to update sway. A plain 
`guix refresh sway` reported correctly that sway could be updated to 
1.8.1. However, when I ran `guix refresh -u sway`, the version written to 
the package definition way 1.8.1.1. However the hash was correct for 
1.8.1. Of course building the source for version 1.8.1.1 failed because 
the corresponding tag couldn't be found (and it wasn't yet in a 
content-addressed mirror). After correcting the version everything worked 
as expected.

I did this all with a pre-inst-env guix at commit 
8093c6ba21c51efe901ba98ce698c545bf13dcd0.

Best,
Jack

[0] https://issues.guix.gnu.org/63085




             reply	other threads:[~2023-04-27 17:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-27 15:36 Jack Hill [this message]
2023-04-27 20:09 ` bug#63122: guix refresh wrote the wrong version number J. Sims via Bug reports for GNU Guix

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=alpine.DEB.2.21.2304271110310.331@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=63122@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).