From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludovic.courtes@inria.fr>,
"Philippe SWARTVAGHER" <philippe.swartvagher@inria.fr>
Cc: 50026@debbugs.gnu.org
Subject: bug#50026: Specify a pull-request in --with-branch package transformations
Date: Tue, 14 Sep 2021 10:12:20 +0200 [thread overview]
Message-ID: <86wnnjr2xn.fsf@gmail.com> (raw)
In-Reply-To: <877dfj8uv9.fsf@gnu.org>
Hi,
On Tue, 14 Sep 2021 at 09:43, Ludovic Courtès <ludovic.courtes@inria.fr> wrote:
> Philippe SWARTVAGHER <philippe.swartvagher@inria.fr> skribis:
>
>> guix build chameleon --with-branch=chameleon=merge-requests/262/head
>> 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
> Any idea what makes this branches “special” from a Git viewpoint?
I do not know but the branch is not listed after a fresh clone:
--8<---------------cut here---------------start------------->8---
$ git clone https://gitlab.inria.fr/solverstack/chameleon
$ cd chameleon
$ git branch -av
* master be19cc46 Merge branch 'fix-warning' into 'master'
remotes/origin/HEAD -> origin/master
remotes/origin/master be19cc46 Merge branch 'fix-warning' into 'master'
remotes/origin/release-0.9.2 d2b4cab3 Fix artifact
remotes/origin/release-1.0.0 da81c248 Update ChangeLog
remotes/origin/release-1.1.0 4db899ca Merge branch 'next_release' into 'master'
--8<---------------cut here---------------end--------------->8---
So I guess the GitLab Merge Requests are “special” branches. Well, I do not know
if checking the API makes sense ;-)
<https://docs.gitlab.com/ee/api/merge_requests.html>
All the best,
simon
prev parent reply other threads:[~2021-09-14 8:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-12 9:38 bug#50026: Specify a pull-request in --with-branch package transformations Philippe SWARTVAGHER
2021-08-12 15:30 ` raingloom
2021-08-12 20:06 ` Philippe SWARTVAGHER
2021-09-14 7:43 ` Ludovic Courtès
2021-09-14 8:12 ` zimoun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86wnnjr2xn.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=50026@debbugs.gnu.org \
--cc=ludovic.courtes@inria.fr \
--cc=philippe.swartvagher@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.