--with-commit only works with git repos

  • Done
  • quality assurance status badge
Details
2 participants
  • Hartmut Goebel
  • Ludovic Courtès
Owner
unassigned
Submitted by
Hartmut Goebel
Severity
normal

Debbugs page

H
H
Hartmut Goebel wrote on 5 May 2020 05: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 12: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 12: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 an email to 41093@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 41093
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch