From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aGbJHJR+QF8tRQAA0tVLHw (envelope-from ) for ; Sat, 22 Aug 2020 02:10:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6C+2GJR+QF9zcwAAbx9fmQ (envelope-from ) for ; Sat, 22 Aug 2020 02:10:28 +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 307E8940142 for ; Sat, 22 Aug 2020 02:10:28 +0000 (UTC) Received: from localhost ([::1]:46348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9IzD-0000fo-5r for larch@yhetil.org; Fri, 21 Aug 2020 22:10:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Iz4-0000ey-Ie for guix-devel@gnu.org; Fri, 21 Aug 2020 22:10:18 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9Iz2-0000mV-SK for guix-devel@gnu.org; Fri, 21 Aug 2020 22:10:18 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 058155C00C1; Fri, 21 Aug 2020 22:10:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 21 Aug 2020 22:10:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=iglo6LIHcH+JwSZnajmBeL8/ 5ZYWmiUIz1vwiz5kywk=; b=II6DjtLrqtML+iwKq4n/iXSdJk6AT0pCE09yOgkN +csl4V+Amza05dq2n1Q9ujZqZkUXdJ98XwpBdSr771GE6ZEtOmxWxrfWGVGwXEra Pc4Y+v8jDyWLFWInSPgK893bF9fZnG2qQbky4WqVfFLdLUoiGEaggWtQ/hF0MMbq geM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=iglo6L IHcH+JwSZnajmBeL8/5ZYWmiUIz1vwiz5kywk=; b=npyIjlsNzKGTLjT2AdQzGP v9xLC8cfeRvMx2znU+dpfsDI76sMmz9Mqdd+WyuG6nUz7l06lPVb96fG41XyKHIs 65ca79SJygyvCBeARd/uhjBGX5k0WtwPPgoB5NGHdUZSC7HNermcqjQ/8bMQcLLP 6IhC9xXQPyzsw/yK5k5LdDj39XIb6xqf1rTXGCOGnjYaaB9ky0AAdW5rpg8LAKlx YwDQT82gHnbe6gx7UMO7Bq4Stmv3EA4GyMyMFJ5xTRqSViNO06trDGWsb8zbCmL9 tDbIM3HzI/JMNF44vBCOz8rTtHJxf1bodWJ7nNAmgBlUDaqWbWqf/b7WJsJJMgJw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddufedghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueekkedtffdvtddugeejgedtvefhue efiedvjeeitdeigedtveejvdejheffvefgnecukfhppeejfedrudeguddruddvjedrudeg ieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 97460328005A; Fri, 21 Aug 2020 22:10:14 -0400 (EDT) Date: Fri, 21 Aug 2020 22:10:10 -0400 From: Leo Famulari To: HiPhish Subject: Re: Questions about Git and workflow Message-ID: <20200822021010.GA2742@jasmine.lan> References: <2818350.e9J7NaK4W3@ixtreme-m5740> <20200818203353.GA26961@jasmine.lan> <5426872.DvuYhMxLoT@ixtreme-m5740> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5426872.DvuYhMxLoT@ixtreme-m5740> Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@famulari.name; helo=out5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/21 22:10:15 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 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.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_SBL=1.623 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b=II6DjtLr; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=npyIjlsN; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: QTaauhbw+Wjy On Fri, Aug 21, 2020 at 10:51:29PM +0200, HiPhish wrote: > OK, I'll try that. My main concern was with packages I actually want to run. > For example, last time I wanted to update the Neovim version, so I changed the > definition and installed Neovim in order to try it out a bit. But doing so > replaced my previous Neovim installation. I know the old one was still in the > store, but if I had borked the update I would have had the problem that my > text editor, which is what I use to edit Guile scripts, was messed up. > > It's not a major problem, but still an annoyance. Perhaps instead of `install` > I should have done `environment --ad-hoc`. If your text editor was broken, you could use `guix package --roll-back` to go back to the working version. If you needed to go back a few times, you could use `guix package --list-generations` and `guix package --switch-generation=N`. If you knew the editor was broken, but wanted to update everything else, you could do `guix package --upgrade=. --do-not-upgrade=neovim`. Since those arguments accept regular expressions, the dot "." means "everything". I do agree that `guix environment --ad-hoc` is often more convenient while experimenting. In general, it's a goal of Guix that broken updates should be easy to recover from. I hope that helps!