From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: guix-package --roll-back Date: Thu, 03 Jan 2013 00:42:57 -0500 Message-ID: <87hamy4yaj.fsf@karetnikov.org> References: <871uejyq9z.fsf@karetnikov.org> <874nj4sbfe.fsf@karetnikov.org> <87y5gf8sm1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqdZy-0004IE-0K for bug-guix@gnu.org; Thu, 03 Jan 2013 00:43:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqdZv-0003Tk-2u for bug-guix@gnu.org; Thu, 03 Jan 2013 00:42:57 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >> +(define (roll-back) >> + "Roll back to the previous profile." > Please add a =E2=80=98profile=E2=80=99 parameter, as for the other functi= ons. > > It should be possible to run: >=20 > $ guix-package -p foo --roll-back Should I add any profile-related sanity checks to 'roll-back'? AFAICT, there are only manifest-specific ones (e.g., 'profile-manifest', 'manifest-packages'). Should 'roll-back' only work for 'guix-profile-*-link' and 'default-*-link'? If not, then we have a problem because 'profile-rx' can't handle something like '42-custom-profile'. Is it possible to create such a profile? Nikita --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJQ5RppAAoJEM+IQzI9IQ38esEP/iCs/Anr+dpKC23RTCcqi9Bz fUtsZ1891Z7jhODGp/Fi3Sghz9vAtMry7w6HVfG9yJ/PxFZnp3zOV25p5bjxAbym DgwHx/xAd6Lc2vKEA/sRnHU8wbcXJFG+F7k3zQFpi+uy66DPJedNV2Gvv0sYWNjh As049OXjLCkZUnVdE6ATE4tnHI++f1HiQoDzo4hEfF/BuOH3n1lCZml4IKK2qpim YHkB450OhrPYEDYraN7PZIycYmvOcapY8KivXsNb3ygYdrXZMyHstnBWXxGglos4 P5xa9RmVOl+KZ6RQxn3YiP1Upk2auPdaiPr85cemfLJAwi+XhqMH7IYqGx2zAzAJ vxBNLcE9xy70ohHK6bqaTa/nesh/uQ8Osj5ZoFzzG02ghzrEwzgyY2GLcX420r4+ GKScPL5tTLSt0+Y3xPXf892y/+4jD8Y4vVdSoECBz3hxIpDGMfDcshGOVcAZ7bba T3zJe340UAaUgWq+A59pAcKKzEkuQCrcj3SRm0CCsm03GKZ4GRI3DdUHt7KH7EGP dfYmGKK2EPRtXX3q786sJD1IoqMSbc+v/RWOysiMfhXbbcb7FxRxhXFwaAH3n0F7 wTxdgifhWv/gAOZelNtEXXI08O7J2LySrP+Kkr/P9MS91DtROWVl0IWoBBKSL0GK 9Qsc3+h+bHM1SF8wlRLq =gJW9 -----END PGP SIGNATURE----- --=-=-=--