From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: [PATCH] guix package: Show which generation is the current one. Date: Tue, 24 Sep 2013 17:55:02 +0400 Message-ID: <87wqm6tjd5.fsf@karetnikov.org> References: <87vc2o4qwc.fsf@gnu.org> <87y57kljro.fsf@karetnikov.org> <87hae81uvo.fsf@gnu.org> <87li2oslzh.fsf_-_@karetnikov.org> <87hadcr4sh.fsf_-_@karetnikov.org> <8738ow5zif.fsf@gnu.org> <87vc1r6nu0.fsf@karetnikov.org> <87ob7izrsp.fsf_-_@karetnikov.org> <8761tqbd6h.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]:57164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOT0R-0003Jd-Pl for guix-devel@gnu.org; Tue, 24 Sep 2013 09:50:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOT0N-00012q-40 for guix-devel@gnu.org; Tue, 24 Sep 2013 09:50:23 -0400 In-Reply-To: <8761tqbd6h.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 24 Sep 2013 14:45:58 +0200") 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-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 > Could we instead of a global (current-generation-number profile) > procedure? We=E2=80=99d store the number in a local variable here, to av= oid > repeated =E2=80=98readlink=E2=80=99 calls. I don=E2=80=99t see how the former implies the latter. Could you expand on this? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJSQZm5AAoJEM+IQzI9IQ38baoP/2flTivS3NhVqvybbWmGYNhS p7d8HVnqkfWJ+eVEdhsxv+0+XoRlVxc68PebCxClHNndPF/101yGuO4MPiAUU1F+ AyY4iZnIRHfhtIPSL2VcQiJaN12L7g2nN8xwOHLiUUHLTuFIWh0rlvd+OWRfH5Qe r/fZcZqV5MNNWHwsoMwQtJlZdtuxHsMeR5iKqhrecS4W8l0xqPwX/qWs/zzgNR8o NbVYBCT79LI2vLuWiHyNleDrEyg6C/4dKj49TiXByD0rGeH1C+CnFE+OWTglI6FA 1zpqcjw3QDPKOykfM7KfVZXiEuRYZSE7lRNlHJJiNDDUl8ZMJhgxUkZX5Q3aeEhb Re+9YEdUSAxKkaqQ3kF23OrmuSrC7b6BoAi7hhLfnV9Ly9jPxAFjXq1bdir5S7GF NgfldAvF0t8irqb0E61tkQIrFnBFN2DMlhmGQG4eFhesOs/Ld4X6mpTppGxYjnnv ZbDqdFKbyR4CQxsM8BVOFQme4STX2wojDhzBNBdpIPFBk1FT9z9aSefCb+8ufHBz GS6DI4b5ssPmubaqcT9fC2qYqYigoYi77rSsesCxFOpJViVA2rF4Cgwnkf0rAYKK Q9VyI3h3H+LYIUY2pyf57jwLLs3z8y8jIS3jcNz2LEB3EV3x4hR3x+p7AjtFjiVM 6CB0oSgrfxhpZENpFfts =VdkB -----END PGP SIGNATURE----- --=-=-=--