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 WI+SHLACbWKIZAEAbAwnHQ (envelope-from ) for ; Sat, 30 Apr 2022 11:34:40 +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 uESNG7ACbWLIHwEAG6o9tA (envelope-from ) for ; Sat, 30 Apr 2022 11:34:40 +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 10B9D27F0B for ; Sat, 30 Apr 2022 11:34:39 +0200 (CEST) Received: from localhost ([::1]:39684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkjUs-0004JL-RF for larch@yhetil.org; Sat, 30 Apr 2022 05:34:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkjUT-0004Iu-KR for guix-devel@gnu.org; Sat, 30 Apr 2022 05:34:15 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:55145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkjUR-0003wQ-TK for guix-devel@gnu.org; Sat, 30 Apr 2022 05:34:13 -0400 Received: by mail-wm1-x334.google.com with SMTP id bg25so5805042wmb.4 for ; Sat, 30 Apr 2022 02:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=dfGyloyQGCJUuQ/QgY2jUib55vPV5Kl713Q4goCXYCI=; b=n4XgH3ixlA0Vmjitejc493wAWcwnEzDCD8GEzbzzCPao+yEbnC7IZYztzKX7WGI7Bg E5VDfgoX24C8oTl6BXrJoVD/WGLrAtR/lAv5S4HWdPLnnpv5BVZ3B1u17WIy83cCv2Bz +9Ml0pefNDs2llQEBsferTjDdl+lYdlAIj3fsJrB3sYDyOUTVk0W8mcsS9vrha8TXHTA Q0bTmNENG/bbV+CHQwd1Cg+6gnLwta8NzE15cix6n6wbvwAJM6b18rfGBobcrjiSZHVW EtSRgUf4kfynQbA0HmFjyWdKOLHB7nFP1/N1KVmVcM36UChmMIwV96UDiA5qU9UKsGbJ 6mgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=dfGyloyQGCJUuQ/QgY2jUib55vPV5Kl713Q4goCXYCI=; b=rDEoicLzQ4fgDIcKQe2Sa3uQ+/Oo4bkZQ39CeuyhXUwz5RkQd1NIWIUn3xfInxuJtc oWMgTbQSMUlnQ0ApOjva8fFsjTY4Y6WV+On4iSvvLcfLb4iKtLQymQJiTJVSHhOto48k OR558n6Qx0cJYKxPjTLF+4W+2z5xcjXbXyW7RSg35DpLk6rYHfp0FXmpJ94cq5nm9BUk /dBKxlbRhv9W5C0kexH9RYRqEHGZo3lBMXVhIlfQad1kaxhrl1qdGsmeVleT9c6LXJR/ AMLUZO8RCoSO4s99Zu3ieCB3cRC5b/Bs2X5ggNphSoj+pMLhVSUPM88id9by4DG+eZw2 6FTA== X-Gm-Message-State: AOAM533kZ7WaV7u/Gb6NtnZKluF0da6Qtq+HSqyCP2+95M+gDrzmhLE4 WzP/rMDMDQO6TeXn2IWW/EGuxh/CRjU= X-Google-Smtp-Source: ABdhPJzYjFDNSTKjsFI5DpBZWyD+s2YxLiLpTTzNjXCa/FErkok02kNahryeL3wPMESnbstKG+T/qw== X-Received: by 2002:a05:600c:21d9:b0:394:2398:3bff with SMTP id x25-20020a05600c21d900b0039423983bffmr2874500wmj.101.1651311250158; Sat, 30 Apr 2022 02:34:10 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id m18-20020a05600c3b1200b0038eba413181sm1363440wms.1.2022.04.30.02.34.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 02:34:09 -0700 (PDT) From: zimoun To: Phil , Liliana Marie Prikler Subject: Re: Help to workaround libgit2 fetch refs issue In-Reply-To: <8735jwharw.fsf@beadling.co.uk> References: <62b594e94117bc98c9edf0e3f8f067ccc46b10a3.camel@gmail.com> <875yougixp.fsf@beadling.co.uk> <8735jwharw.fsf@beadling.co.uk> Date: Sat, 30 Apr 2022 11:28:57 +0200 Message-ID: <865ymqq5ra.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::334; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x334.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: , Cc: Guix Devel 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=1651311280; 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=dfGyloyQGCJUuQ/QgY2jUib55vPV5Kl713Q4goCXYCI=; b=RVlDybhh3w/l1bjlYwpl8sCAuHDik5H7khEx6nt01q9VgHzgQjwbchY8DmZuA3yglDNq60 8yuUrMZDytIj8ARxuulNGIX8fuagBQb/Gt1zcNyKB87a9d1HPW36VgYHq70TZf3BLP2T5H xJnFG/eJqKLcXNWBOzTK015r/bMSdLoZDKMAETMtbKSwxd2AhQKRhoSLX2ryjSoPt1tS1X XDdutc1OVFJquRjIyg4ZoWlmEPg7A7xXxbUmDQhz62vwFUhbKB+QSjHvA1a7k4VnRJJX+H z8LcNEwPxcS7AjQzJJvFw2oMePyQFmw74WGSYE7bPSNUj7Iq8L7n41qwilpOhw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651311280; a=rsa-sha256; cv=none; b=d8W289Iey9a9qZLnXzHZah+7VzxwOQkkZdX3ThrNshyNXvyK/qn3K1KlJqW/fsQeDP5IpL 37FNGtN8xZV4i/RrdEjaje6AJnEJ/0YjhkmQMqYLR1eys4/DAwKKj0TpECIAnjLLDWX9WQ +A8PJlXreTQ3/wqy4MJ8ii5vOvN8pyOmceS5GBnFfyNNNAfCHsHGspfgrBeqY3kwEiIqxh HnTlwsqid78ap/ymuseu1qIVMS8YRrXvfyOrVthO3FaLcUzoyUdgmrMKCBsOCSPXbYAqqE 81cMoxVV8FXXCfKpRtUf4qwqRh2jreRwBG2UOl1tf0PFM5WyHfOS4AT5pgqQwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=n4XgH3ix; 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: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=n4XgH3ix; 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: 10B9D27F0B X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: F15oefK54Xye Hi Phil, On Sat, 05 Mar 2022 at 11:57, Phil wrote: > (git-checkout > (url "ssh://git@bitbucket:7999/foo/bar.git") > (commit commit-production))) Why this is not enough for your use case? As mentioned in [1]. 1: > This is covered here I think, and a patch was proposed, but it was > dropped in favour for the original solution above in the original thread: > http://issues.guix.gnu.org/issue/31285 The closing message says: Yes, this does work. Combined with the fact that it is now possible to "guix pull" channels over SSH, there is no need for this patch any more. The "git-checkout" gexp-compiler basically does the same thing that I was trying to do (it is still "impure" in that the fetching happens outside the store), but it does it more elegantly. so instead of=E2=80=A6 > I did think about perhaps resurrecting the proposed "git-fetch/impure" > as shown in the patch of guix-download.scm in the link immediately > above, but I was hoping for a quicker win with duplicating the record - > alas that has it's own significant limitations tho. =E2=80=A6maybe the location is =E2=80=9Cgit-checkout=E2=80=9D gexp-compiler= and see what is missing for covering your use-case. Cheers, simon