From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8PfXK1TfMWMLJQAAbAwnHQ (envelope-from ) for ; Mon, 26 Sep 2022 19:20:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IN31KlTfMWMxPQAAG6o9tA (envelope-from ) for ; Mon, 26 Sep 2022 19:20:20 +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 5CE663CEA0 for ; Mon, 26 Sep 2022 19:20:20 +0200 (CEST) Received: from localhost ([::1]:38842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocrmF-0006CU-Fw for larch@yhetil.org; Mon, 26 Sep 2022 13:20:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocrLi-0006fR-RR for guix-devel@gnu.org; Mon, 26 Sep 2022 12:52:55 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:38538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocrLh-0002RS-6H for guix-devel@gnu.org; Mon, 26 Sep 2022 12:52:54 -0400 Received: by mail-wr1-x42e.google.com with SMTP id n15so11175053wrq.5 for ; Mon, 26 Sep 2022 09:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=zvocqnDlb77BjJ+HFkiivmw9CVMqL4ZiXSVbCqvMi1I=; b=AG/0dLOA4jI7n3FUfE4Og1QQG31cTowpvElCPueBmL70SYVy+1XgV871Pgn0cZVqPV twO9HiSrKKF5N4dFph0fW239VguY8bXJubA/mcl/zFyUWlzPxhbbX3lIIkbDusamg+qk YDa9/BuuiGtFRlcYkmsY+za9/se16AthRrMpD1/iqho/6DKD3UTk37gXrvbw/+UmHxOJ uqstNgpY5g2PX27wTxmPc1Id3w/r3xRLrDins5MLveXAe7eaxqcyU8B7rzsTto/v6mwl mF9Y0VUAhvQMBaK2HowSXkVccASAcrrsW5i4XYgvclUZdu6ZwIea/mHb6UJtO/rmJKiz I9KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=zvocqnDlb77BjJ+HFkiivmw9CVMqL4ZiXSVbCqvMi1I=; b=WZOx6YvVKr3E7o8e9d5xfDP8nWsHXo8+SNlpVMUaSsnisEEKsj6PrdNAs4u9wd2LSc WMlrK9CI4WrzM1OZhGrJH5LcSvP0n4g/nVfczsubgxCQUKux18O3FwllJSodPOPfu0zP W/+mEx+rIMC/3NJUsSUuv5BXT2aEJjzckv0zYjpRqllAXYzNUm54UlSWTqRzBULDFqUk 4ZvBrXIuSZZC+F8Wgj6PbNUF93tVaWnO9FZjxHnfBwtbMUECSG9mhWce739+SNALN5NH hkJEIJVrUTlQWHd4I1X912lc7HWd7mTm+IyGyt1wkIXssVIcsjbpSaTZjktHcLIpx9hv i01g== X-Gm-Message-State: ACrzQf2tqmfbgebCa2ysbeePv1+cdrMo9iAxAwIFYCNU+gyo0l/8M7m1 ljxx0Rw/Mj9UozzzcsiX1Ec= X-Google-Smtp-Source: AMsMyM4TEtQUi6oqwiujD1KDT2KEO+Ym+0oHOfmVBuyDQvIsAc7uM7sMLEvoySJVjRUM+s3sCroKsA== X-Received: by 2002:a05:6000:178c:b0:22b:7f5:c724 with SMTP id e12-20020a056000178c00b0022b07f5c724mr13884301wrg.384.1664211171437; Mon, 26 Sep 2022 09:52:51 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c11-20020a05600c0a4b00b003b4fdbb6319sm13772852wmq.21.2022.09.26.09.52.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 09:52:50 -0700 (PDT) From: zimoun To: kiasoc5 , guix-devel@gnu.org, Danny Milosavljevic Cc: Josselin Poiret Subject: Re: git guix checkout automation for contributors In-Reply-To: <20220925214010.24cf55f0@aria> References: <20220925214010.24cf55f0@aria> Date: Mon, 26 Sep 2022 12:55:26 +0200 Message-ID: <878rm6csm9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1664212820; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zvocqnDlb77BjJ+HFkiivmw9CVMqL4ZiXSVbCqvMi1I=; b=ojNvkzG7PR0Od7Y8Sez478nU5J8MewvjuJm21K7OALdz53M39ie7h5UCmcC6xcbunYRdSu 2yAnsAarK45Rylkyo59oUpzbw/E1pDppx006d+gGv80x/hCyFcS8b2nSW5Qwe/msxhN9Tj boquFrf0zMygq9gHrh+WDY7GonHtzWsC10mTcDYikUqEOR3Oi7O5OWvIaiDt2LbeZWqvAm NBCXYFjNwi79jmJPPcQVszSa4QHXK0brtOm1g4oxt3NjVRAdNsu7ABPx95F+ZiKmPe0MQ0 gjNK1/Hl1lpgJS9371k+3s4iiwHZtPGKS+XYmoeIBEyXbmWiOBFyNLE9/IklDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664212820; a=rsa-sha256; cv=none; b=KdtOQUugxf5aQ2KMYIMNkiGk144xp/QIFoXXYhV8p0JI2rhVtcqe8sRynV4V1HXOLUdGJz A2685UrK/OY9cvBB1gQLMkVPPp6iieW4II7SawDGskcyoRuXBHUmwMxyXPfXUBm3vj+h5Z zmZY2CtO4uNGcnXikMKzMvGaPXIWcqyyC/fwhIHaC6jOT4itZogQDl9YYuy+qc8Pw0STnD EjYJ9UL9GSGacr85irJd7dkNpFj2EH3DWnTjDMQ844+7jmS10c+dpCHRElpKgWqRjYjpF8 e9tSD0nt/qsXoWjoa75kL0DyC08d7u063XoJTNFViI7A7e5WgMG0BhisC3kA9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="AG/0dLOA"; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.35 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="AG/0dLOA"; dmarc=pass (policy=none) header.from=gmail.com; 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: 5CE663CEA0 X-Spam-Score: -2.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8tb57mNtvy+Y 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 n= ot always point to what =E2=80=9Cguix describe=E2=80=9D returns. Modulo this minor w= arning (easily fixable by moving HEAD to the correct commit), it appears to me a good idea to rely on it for easing some contributions. *checkout: ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalw= q/ For instance, --8<---------------cut here---------------start------------->8--- $ guix describe Generation 9 ao=C3=BBt 31 2022 14:51:40 (current) guix 23152ff repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 23152ff70f0ed4966d8207846f54c793d7cb4f86 $ git -C /home/simon/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlay= wmisyr27shj7apsnalwq/ log -1 --oneline 2e8b4f9bfa (HEAD -> master) installer: Exit console-services page with abor= t-to-prompt. $ guix time-machine --url=3Dfile:///home/simon/.cache/guix/checkouts/pjmkgl= p4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/ -- describe guix 2e8b4f9 repository URL: https://git.savannah.gnu.org/git/guix.git commit: 2e8b4f9bfa00489fd3acff305837a79af236e183 --8<---------------cut here---------------end--------------->8--- When running =E2=80=9Cguix time-machine=E2=80=9D (inferiors), all the machi= nery =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. Therefore, we could imagine something similar for helping people to contribute: 1. use (test?) unmerged patches 2. update and/or create new patches Cheers, simon