From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SMMgKfrdgmAsQAEAgWs5BA (envelope-from ) for ; Fri, 23 Apr 2021 16:47:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YPWyJPrdgmB7CwAAB5/wlQ (envelope-from ) for ; Fri, 23 Apr 2021 14:47:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1047ED69D for ; Fri, 23 Apr 2021 16:47:21 +0200 (CEST) Received: from localhost ([::1]:49472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZx5U-0007Lq-7x for larch@yhetil.org; Fri, 23 Apr 2021 10:47:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZx5C-0007I5-QL for bug-guix@gnu.org; Fri, 23 Apr 2021 10:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZx5C-0005Tm-Iy for bug-guix@gnu.org; Fri, 23 Apr 2021 10:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZx5C-0007SW-HE for bug-guix@gnu.org; Fri, 23 Apr 2021 10:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47971: Improve Guix commands for update/upgrade Resent-From: bo0od Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 23 Apr 2021 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47971 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines X-Debbugs-Original-Cc: 47971@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161918920428648 (code B ref -1); Fri, 23 Apr 2021 14:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Apr 2021 14:46:44 +0000 Received: from localhost ([127.0.0.1]:38477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZx4u-0007S0-74 for submit@debbugs.gnu.org; Fri, 23 Apr 2021 10:46:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:50292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZx4q-0007Rj-Sh for submit@debbugs.gnu.org; Fri, 23 Apr 2021 10:46:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZx4p-00070Y-Qb for bug-guix@gnu.org; Fri, 23 Apr 2021 10:46:40 -0400 Received: from mx1.riseup.net ([198.252.153.129]:34564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZx4l-0005DN-Rc for bug-guix@gnu.org; Fri, 23 Apr 2021 10:46:39 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FRcYj5ww6zDqN6; Fri, 23 Apr 2021 07:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1619189193; bh=X/qSA1LJ9qrG0LL8lPUX02+A1AtWwts7914NdbRQTm0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=TvdlcNRk4D+qrTusPRVKSr44V3A16Tpx0V+7TxhCkW6/vW0gX1KEs5S0v3VEKTcdf z5CYlZGQAlK8xUmhBl+9esBCAk0ScYPHam1aOzmV2WDjzQoqQhLQkUB5fVELcamvAt 3HKucQcXXD5es/8gZ1PyQRNv1OudABuUU2bR/Ruo= X-Riseup-User-ID: 281BDBC6CD78422206E04066D2385CC6E9C0551ACB38E922E141604A3BCD895B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FRcYg70wrz5vj3; Fri, 23 Apr 2021 07:46:31 -0700 (PDT) References: <87pmylgk8e.fsf@cbaines.net> From: bo0od Message-ID: <11bff206-c709-e633-67ac-390bb65ffd03@riseup.net> Date: Fri, 23 Apr 2021 14:46:28 +0000 MIME-Version: 1.0 In-Reply-To: <87pmylgk8e.fsf@cbaines.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=bo0od@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47971@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619189241; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xycQRqQiSY6k2fGTn7HVS1IV1eOD3ErgofWXzthe0aY=; b=Vb01EhQ/w8GG6WpT4ryaYqCRAz/fnUDJy1I7AFvV8vyCSvOKhO8YGROIphDjvizQntCYhf ZUrRtnbAO4hJA/5C1d0FeIaFs9HhTbyr/WMhA8NBJyDqr5UNaAhk3ENBUE5EanJSeNZc8v DERRkSzgTWmtkISEIHp9Kj8rKm3D/hSjfW/4EsXNumc6Uxel/u9MdbI0rtvEOTPAj/lCDn MWL3Gu5QH8+NvHqHge0rbyUsR/Ae7OGCt/3Q2o2LaS/A4JAaDr/7fic47+TxETrbZSdzCI aDJ5tZpvYyIa68ebT/Q1j03L4qOBt/FPQCN4FSF8/vmRs4S0+VgM7zmnfAWpgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619189241; a=rsa-sha256; cv=none; b=McLj2WlIgHk/r4pEJGYwXi7eiDLLThm+P2lCBH2xRb4eNKxIAozIXdy83gdlKTXT2ojvX9 vs8HkIpWgfM0xFbFIsJDpGtlA18FengVoQoPubvlFJuYfzaYSesY9cz8AlZVE2ISWRiD2u otT3mAI+c04VhfWNzuMhoYNjAR32yOtz2Kwr7wwC9NVQvrrH+Pnq1bxl2jHZ8mceaK9lvr ijw5hPLK40IXL+Rf1QMOZhbmmZCDWZ2CD8zm5fGQtZ8uAEVNFa2Lie7Tcj8A1xNBfu9SdD 7nuJ9Qd0HjAd8wLEtI1taIF3jRf7TT+bwRW1waVybHcKmmXuz8dq9Km2UqpYWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=TvdlcNRk; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=TvdlcNRk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 1047ED69D X-Spam-Score: 0.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: Fi/aIGxaqCUO > 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? git pull , git push -> both are making sense guix pull, but no guix push -> doesnt make sense as there is no relation between pull and other used commands. (thus i suggested to use known linked-terms like update,upgrade...etc) > 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) I see, for example it can be made as upgrade command to always read configurations which are only intended for upgrading the system and if you want to use downgrade then it will read configurations only intended for downgrading the system. (either by using the same config.scm or each command point to separated config.scm like upgrade.scm and downgrade.scm...) by this can run system-upgrade , system-downgrade or dist-upgrade/downgrade..etc Maybe there are better solutions like better terms or technical solutions someone can come up with to make things better than the current situation. Christopher Baines: > > 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). >