guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help to workaround libgit2 fetch refs issue


From: zimoun
Subject: Re: Help to workaround libgit2 fetch refs issue
Date: Sat, 30 Apr 2022 11:28:57 +0200

Hi Phil,

On Sat, 05 Mar 2022 at 11:57, Phil <phil@beadling.co.uk> 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: <https://issues.guix.gnu.org/issue/31285#4>


> 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.

        <https://issues.guix.gnu.org/issue/31285#6>

so instead of…

> 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.

…maybe the location is “git-checkout” gexp-compiler and see what is
missing for covering your use-case.


Cheers,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]