From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: GC hints Date: Wed, 19 Dec 2018 08:25:48 -0800 Message-ID: <871s6da3g3.fsf@gmail.com> References: <878t10xpam.fsf@ambrevar.xyz> <87wooj1fmx.fsf@gmail.com> <87efaqna9u.fsf@ambrevar.xyz> <87d0qana9e.fsf@ambrevar.xyz> <87k1kivmzt.fsf@ambrevar.xyz> <87h8f9y6cq.fsf_-_@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZefa-0005YC-WB for help-guix@gnu.org; Wed, 19 Dec 2018 11:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZefR-0006zL-Ag for help-guix@gnu.org; Wed, 19 Dec 2018 11:26:00 -0500 In-Reply-To: <87h8f9y6cq.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Wed, 19 Dec 2018 14:49:09 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > I agree that this would be more accurate, but isn=E2=80=99t there also a = risk > with making hints too long? I=E2=80=99m split between the idea of provid= ing > concise hints that can be pasted and get things done, and the idea or > not trying to be a substitute for the manual. I agree the manual should be authoritative, but I also think that if Guix can provide contextual information, it's great when it does so. The "did you forget to add (use-module..." hints you added a while back are a great example of this. The shorter the better, of course. I think we're still waiting for Pierre to send his latest patch. If the text really is too long, perhaps we can provide concrete examples, a sentence explaining what they do, and a link to the manual, where we put the slightly more verbose explanation. I think the text so far is OK, but I also have not seen the final version yet. Pierre, what do you think? > Actually, I was also wondering whether we should provide a >configurable > mechanism that would, by default, automatically delete old GC roots and > maybe even run the GC automatically when needed=E2=80=94similar to what G= it > does. I think it's a great idea to allow a user or system administrator to configure a policy for automatic GC root clean-up. I'm not sure about ad-hoc roots, but for profiles, it would be great to be able to say something like "Keep the last 2 generations, and delete any others that are older than 2 weeks". Perhaps we could enforce the policy any time that a user runs code that modifies the profiles, such as "guix package" commands. Of course, that's a little more than what is being proposed in this email thread, so it would probably be best to work on that separately. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlwacQwACgkQ3UCaFdgi Rp0xgQ//RxLi3Hg3HEzHHvqHNhYec9LO1BgMXr7RRRKxpkpPpWgw/81GZ7JEuFBB 1rFqqDguOqS0/1HzqxDBN6kdxb6M1ogkM6eLnRLsRd6EYTX7ENeOzVuXe8SmjiwS /sZRg3alC2ryjjmvRYyJ3oaYzAoqUH70z+4Jx4a0AEBMB+0a36A6yAxWyeYZQefb tb3aIsd/PaAKDrr5ire8sPAHRb2AVyn3yRWvY+g0DCuNstv8HSBAwpRlrv7Kf4/O ahmpVwA8hsGWvpftnI0buezwrZ4ogKxF2tldwOyMqIlbdNN6VFaTv9Ztye8JBFD/ RBJ7QDhNHeeN+hdPv4z9dyyTA5/ZoIUfO6tuOETjaD5WwY6tk1revX8LInFgRJOo QmqFbvASKPS9o2iy01s85Ual7hygCZZfGpPdM6EntQ5uE52iY5UA+cRBm9F6iCts 2t8l/7olTc4lgWX4rRnMkOBUDoHn4DhAaSqDoivnR/OI98/vIspElrvb82SSSDy3 yLDonOt10UvgaQYfcQDfnp2PPUpo4X6IfdVzpS7wJ6LKr5gwzWpWToQjFetOq62N G08quwvO2ZcO7abBxL7Mq5Tion2vXiQAfuEv7QVUZYeYHJnuCKS5Q5yMv9bTGAtq yuzYYmtMlhuqb8TwhRjFcoB+nLqa+pywKc5MN4EaIxzdP8MXjpI= =iKhD -----END PGP SIGNATURE----- --=-=-=--