From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yPVvMQH7L2ccAwAAqHPOHw:P1 (envelope-from ) for ; Sun, 10 Nov 2024 00:14:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yPVvMQH7L2ccAwAAqHPOHw (envelope-from ) for ; Sun, 10 Nov 2024 01:14:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b="Z d+wNzW"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=M+KthdZX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731197697; a=rsa-sha256; cv=none; b=dp5uLHiDr3qMY5toSrh3pqxnRYD89JV9p7rTgpFha9ONeK4HXdahA35Ry9eaU8E9ZPVx1K wTmiTV977CJ5htyEwSpYD2u84Y5Fc998BXLoVTOsJa61blhG6G15927rYqPMA8S23D40o6 d9GRwaYYApin6wutFLVrrKpleB6pcM3CnxYI6l8qpWdbM3ZOy7rnZhAzuwNhaMdPDLU4RP 6UMybwtgvHaBAc/1mIfCbcOyomQnGg7xhfbF1KffRHCBQ0qINMbaA7eF+5hgpzZH2VDOun zDaQpI+TMj/QfTEu3KhBBCp8/5HcMqWZP6EYbockSjKnWCgG2Nq9vNtbnQx84w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=famulari.name header.s=mesmtp header.b="Z d+wNzW"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=M+KthdZX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731197697; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Q9p6ZZfAHJPePl9R6d5EqlcWBlleHBfSI+bnCyV2GJY=; b=hvF+39SdjoPPg2taMFE8HwFoNfiFfjujgGyB6VKw/DdToezpoNIPQ9ZVzmi6fN3xMvWSMV nzhCf5uM1FMFAvW20socfXuEVW18TxXpOo7HNOCYmCwzaR9gq5uJOS1kYgX8yu4H0moqyL zMi+xKGrjh8ArrmD8el6RZuNuOy5yYaX9sgZT1h/oQZhv8TXlFaYOwlb94ylvGW3EAM53D /HeogQiMDkz91Hn2Ba1s9rq/ufSnp6vDk4Me3MIcWKqU9899ACL2QBBTnP+dHsnAv/cISF RZDP93fk0x7eh3CJ6GUNpZmWxyERS4ZYyIxmc3jp+uh9TR2Riy1XDCQ9g+xM1Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 623DB8602B for ; Sun, 10 Nov 2024 01:14:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9vbI-0006X0-Nv; Sat, 09 Nov 2024 19:14:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9vbH-0006Ws-L3 for help-guix@gnu.org; Sat, 09 Nov 2024 19:14:43 -0500 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9vbF-0007PS-TU for help-guix@gnu.org; Sat, 09 Nov 2024 19:14:43 -0500 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id 7705B2540130; Sat, 9 Nov 2024 19:14:40 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Sat, 09 Nov 2024 19:14:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1731197680; x= 1731284080; bh=Q9p6ZZfAHJPePl9R6d5EqlcWBlleHBfSI+bnCyV2GJY=; b=Z d+wNzWs+9sKCTwHAaWi4hfMpK0s3s/SmGxTmYzKpRkX+ybQiDm/r6mxAuuVNO/Bc jrnXWYBXt6LmMoErrOkxI+/vNl3l8Np6WXVDzBPP/oYd8T/jHEyrOn3Y00x0mBix GLjE1EodrvCMzc6/zVnSvYkogu+OGF/Hjm/hdpw6do= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1731197680; x=1731284080; bh=Q9p6ZZfAHJPePl9R6d5EqlcWBlleHBfSI+b nCyV2GJY=; b=M+KthdZXTm8pFSZRByPUsw+A6KyoqJeo72eHgPa4/fnmL93lsq1 F/qTzIPVWu3FfnVFVTOar74C9gUey9Am0hxpMfzk1cZjvH7h3nH9tAW0kMhsgcWa ddMu3pVfv4eU7Pz75Uqgxr/YL2dJIve8uDtoM9qLdrL45cFA6DU0Y5wDFYFAQ3dr Y2LGeNlxXL8Sm0Pe0M8Fg/WJ23vboP5DCC7aCbYW3cjwnUW4zAqOgF5RPaiiwPC+ wxXOCqTIlCwvLcxBEn9AYYdwTucNtfzDCX3zgoWibzOgDAsAuINIoHTYoebho+Zw vUACaxcSPrzuW0Skp6WInp+tJNQllAhjQ4g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrtdelgddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvfevuf fkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceo lhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepieetudehfe ekueefleegudfhjefgleehfeeluefhfeffgfeuudelhedvjeelieetnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrh hirdhnrghmvgdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtoheprggurghmrdhquhgrnhguohhurhesghhmrghilhdrtghomhdprhgtphhtthhope hhvghlphdqghhuihigsehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 9 Nov 2024 19:14:39 -0500 (EST) Date: Sat, 9 Nov 2024 19:14:23 -0500 From: Leo Famulari To: Adam Cc: help-guix@gnu.org Subject: Re: Packaging a repository with git submodules Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=202.12.124.153; envelope-from=leo@famulari.name; helo=fhigh-b2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.40 X-Spam-Score: -5.40 X-Migadu-Queue-Id: 623DB8602B X-Migadu-Scanner: mx10.migadu.com X-TUID: adK+NsgIaReM 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.