From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: Reorganizing guix package commands Date: Thu, 21 Apr 2016 07:20:46 +0200 Message-ID: <20160421052045.GA7754@jocasta.intra> References: <874mazi99k.fsf@gmail.com> <877ffual6i.fsf@gnu.org> <877ffujasf.fsf@gmail.com> <8737qh1tqm.fsf@gnu.org> <87a8ko7keg.fsf@gmail.com> <87shyg4npv.fsf@T420.taylan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1at72w-0005dR-BY for guix-devel@gnu.org; Thu, 21 Apr 2016 01:20:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1at72s-00058l-Au for guix-devel@gnu.org; Thu, 21 Apr 2016 01:20:58 -0400 Received: from de.cellform.com ([88.217.224.109]:48617 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1at72s-00058Z-28 for guix-devel@gnu.org; Thu, 21 Apr 2016 01:20:54 -0400 Content-Disposition: inline In-Reply-To: <87shyg4npv.fsf@T420.taylan> 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" To: Taylan Ulrich Bay??rl??/Kammer Cc: guix-devel@gnu.org, Alex Kost --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 20, 2016 at 11:46:20AM +0200, Taylan Ulrich Bay??rl??/Kammer wr= ote: =20 As an example of the pedagogic benefit of categorizing the commands: many users coming from other package managers are confused as to what exactly "installing" a package is in Guix. It actually consists of two steps, 1. to ensure the package is in the store (by building or downloading), and 2. adding it to the user's profile. But the term "install" doesn't reflect this, and makes users think in terms of traditional package managers where installing a package means putting its files into /usr. Introducing newcomers to a command like 'guix profile add' as the primary means of adding a package to their environment, and briefly explaining the "transparently makes sure the package is in the store" part, would have them immediately learn one of the basic working principles of Guix. =20 I think the last part of your suggestion is what is really important -=20 * explaining to the user what is going on * =20 This is something where I think we can do better. However if "guix profile add" adds a package to a user's profile, what does "guix profile rm" do? Does it remove a package from the profile, or does it remove the profile? J' --=20 Avoid eavesdropping. Send strong encryted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlcYYy0ACgkQimdxnC3oJ7P1fgCfd2Uu5AeffLpEt1B0BvA1NJle zfEAn14+JK2j4e8hW4zTS+PM9pW+jqYF =EBqk -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q--