From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2LFUNbTPumNdPAEAbAwnHQ (envelope-from ) for ; Sun, 08 Jan 2023 15:14:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cPCDNLTPumPctAAAG6o9tA (envelope-from ) for ; Sun, 08 Jan 2023 15:14:12 +0100 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 D7DD03BCD5 for ; Sun, 8 Jan 2023 15:14:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEWQg-0008Ik-K9; Sun, 08 Jan 2023 09:13:42 -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 1pEWQe-0008IM-Ig for guix-devel@gnu.org; Sun, 08 Jan 2023 09:13:40 -0500 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEWQc-0006dn-LA for guix-devel@gnu.org; Sun, 08 Jan 2023 09:13:40 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4NqfFF0PyvzDqFh; Sun, 8 Jan 2023 14:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1673187217; bh=eYXiT0g/S/CctUGaoQMl3F4DGn12MGle5v/aQt/eT9M=; h=From:To:Cc:Subject:Date:From; b=p+6oBh6qX5QlwwcsxzTnTkmrDu7uq/8sIiLzh+3HVYD2qL+c+OCKl2JJLosDUq2i5 MVVzw7t6T2BmZRz1F56/AoiW239y97MNQom8lslVFpy9af1lLPngk3v/b6wyAQHrv3 dj1+IHi4/iyWHf50ecDK9a19JeCQFAn1P1/UvI04= X-Riseup-User-ID: B0BE913C1F948DFAFB889B2CB727A0187284AAAED723905E39F1E4610DF9D713 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4NqfFD2LqPz1yZp; Sun, 8 Jan 2023 14:13:36 +0000 (UTC) From: Csepp To: Guix Devel Cc: Julien Lepiller , pukkamustard Subject: Packaging OCaml repositories that define multiple packages? Date: Sun, 08 Jan 2023 15:04:35 +0100 Message-ID: <867cxxxgfv.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net 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_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673187252; a=rsa-sha256; cv=none; b=FHha0wmI+rstJlpziJlgT/+7PwEavEGVftoLKvUzehr9hTdyMkCbytRZ3p0IJ/4TNoDW/6 QBj1E6BKKLvrdZ2G2zKmloHDE7eUo2NcbT+ngTg/RBfcZjdeI8XH+na4EDtsURjIVlHoB9 UHIM3hqI+wqVII6KnTWaSpPSqCKDKQZ0M0Qb/c2HHCpd1V1GS6ZrMbLqimi8GoM652kRFb VoyVhducauS+pPXc35ib+sRSowS8LAN9yELfdpH6jnriMkN6cI6xGmxzaxz4YZX3+bN0Zk jP9EwHdl7FAzD6UuL/U1+XHRIPff+KBzgRk+IC7auAV/sAQacog4EsHgNeaQOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=p+6oBh6q; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=riseup.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673187252; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rgjheB+2WUWWQvoFTw83XkKvtj+arSrZ1k+5Asa5YGs=; b=TBEyZsDr9h7pIlckqK5KfNDUVEIe1aMszZFN0CFp+ZQ4cs3iPanKZ9xXuMIRiIbeRSkTYO wHFvnsC1VXyhZL6in9ApjFPeCEsyjDWL4UengtlX5tKr4whI68rmlOpG5AR5lQwtwHErV1 DYNvLwbe4Hag3tyEfb/4jNEM1/UY3yeNikqApT4NPLVNvHWYqeTEst9GV3K/g79K0DCRkS aN6SsLtBe8xqeTQFwMcW5VJZh+XfE+lamf/m2qGVTYEgkBDtY1WTI6Zyns8vPLfG5shHqV Ocy1hIa7C/q4pb8BfgGGHnzWo3XpnfjgpdogtZxci3SD6PUwliHWEJS5YZUgEw== X-Spam-Score: -7.26 X-Migadu-Queue-Id: D7DD03BCD5 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=p+6oBh6q; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=riseup.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.26 X-TUID: lj0PR6ZLIdI1 I'm going through my MirageOS commits for what is hopefully the last time before I send the patches and I realized that a problem that I thought was isolated is a lot more widespread than I thought. As an example look at https://github.com/mirage/mirage/ It defines functoria, functoria-runtime, mirage, and mirage-runtime. It is possible to build all 4 as one package. The opam importer seems to not be able to handle situations like this, since it defines a new package for each sub-package. How should I proceed? I definitely want to merge all redundant packages into one, but then what? How should the package description reflect this? What should the package be named when it corresponds to 4 OPAM packages at once? For now I defined a few aliases for cases like this, but I'm not sure if this is ideal. They look like this (made up but possible example): (define ocaml-mirage ocaml-mirage-runtime)