* Packaging a repository with git submodules
@ 2024-11-07 12:34 Adam
2024-11-10 0:14 ` Leo Famulari
0 siblings, 1 reply; 3+ messages in thread
From: Adam @ 2024-11-07 12:34 UTC (permalink / raw)
To: help-guix
Hi Guix!
I have a question.
If I want to write a package for a git repository which has submodules,
should I download these dependencies recursively (recursive? #t)? Or it
will be better to write a package definition for each dependency?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Packaging a repository with git submodules
2024-11-07 12:34 Packaging a repository with git submodules Adam
@ 2024-11-10 0:14 ` Leo Famulari
0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2024-11-10 0:14 UTC (permalink / raw)
To: Adam; +Cc: help-guix
On Thu, Nov 07, 2024 at 03:34:48PM +0300, Adam wrote:
> If I want to write a package for a git repository which has submodules,
> should I download these dependencies recursively (recursive? #t)? Or it
> will be better to write a package definition for each dependency?
Both approaches are good. It's a matter of taste and the particulars of
your package.
Some programs have a build system that makes it really hard to use
externally provided dependencies rather than the Git submodules. And
it's easier to use recursive Git as a packager.
On the other hand, if you use recursive Git, you lose the full power of
Guix to inspect and manipulate your package's dependency graph.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Packaging a repository with git submodules
@ 2024-11-09 20:37 Cayetano Santos
0 siblings, 0 replies; 3+ messages in thread
From: Cayetano Santos @ 2024-11-09 20:37 UTC (permalink / raw)
To: adam.quandour; +Cc: help-guix
Hi Adam,
You may refer to this exchange
https://yhetil.org/guix-patches/87ttd3t4b0.fsf@kitej/
Seems that the preferred approach is to package dependencies, unless you
have a very good reason not to.
C.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-10 14:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-07 12:34 Packaging a repository with git submodules Adam
2024-11-10 0:14 ` Leo Famulari
-- strict thread matches above, loose matches on Subject: below --
2024-11-09 20:37 Cayetano Santos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).