--with-commit only works with git repos

DoneSubmitted by Hartmut Goebel.
Details
2 participants
  • Hartmut Goebel
  • Ludovic Courtès
Owner
unassigned
Severity
normal
H
H
Hartmut Goebel wrote on 5 May 2020 14:28
(name . bug-guix)(address . bug-guix@gnu.org)
0870b1e0-8816-3d14-7be6-0bba5e02e57c@crazy-compilers.com
guix build --with-commit only works with git repos

I would expect it to work with mercurial repos, too, as basically this
is just setting a value in the source definition. (At least this is what
I would assume it does.)
L
L
Ludovic Courtès wrote on 5 May 2020 21:00
(name . Hartmut Goebel)(address . h.goebel@crazy-compilers.com)(address . 41093@debbugs.gnu.org)
877dxqky10.fsf@gnu.org
Hi,

Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

Toggle quote (2 lines)
> guix build --with-commit only works with git repos

Yup, as documented (info "(guix) Package Transformation Options"). :-)

Toggle quote (4 lines)
> I would expect it to work with mercurial repos, too, as basically this
> is just setting a value in the source definition. (At least this is what
> I would assume it does.)

And Subversion, and Monotone, and CVS… but no, this is not
implemented. ;-)

The implementation is different from what you suggest: it uses a
<git-checkout> record instead of an <origin>. That performs a checkout
beforehand and uses that as the source.

Closing, but you can open a wishlist item if you want.

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 5 May 2020 21:00
control message for bug #41093
(address . control@debbugs.gnu.org)
875zdaky0n.fsf@gnu.org
tags 41093 wontfix
close 41093
quit
?
Your comment

This issue is archived.

To comment on this conversation send email to 41093@debbugs.gnu.org