From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: Goals for 0.4 Date: Fri, 30 Aug 2013 21:55:08 +0400 Message-ID: <87bo4fcbcz.fsf@karetnikov.org> References: <87vc2o4qwc.fsf@gnu.org> <87y57kljro.fsf@karetnikov.org> <87hae81uvo.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 ([2001:4830:134:3::10]:41820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFSqJ-0001vr-Tn for guix-devel@gnu.org; Fri, 30 Aug 2013 13:50:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFSqE-0000LU-Lu for guix-devel@gnu.org; Fri, 30 Aug 2013 13:50:43 -0400 List-Id: 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>> =E2=80=A2 New =E2=80=98--list-generations=E2=80=99 and =E2=80=98--delet= e-generations=E2=80=99 options for >>> =E2=80=98guix package=E2=80=99. I=E2=80=99ve been thinking about these options, and I=E2=80=99m not sure ho= w they should work. Will it be enough to output a generation number and a list of packages when =E2=80=98--list-generations=E2=80=99 is used? For example: Generation 1: guile 2.0.9 out,debug gnu/packages/base.scm:1022:33 guile-bootstrap 2.0 out gnu/packages/bootstrap.scm:191:3 Generation 2: hello 2.8 out gnu/packages/base.scm:50:2 I think we could add =E2=80=98--from=E2=80=99 and =E2=80=98--to=E2=80=99 th= at have to be used with the mentioned options: $ guix package --delete-generations 1 3 8 Deleting generations 1, 3, 8... $ guix package --delete-generations --from=3D4 --to=3D8 Deleting generations from 4 to 8... $ guix package --delete-generations --from=3D4 (Let=E2=80=99s assume that there are 9 generations.) Deleting generations from 4 to 9... $ guix package --delete-generations --to=3D3 (I don=E2=80=99t like how the above sounds. However, I couldn=E2=80=99t fi= nd a better naming scheme.) Deleting generations from 1 to 3... Also, I=E2=80=99d like to remove the dash from =E2=80=98--roll-back=E2=80= =99 since =E2=80=98--fallback=E2=80=99 is written without one. What do you think? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJSINx+AAoJEM+IQzI9IQ38v2YQAJkk/nmhAR/a7cGJC9Civaq/ TpYpGGE1BaeNVQknclRW0e4GMQQOz23M7BeS3ZEsOIfHAUtyvP3Nlbwzf8XY8Qub FMH5M27fWpb2TC9HjmvJNz6GgKD9nwUH8jiUpiNKwWG+t/1KZ35JYAWjrJWM/S+E DEUmrpdbyearuA8MlKeQyB6DtlQo/FwxTcTDX+MVKfBH7lHZHvEYC5sNKvEDQji9 +XHSsDKAIjoVw7znyq7WKU7Nt1V6q0X/s+k7aNgcjNQckmObFI6i9ah53Yeukeje UfTo7NX2yrdRZsUCcw7Iy2iJ0VimNggGt5JbOlV3U6twv2Rl9C0/DJz/WxsfNNnk R9XHfDOKkvo7Igx+NIavws/IjUhj0aIz7MOLR/SfAhPOrSXZawLvZG+jq9KdwuCv mqdpdiQrw1bHGhuZmWGfL6yPmoiectxFWqcMirnPftRnBOE90Zjk+CVpoW9wLzmT i0Q4N4+6xIr46BZjHclUydIm1ws0yKenVaMdXYqf1+Ahl7x0ZbRnSMaRJK+fGTtY drX8QO+QZj2UjkzpJEgSZpOhLILK3JkpYKQEORCdNo2iKMGRaZ9dIiQJ6fBBw6cx /x+C/09xjBbE3j1Dnofr+QgOm3IAXzh4FvuyHzwms6bkFvS6Z/3qk8K1VEkxzFsM TwvLu3WQLPkGwkrJM3sr =QP5O -----END PGP SIGNATURE----- --=-=-=--