From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: guix pull --commit and custom channel ? Date: Tue, 14 May 2019 18:55:25 +0200 Message-ID: <87y3399ds2.fsf@fastmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQauE-0001D5-8k for guix-devel@gnu.org; Tue, 14 May 2019 13:08:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQaiG-0007T7-JG for guix-devel@gnu.org; Tue, 14 May 2019 12:55:38 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:56631) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQaiD-00074i-KK for guix-devel@gnu.org; Tue, 14 May 2019 12:55:35 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: zimoun , Guix Devel --=-=-= Content-Type: text/plain zimoun 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='. > > (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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlza8v0ACgkQoqBt8qM6 VPoRegf/Y3BCMLKTwzwPIl6onkFKSl1+GWmZAOnwY2t/Yfbcl+9tEyjQZSsftjeR +uThNNuAPJnPOon8OZPgh6Go8IlskYfHv3SbD43PewEe6lVWFT3CQDcfxpG883LM GF0gh6xPjWV3uUtrq52PT3Yx+izm6d8MQsjqUJ3MIkZfWRUm+1EOTw5/CJTZqovG PdPfR2mIs7Rmi/DMJKfMNmjRPM9660ZvUTGo12y4NPKIysEa+S2IKWBWsYML7OsS PkxvRZe3yVQwWPCjwpv7mtupNpYWfZpCO8NXc7VJhdVrBTXgD7h8XbpDHejLHSyp Ykosa++pa6FKRPGg75VeilWuU5sTaA== =r18H -----END PGP SIGNATURE----- --=-=-=--