From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sMZdK+4NMmO1vwAAbAwnHQ (envelope-from ) for ; Mon, 26 Sep 2022 22:39:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KNxxKu4NMmNjNwAAG6o9tA (envelope-from ) for ; Mon, 26 Sep 2022 22:39:10 +0200 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 51B9CF970 for ; Mon, 26 Sep 2022 22:39:10 +0200 (CEST) Received: from localhost ([::1]:41540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocuse-0004py-Sc for larch@yhetil.org; Mon, 26 Sep 2022 16:39:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocur5-0004M2-Sg for guix-devel@gnu.org; Mon, 26 Sep 2022 16:37:31 -0400 Received: from jpoiret.xyz ([206.189.101.64]:51326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocuqz-0004QF-Vy for guix-devel@gnu.org; Mon, 26 Sep 2022 16:37:31 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 0AB68184F2B; Mon, 26 Sep 2022 20:37:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1664224643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mBTrwc1ZID0c9k5hzlovC37wYqiycpjs41kaabE5TN8=; b=fetSz5qNVcDvPedExOevts/nMKA6hZUVYE2eod5YuIFmmyUjV6yhdXeDOy3syCXUFkpqfa Lgoxhxdumioct1AWZbqS6n/fQX05s0zJ+eo+jOE1h4j06FNy143m6HSrnGKUgT4kz0RvVQ UiXDTAMX6cgQsvhX7TxcfpR3ecmfcoGZYFutw+MxTamYpuSJx0APJmN8HToUPPHyvu611J lnMz0hQoLxBnKrIfQScY2nJ5+DdhiP75YxDQzXhojUFtE6JlF7o3M7BYs104ITdWfNAsy9 O/GGy3mDASvhWr1vFnjGc9xmV97ZPrF/x6i9j0f751PmFBrCMdgXvyJTGyKgiQ== From: Josselin Poiret To: zimoun , kiasoc5 , guix-devel@gnu.org, Danny Milosavljevic Subject: Re: git guix checkout automation for contributors In-Reply-To: <878rm6csm9.fsf@gmail.com> References: <20220925214010.24cf55f0@aria> <878rm6csm9.fsf@gmail.com> Date: Mon, 26 Sep 2022 22:37:22 +0200 Message-ID: <878rm5c1od.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: + Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FROM_SUSPICIOUS_NTLD=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664224750; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mBTrwc1ZID0c9k5hzlovC37wYqiycpjs41kaabE5TN8=; b=KPIRoSbSboFhDzb1BWputBafHVKwiEH/7flpWbZZeHQXiyXEtpWYpSX087lNtcuAuX9QKG PL8j7IIaHd+E4UXhqAoHi9t71MXc0mNxysJjYCP2KYK6dSNTtTlrndnq2OJfceWFEDJbwd 8al3218l1Nfi/kbu96XNeYi7T4NxwKZn/3vz19WrneTRiBpuZvEScDx12ISQPrdwmiCKD7 uhnYZcdsPMvlFVvt6vfGUILxoq2c6pe5tHY4YAtOz1bl7rqXpEVn3yRCStCIdFWuvWs9PN 2HSk5njIfqKKtwphMKDXR3bVPCulRcmfEwRwE/+bF28u8cez4FW24qAEWb6IPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664224750; a=rsa-sha256; cv=none; b=dC9CEnmKUCUslcKx/kPiKlMPjvkQkKMrtxU4z5e+RI6W2zeU/2qTC7G4yuiz8dZ4CTXjl/ Brkt7aGeuxHcRtj1cdxbm78G5Mr+hoh+1tUnQrc7GLBNPLz0v3n+SpPd+LT7yFo0bGE5hE xloObIIn48Rbp4arNi/qSwYPdPjiTVOelNz+2Bp9KaRjPdZwezwrPWmXBx8reyStqVkuHR xAIndXSRAQphgQxcsS9w/caEBF6dIF0wfYB6B7BAMvjrCR/UPYQN1LnfpiA4bXw7eTw9Vw S8bcvmblOhicxfnojDsU+eo4PYKLimpD+kCA2wBRQeYaQWB5HrGuYvQMkt1ZcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=fetSz5qN; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=fetSz5qN; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 51B9CF970 X-Spam-Score: -0.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: BmAwDp07R6KS Hello everyone, zimoun writes: > Hi, > > On dim., 25 sept. 2022 at 21:40, kiasoc5 wrote: >> Isn't there a checkout cache in ~/.cache/guix? Can guix edit be pointed >> to the git repo in the cache as opposed to the system's? > > This checkout* is used by =E2=80=9Cguix time-machine=E2=80=9D and it does= not always > point to what =E2=80=9Cguix describe=E2=80=9D returns. Modulo this minor= warning > (easily fixable by moving HEAD to the correct commit), it appears to me > a good idea to rely on it for easing some contributions. It would be a good idea to reuse the cache, however I don't think that edits should be made directly there. Maybe we could either suggest or provide a command that would copy the git repository there to another place. > When running =E2=80=9Cguix time-machine=E2=80=9D (inferiors), all the mac= hinery > =E2=80=9C./bootstrap && ./configure --localstatevar=3D/var && make=E2=80= =9D is > transparently done. We discussed that at the 10 Years event with > Josselin. Yes! Although FTR none of bootstrap, configure or make are actually run when using time-machine, it's a totally different way of building :). The upshot is that we could even provide a flag like `guix time-machine --issue=3DNNNNN` that would provide the corresponding guix branch at https://git.guix-patches.cbaines.net/guix-patches/, and benefit from the built substitutes if there are. It would need some more formal URL and discussion around this feature, but everything's in place for it to happen. > Therefore, we could imagine something similar for helping people to > contribute: > > 1. use (test?) unmerged patches > 2. update and/or create new patches I think the second part would need a bit of work though, refer to Chris' mail [1] for what would need to be done (namely, making `git send-email` easier and refactoring the contribution guidelines). [1] 87a66wfzeh.fsf@cbaines.net https://yhetil.org/guix-devel/87a66wfzeh.fsf@cbaines.net Best, --=20 Josselin Poiret