From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Questions about "guix pull" Date: Wed, 17 Feb 2016 12:05:03 +0200 Message-ID: <20160217120503.1831f727@debian-netbook> References: <8760xnra9y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/FVLuQD5hg3AsSsyZHw7v_QA"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVyyz-0002uB-Gh for help-guix@gnu.org; Wed, 17 Feb 2016 05:05:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVyyu-0003o0-Bh for help-guix@gnu.org; Wed, 17 Feb 2016 05:05:17 -0500 Received: from flashner.co.il ([178.62.234.194]:43365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVyyu-0003nt-5d for help-guix@gnu.org; Wed, 17 Feb 2016 05:05:12 -0500 In-Reply-To: <8760xnra9y.fsf@gmail.com> 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-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Chris Marusich Cc: help-guix@gnu.org --Sig_/FVLuQD5hg3AsSsyZHw7v_QA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 17 Feb 2016 00:50:01 -0800 Chris Marusich wrote: > Hi, >=20 > I have read the Info node "(guix) Invoking guix pull", but it doesn't > seem to answer the following questions: >=20 > - Who is allowed to run "guix pull"? Only root? Any user? Anybody can. Also, each user (and root) have their own snapshot of the guix packages, so knowing that someone else just ran `guix pull` won't allow you to upgrade your packages. One way it will help you, is if there's been no change to git between the last pull on the system (by anybody) and the next pull, the next one will reuse the definitions already saved on the machine and not recompile them. > - After a successful "guix pull", are the new guix tools and package > definitions visible to everyone, regardless of who ran the command? =20 Available to whomever ran the command. > - Are there any best practices, or pitfalls to avoid, when using "guix > pull"? In "guix on a foreign distro (aka not GuixSD)" /usr/bin/local/guix is a symlink to root's copy of guix. When I notice that the guix binary has been updated, I also run `sudo guix pull && sudo guix package -u`. As above, `gu= ix pull && sudo guix pull` will likely get the speed benefit for the sudo guix pull. =20 > - I understand that some people don't use "guix pull" and instead just > run guix from a local git checkout. Should the manual also explain why > you might want to do that and how it can be done? The manual does have a section about using guix before installing. 8.1 and 8.2 has some information about that. > I'm happy to submit a patch to improve this Info node, but I need to > understand "guix pull" first. >=20 > Thank you, > Chris >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/FVLuQD5hg3AsSsyZHw7v_QA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWxEXQAAoJEPTB05F+rO6TXKAQAIzOrxz2dx7SGKpuG9lZJopi WNKddxvfaLefvEKqkruAV+DQmzxbFdv/FTrQ7GZsGDnkgV/4PxO8xGZxnync4wIR AB6jTyWC91lQ1Gz9G6ADll9atsEdOPW3W0jegkfyiznbPx4l5DoVu7GGATkfodA0 iKycN91zNjLSm7ZrjJ74xcmnI2zpnzIokxUm0P5y/fle7R9fo868GhcPV7GsyVFe /PNZj/83tOd8mPVbvVxDN6OFvS92oqiHTGtldfVDBpdYk21tBszmtKomJ0cClv5+ 9WVHxZQTg2XIqY01XRMGSNBOXoptLavlrggHlM12SpFZ2FG2LjSp+dAbEGA2bXu/ o9qm56jESwMbIIKtafk4S2zwzWGLMEoR3HjNM79jjzWlPoZKiKahAW9ZxckV+Bld xBXqIkqMchBzMgxpb+80WHK3aWCXgFNxrA1RTwo0FZBxCW6FhvD2jEIezn59u8EA wXBaU8liBkImUZzZWSSMbM1ptINBLpRW+VkHz6pYH5VJvqlHJ3vKOiVlE8LjdX5o mddYe+1Jcsgy/NurHPHkuyD5/fc5OfyYhmcYRsB7/+B78P2wwa1wfqQH8HqGho23 JIJTsnCS3rFCf/dW1+jwiv7TsUkIzx+yvrJ9+zXrFch3XU8nrgcUle5dgzI3jzVR PJcadGx0P6Y29SVIxBR/ =Yqm0 -----END PGP SIGNATURE----- --Sig_/FVLuQD5hg3AsSsyZHw7v_QA--