From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 23 10:15:56 2021 Received: (at submit) by debbugs.gnu.org; 23 Apr 2021 14:15:56 +0000 Received: from localhost ([127.0.0.1]:38409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZwb5-0006dV-RS for submit@debbugs.gnu.org; Fri, 23 Apr 2021 10:15:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:33064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZwb2-0006dJ-D4 for submit@debbugs.gnu.org; Fri, 23 Apr 2021 10:15:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZwb2-0006dC-84 for bug-guix@gnu.org; Fri, 23 Apr 2021 10:15:52 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:57931) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZwb0-0003QO-Gy for bug-guix@gnu.org; Fri, 23 Apr 2021 10:15:52 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 61D7627BC7C; Fri, 23 Apr 2021 15:15:48 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 99db3d25; Fri, 23 Apr 2021 14:15:48 +0000 (UTC) References: User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines To: bo0od Subject: Re: bug#47971: Improve Guix commands for update/upgrade In-reply-to: Date: Fri, 23 Apr 2021 15:15:45 +0100 Message-ID: <87pmylgk8e.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 47971@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable bo0od writes: > Hi There, > > The current commands used to make sure everything updated are not > friendly to type nor to memorize, Current commands:(i dunno if i > missed more) > > guix pull > guix upgrade > sudo guix reconfigure /etc/config.scm > > > There is no relation can be drawn from using these commands: > > - pull: Is actually the opposite of push which is a git command and it > make sense in git atmosphere/usage. guix pull usually does a git pull under the hood and then builds guix from that updated repository. I don't get what you mean when you say pull is actually the opposite of push? That's true in the sense of the words, but how does that relate to Guix? > - upgrade: This is the only good one as this is very common term used > within distros or actually most of the operating systems generally. > > - reconfigure /etc/config.scm: hmm... > > There are many ways we can improve this by using different better > terms which can be easily memorized and even linked e.g: (These are > just examples, If there are any better terms you can come with sure > why not) > > - pull -> update or refresh I think update is OK, although I think pull is OK too. refresh is already taken. > - upgrade -> can be kept or package-upgrade > - reconfigure /etc/config.scm -> dist-upgrade or distro-upgrade or > system-upgrade You can "downgrade" (switch to using an older Guix/software) by reconfiguring, so I wouldn't like to see that operation referred to as an upgrade (as it's not always). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmCC1pFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcWBw//S0V8qwntItO18BO2dyn0ucM8gF45IBU/ lkzRfAV2x/SavtgZQr9CyCmi2tI+gL2+MlkadpDekBTjlZMYMwQs5RPNpZ/xzQBS HHf5WyI5VGZcFyOyL0/gYhs2vTHLNunw8VSyIHJx3L2N7u1XbysFJG4tSN0xhBWp KkM4RQrdDIOpiPU101PwIbfeKbDDH88kECz8UnwYScmvoMOh/J0p+uUhZesNF+1h efmv49flXL+Tr3czG+gzHQIj9P0lMAdyy28/MKlm4NvH/5Y12eFAN61sSxrc2FLp YBcNy851VByahADqH2vxmnasPsmXNSNCIalmkSZJvD/cm26r1WLSckfuR4pUSF6L +svn46a/gFcAcwzd9laiAFTamaEQ913yPLUwrANMzY4WPRLBhfAWKuhCb6dGFdVg gfV3eEtV1OSaaxw4brdImAptl0ZbopVyfZ1lL1CrzrjDRLsPS1j2dgDvQ7VdVKDz 8CgoTuxDMoSKv0v5dGZCvLyqBZ3l9ApqVdZA0Fge1BYdWexIvVDXvcG4loM5hcOb p4SgFfOpAWieIc7HlNUwWKAuwMQAjp6ntqydAJA25sMc/hdk/qQ8x5ebqU+6sym4 V2Yl0Gj9uzG9JnPqatbX//2ob2iDvlfxYQK6eEWq5hnFL1J1zKInu5xEUxZR8ECe I4wk/MeGCC4= =f2Sy -----END PGP SIGNATURE----- --=-=-=--