From: zimoun <zimon.toutoune@gmail.com>
To: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>,
49801@debbugs.gnu.org
Subject: bug#49801: Guix time machine provenance/manifest reproducibility issue?
Date: Tue, 17 Aug 2021 14:11:32 +0200 [thread overview]
Message-ID: <86k0kkclu3.fsf@gmail.com> (raw)
In-Reply-To: <20210801022142.2117e06e@primarylaptop.localdomain>
Hi,
Thanks for the report.
On Sun, 01 Aug 2021 at 02:21, Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> wrote:
> Diffing the two provenance files gives that:
>> +++
>> bfxvk59q0m034iyq5zkk841zkisayyjl-tarball-pack/gnu/store/216jiimdyw7zyx8s9b3fz67aw69ydkvw-profile/manifest
>> 1970-01-01 01:00:01.000000000 +0100 @@ -15,9 +15,10 @@ (repository
>> (version 0)
>> (url "https://git.savannah.gnu.org/git/guix.git")
>> - (branch "master")
>> + (branch #f)
>> (commit
>> "f9bd4621dd92a9415276706b476b9bd2973411fa")
>> + (name guix)
>> (introduction
>> (channel-introduction
>> (version 0)
Well, I think it comes from ’channel-list’ in the ’time-machine’.
Specifically, it reads in guix/scripts/pull.scm:
--8<---------------cut here---------------start------------->8---
(channel (inherit guix)
(url url) (commit commit) (branch #f)))
--8<---------------cut here---------------end--------------->8---
other said, the name of the branch is “lost”. Hum, I do not know if
this is done on purpose or not. Maybe this change
--8<---------------cut here---------------start------------->8---
(cons (match ref
(('commit . commit)
(channel (inherit guix)
(url url) (commit commit))
(('branch . branch)
(channel (inherit guix)
(url url) (commit #f) (branch branch)))
(#f
(channel (inherit guix) (url url))))
(remove guix-channel? channels))
--8<---------------cut here---------------end--------------->8---
is enough. But, I do not know what would happens for:
guix pull --commit=<hash>
where <hash> is not a commit from the branch master.
All the best,
simon
next prev parent reply other threads:[~2021-08-17 17:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-01 0:21 bug#49801: Guix time machine provenance/manifest reproducibility issue? Denis 'GNUtoo' Carikli
2021-08-17 12:11 ` zimoun [this message]
2021-09-01 22:27 ` Denis 'GNUtoo' Carikli
2021-09-02 8:10 ` zimoun
2021-09-02 14:12 ` Denis 'GNUtoo' Carikli
2021-09-02 19:30 ` zimoun
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=86k0kkclu3.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=49801@debbugs.gnu.org \
--cc=GNUtoo@cyberdimension.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).