GNU bug report logs - #50026
Specify a pull-request in --with-branch package transformations

Previous Next

Package: guix;

Reported by: Philippe SWARTVAGHER <philippe.swartvagher <at> inria.fr>

Date: Thu, 12 Aug 2021 15:02:03 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: Philippe SWARTVAGHER <philippe.swartvagher <at> inria.fr>
Cc: 50026 <at> debbugs.gnu.org
Subject: bug#50026: Specify a pull-request in --with-branch package transformations
Date: Tue, 14 Sep 2021 09:43:54 +0200
Hi!

Philippe SWARTVAGHER <philippe.swartvagher <at> inria.fr> skribis:

> guix build chameleon --with-branch=chameleon=merge-requests/262/head
>
> ```
>
> (with 262 being the pull-request I'm interested in) However, this fails:
>
> ```
>
> guix build: erreur : impossible de récupérer la branche «
> merge-requests/262/head » depuis
> https://gitlab.inria.fr/solverstack/chameleon : cannot locate
> remote-tracking branch 'origin/merge-requests/262/head'
> ```
>
> While commands stated in the documentation work well:
>
> ```bash
>
> git clone https://gitlab.inria.fr/solverstack/chameleon && cd chameleon
>
> git fetch origin merge-requests/262/head:mr-262
>
> git checkout mr-262

Any idea what makes this branches “special” from a Git viewpoint?

Guix uses libgit2 (via Guile-Git); perhaps there’s a feature here that
libgit2 doesn’t support, or perhaps there’s an additional step to make
to make those branches visible?

Thanks,
Ludo’.




This bug report was last modified 3 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.