* git clone with submodules
@ 2021-12-02 7:12 Adam Kandur via Development of GNU Guix and the GNU System distribution.
2021-12-02 12:14 ` David Larsson
0 siblings, 1 reply; 4+ messages in thread
From: Adam Kandur via Development of GNU Guix and the GNU System distribution. @ 2021-12-02 7:12 UTC (permalink / raw)
To: Guix Devel
Hi guix!
Is there way to clone a project when i'm building a package with all git submodules?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git clone with submodules
2021-12-02 7:12 git clone with submodules Adam Kandur via Development of GNU Guix and the GNU System distribution.
@ 2021-12-02 12:14 ` David Larsson
2021-12-02 12:28 ` Tobias Geerinckx-Rice
2021-12-02 17:40 ` Adam Kandur via Development of GNU Guix and the GNU System distribution.
0 siblings, 2 replies; 4+ messages in thread
From: David Larsson @ 2021-12-02 12:14 UTC (permalink / raw)
To: Adam Kandur; +Cc: Guix Devel
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
Hi Kandur!
Yes there is. Example:
...
(git-reference (url ...) (commit ...) (recursive? #t))
...
Best regards
David
On Thu, Dec 2 2021 at 08:12:35 +0100, Adam Kandur via Development of
GNU Guix and the GNU System distribution. <guix-devel@gnu.org> wrote:
> Hi guix!
> Is there way to clone a project when i'm building a package with all
> git submodules?
[-- Attachment #2: Type: text/html, Size: 646 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git clone with submodules
2021-12-02 12:14 ` David Larsson
@ 2021-12-02 12:28 ` Tobias Geerinckx-Rice
2021-12-02 17:40 ` Adam Kandur via Development of GNU Guix and the GNU System distribution.
1 sibling, 0 replies; 4+ messages in thread
From: Tobias Geerinckx-Rice @ 2021-12-02 12:28 UTC (permalink / raw)
To: David Larsson; +Cc: Adam Kandur, guix-devel
[-- Attachment #1: Type: text/plain, Size: 386 bytes --]
David Larsson 写道:
> (git-reference (url ...) (commit ...) (recursive? #t))
Also: don't forget to change the hash when changing fields like
RECURSIVE? which have no effect on the store file name, or Guix
will happily return the non-recursive checkout.
This is because hash + name, not the URL or fetch options,
uniquely identify the source.
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git clone with submodules
2021-12-02 12:14 ` David Larsson
2021-12-02 12:28 ` Tobias Geerinckx-Rice
@ 2021-12-02 17:40 ` Adam Kandur via Development of GNU Guix and the GNU System distribution.
1 sibling, 0 replies; 4+ messages in thread
From: Adam Kandur via Development of GNU Guix and the GNU System distribution. @ 2021-12-02 17:40 UTC (permalink / raw)
To: David Larsson; +Cc: Guix Devel
Thank you!
Dec 2, 2021, 15:14 by mail@selfhosted.xyz:
> Hi Kandur!
> Yes there is. Example:
>
> ...
> (git-reference (url ...) (commit ...) (recursive? #t))
> ...
>
> Best regards
> David
>
> On Thu, Dec 2 2021 at 08:12:35 +0100, Adam Kandur via Development of GNU Guix and the GNU System distribution. <guix-devel@gnu.org> wrote:
>
>> Hi guix!Is there way to clone a project when i'm building a package with all git submodules?
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-03 21:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02 7:12 git clone with submodules Adam Kandur via Development of GNU Guix and the GNU System distribution.
2021-12-02 12:14 ` David Larsson
2021-12-02 12:28 ` Tobias Geerinckx-Rice
2021-12-02 17:40 ` Adam Kandur via Development of GNU Guix and the GNU System distribution.
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.