GNU logs - #50026, boring messages

Message sent to bug-guix@HIDDEN:

X-Loop: help-debbugs@HIDDEN
Subject: bug#50026: Specify a pull-request in --with-branch package transformations
Resent-From: Philippe SWARTVAGHER <philippe.swartvagher@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 12 Aug 2021 15:02:03 +0000
Resent-Message-ID: <handler.50026.B.162878047113118 <at>>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 50026
X-GNU-PR-Package: guix
To: 50026 <at>
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> id=B.162878047113118
          (code B ref -1); Thu, 12 Aug 2021 15:02:03 +0000
Received: (at submit) by; 12 Aug 2021 15:01:11 +0000
Received: from localhost ([]:39628
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1mECCj-0003NG-B0
	for submit <at>; Thu, 12 Aug 2021 11:01:11 -0400
Received: from ([]:51020)
 by with esmtp (Exim 4.84_2)
 (envelope-from <philippe.swartvagher@HIDDEN>) id 1mE7Ak-0001hp-3z
 for submit <at>; Thu, 12 Aug 2021 05:38:46 -0400
Received: from ([2001:470:142:3::10]:47788)
 by with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philippe.swartvagher@HIDDEN>)
 id 1mE7Aj-0003Jz-Q5
 for bug-guix@HIDDEN; Thu, 12 Aug 2021 05:38:45 -0400
Received: from ([]:41239)
 by with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philippe.swartvagher@HIDDEN>)
 id 1mE7Ah-0003B4-8r
 for bug-guix@HIDDEN; Thu, 12 Aug 2021 05:38:45 -0400
IronPort-HdrOrdr: A9a23:OcMKY61FUmKeCnNF8V4lOAqjBK0kLtp133Aq2lEZdPUnSL37qynIpoV56faUslYssR4b9uxoVJPrfZq+z/9ICOsqUYtKNTOO0FdAR7sO0WKN+Vbd8mHFmNJg6Q==
X-IronPort-AV: E=Sophos;i="5.84,315,1620684000"; d="scan'208";a="390166398"
Received: from unknown (HELO []) ([])
 by with ESMTP/TLS/AES256-GCM-SHA384;
 12 Aug 2021 11:38:38 +0200
From: Philippe SWARTVAGHER <philippe.swartvagher@HIDDEN>
Message-ID: <29e470a4-89a3-2ac1-1fbd-f4a747443fb9@HIDDEN>
Date: Thu, 12 Aug 2021 11:38:38 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Received-SPF: pass client-ip=;
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Mailman-Approved-At: Thu, 12 Aug 2021 11:01:08 -0400
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -2.3 (--)


A nice feature would be to be able to use a pull-request as branch to
specify in the `--with-branch` transformation option.

A use-case is to use a pull-request coming from a private fork, thus we
can't use the combination `--with-git-url=3D with-branch=3D`.

As an example, if I follow
I should be able to do something like:


guix build chameleon --with-branch=3Dchameleon=3Dmerge-requests/262/head


(with 262 being the pull-request I'm interested in) However, this fails:


guix build: erreur : impossible de r=C3=A9cup=C3=A9rer la branche =C2=AB
merge-requests/262/head =C2=BB depuis : cannot locate
remote-tracking branch 'origin/merge-requests/262/head'

While commands stated in the documentation work well:


git clone && cd chameleon

git fetch origin merge-requests/262/head:mr-262

git checkout mr-262


I guess the fetch step is lacking in the way Guix handles the
`--with-branch` transformation.

FYI, Ansible is able to do things like that (see
by combining options `refspec` and `version`.

I'm aware a workaround is to download the patch corresponding to the
pull-request and using `--with-patch`, however handling it directly with
`--with-branch` would be more handy !



PhD Student
TADaaM team, Inria Bordeaux Sud-Ouest

Message sent:

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Philippe SWARTVAGHER <philippe.swartvagher@HIDDEN>
Subject: bug#50026: Acknowledgement (Specify a pull-request in
 --with-branch package transformations)
Message-ID: <handler.50026.B.162878047113118.ack <at>>
References: <29e470a4-89a3-2ac1-1fbd-f4a747443fb9@HIDDEN>
X-Gnu-PR-Message: ack 50026
X-Gnu-PR-Package: guix
Reply-To: 50026 <at>
Date: Thu, 12 Aug 2021 15:02:03 +0000

Thank you for filing a new bug report with

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):

If you wish to submit further information on this problem, please
send it to 50026 <at>

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

Last modified: Thu, 12 Aug 2021 15:15:02 UTC

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