From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sA+vGC30umKuAgEAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 14:29:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uEqkFy30umJ9bAAAG6o9tA (envelope-from ) for ; Tue, 28 Jun 2022 14:29:33 +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 2C388C10F for ; Tue, 28 Jun 2022 14:29:32 +0200 (CEST) Received: from localhost ([::1]:58352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6ALT-0002yS-GZ for larch@yhetil.org; Tue, 28 Jun 2022 08:29:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6ALF-0002yH-Po for guix-devel@gnu.org; Tue, 28 Jun 2022 08:29:17 -0400 Received: from flashner.co.il ([178.62.234.194]:59850) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6ALE-0007R2-20 for guix-devel@gnu.org; Tue, 28 Jun 2022 08:29:17 -0400 Received: from localhost (unknown [141.226.14.191]) by flashner.co.il (Postfix) with ESMTPSA id 7778740272; Tue, 28 Jun 2022 12:29:14 +0000 (UTC) Date: Tue, 28 Jun 2022 15:28:26 +0300 From: Efraim Flashner To: zimoun Cc: Akib Azmain Turja , guix-devel@gnu.org Subject: Re: First guix pull is too costly Message-ID: Mail-Followup-To: zimoun , Akib Azmain Turja , guix-devel@gnu.org References: <87wnd1kycb.fsf@disroot.org> <86zghxdobv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BvcKOagYxwO7sySA" Content-Disposition: inline In-Reply-To: <86zghxdobv.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il 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, T_SCC_BODY_TEXT_LINE=-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=1656419373; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=+uZAfLwIrh7y9rsmHDgGlLtWMOXp1WquOqpzlALs8hI=; b=OIOGL4rs0Edn9l5bCrbP76fSzpxTvvTuvzbi1Aj9hhb6H0aLbA4V6o05MFy7U0eSwcAGI/ QGqSCme1VAKScKTGUJacWXyPWEX3QgUIADQTeA/8LP85pALOfYuGuS7/+QVYx12hobxQJX mjt/OVnnSE7CNOu+/G1AiGmSwav93YqPKmaFhM7mw3QlRt9BZR0DVIdfOLp3ZVYZbBOumI U4/3vcmYTK7aYrWIswA1tajXTxrAWYXnLHr3y76NhSBR9zXZ9gcA0pevSFkyREC3nYL+h7 Qw8X0Ywo84fh+Gq8sgQUyp5c4mSun/W7yzO0c0+7LHgtqDpwiMAg3AGYoNpmiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656419373; a=rsa-sha256; cv=none; b=QolsZel2fQ+XPKIAgI4REU3p1aOfaF1QGaLZvq78GYzN1YFVLxKl0MtpIlS/nNGDB6e6QY sj939fwIQlUyiUElHTyS6CBN8PzKcN73bJcicAM3zYMA4kGfejcWUVW5kxDFKc/9r2ra5s +o8njWRMJeocyT/OO/gVPE9my/MARtlPOfrdAiqPPNXGyvI8ejznr3FApjGttZmFYa/mxb 6ShWPYaf7Q5JsYVJnA9U3Y84dG5owCYabV9t8xNFTkgmbrd28RAJfYnBFXpacWdWNTtjzT 7WZUpOK5ce+LaB53k5VoWamyz8SvuLmKoKSKT31sf+oPhVNuPXWWK7ovazMmAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -4.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 2C388C10F X-Spam-Score: -4.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: BYhKW3W/UD+z --BvcKOagYxwO7sySA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 28, 2022 at 01:23:00PM +0200, zimoun wrote: > Hi, >=20 > On Tue, 28 Jun 2022 at 14:04, Akib Azmain Turja wrote: >=20 > > Is possible to reuse the guix channel from any other user to do the > > first guix pull? Or maybe a shallow clone? >=20 > Assuming alice is user already existing on the machine and bob is the > new user. Something like should do the job, >=20 > --8<---------------cut here---------------start------------->8--- > ALICE=3D/home/alice/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnla= ywmisyr27shj7apsnalwq > BOB=3D/home/BOB/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmi= syr27shj7apsnalwq > mkdir -p $BOB > git clone $ALICE $BOB > --8<---------------cut here---------------end--------------->8--- >=20 > then adapt the permissions. >=20 There's already a copy of the guix source code at /run/current-system/profile/share/guile/site/3.0/guix, what if we "just" switched the new-user/new-cache experience to: cp -r /run/current-system/profile/share/guile/site/3.0/guix/* ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq cd ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsn= alwq git init git remote add origin https://git.savannah.gnu.org/git/guix.git git fetch git branch --set-upstream-to=3Dorigin/master OK, that actually doesn't work, I just tried it in a temp folder. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --BvcKOagYxwO7sySA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmK68+YACgkQQarn3Mo9 g1EStA/+N4FliliqSnOM4cSt0JoR9tweVHSDUT4wJ5ZU/4i/6bFpCtRSowlNuwD/ DXtIV3h2fFCCMZJ4NTKLPXSRY9uLXnk71T0R7l43YdYkYb8Hzx5PKqcuyuVo8mZQ NWgZkNuPQEbk32rsJNj2rEL+I/a+w7DzaiXHWEAWC9QMH+nhzH/1BVp9xNAv1xKv 3geHcmYWSQi/Tp58sJghHmudbahIrLGqamBk4x0szoLXmqPAG5HRRpy8AEy4rm/l h1OdNOKR5w4aH4occyffxeybe244f85f/4nzF+Rzu+6wAdHUdQFQpIJXYW8ygZLI YFNWEjg9MFSmKI0C0Ftw4QZyxtGYzlrhif6xAmpPi+RjQ1OfvqnO34xDZhbqQdkw sNQjXCJPtkX0cWlyHh9y7yxD3tDAzmcxG+2m/ZWVeVAR5/uN5k3kTEJmRWjBnYbj vQcX8GZZSlCQpMfjs6rKZWvoSPp6o9/pG4RgN1QEpoMrzNhWPlHTK7LmOYKu6UNN 97nt+fq4pkBke8nyjNEtTE0XhsH5lGfM/odcSQzl79b+BQYaoWXB5KttKjJN9csU xOKnLFkvfWZkeaRN3lPMHmMKkOw9YIG6duhAenLoSR9mYkGbmGRYlI6c4rxru1sQ bCew4eiW42ZnHwFTQW68NWY/fKcUcysufp/qKxogkzjTIbtheqQ= =Ss7n -----END PGP SIGNATURE----- --BvcKOagYxwO7sySA--