From: Marius Bakke <mbakke@fastmail.com>
To: zimoun <zimon.toutoune@gmail.com>, Guix Devel <guix-devel@gnu.org>
Subject: Re: guix pull --commit and custom channel ?
Date: Tue, 14 May 2019 18:55:25 +0200 [thread overview]
Message-ID: <87y3399ds2.fsf@fastmail.com> (raw)
In-Reply-To: <CAJ3okZ34bBOa0CLUu9dPyAhd-Xo5yCuvM+cfvWPrN6nkLmzdNg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
zimoun <zimon.toutoune@gmail.com> writes:
> Dear,
>
> When speaking about "Scientific Reproducibilty", one would roll-back
> to a previous state of Guix. And it is possible with `guix pull
> --commit=<hash>'.
>
> (noting it is only possible for not too old states, say v0.15 or post-inferior?)
>
>
> However, it is not possible to roll-back the state of a custom
> channel. Or I have missed something.
>
> The UI should be: guix pull --commit=channel1:hash1 --commit=channel2:hash2
> or guix pull --commit=channel1:hash1,channel2:hash2
I don't think `guix pull` exposes these options through the CLI yet, but
you can specify exact commit(s) in channels.scm.
> Moreover, is it possible to roll-back with a manifest containing
> several custom channels ?
>
> I imagine something such that:
> guix describe > commits.txt
> then months (or years?) later:
> guix pull --manifest=commits.txt
This is already possible:
$ guix describe -f channels > my-channels.scm
$ guix pull -C my-channels.scm
HTH!
Marius
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2019-05-14 17:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-14 16:44 guix pull --commit and custom channel ? zimoun
2019-05-14 16:55 ` Marius Bakke [this message]
2019-05-14 17:05 ` 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=87y3399ds2.fsf@fastmail.com \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
--cc=zimon.toutoune@gmail.com \
/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).