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 4BJzOoj16mIDewAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 00:24:09 +0200 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 KKhzOYj16mLPfwAAG6o9tA (envelope-from ) for ; Thu, 04 Aug 2022 00:24:08 +0200 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 7B19015A7D for ; Thu, 4 Aug 2022 00:24:08 +0200 (CEST) Received: from localhost ([::1]:32828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJMmd-0002XB-Kc for larch@yhetil.org; Wed, 03 Aug 2022 18:24:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJMmA-0002Vr-Kd for guix-devel@gnu.org; Wed, 03 Aug 2022 18:23:38 -0400 Received: from mx1.dismail.de ([78.46.223.134]:19570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJMm6-0001CS-Fd for guix-devel@gnu.org; Wed, 03 Aug 2022 18:23:38 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 39a61afa; Thu, 4 Aug 2022 00:23:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=20190914; bh=FLkVENVQ Ree693vfbDypY5Mc7RO9WrwINjVOotuXBM0=; b=VGiRPCRdnSKCfb+qQfMX9sMs IIi2fZ2vOC5PtZtdCFAQHmHDmdZ9vjVRwSGLhSEz2KLWBkANY8fgrY25KjzdzNPY 9i1RScKBsmALSk7mdD1M2K8HyI+xFa13yQBTofNiT+KZBCF7K242qPNsWyknL+WQ qe+FDLSJj6F/keS1ShEa/6mzWLGot9n6mPacIDisv1zRl0SuSrvoGwZQdXQsKVa5 SNa2xlxyAYdLpsuaY6TaxmAt6aFMFB7nW2+pfUojeLQQ6Qd3JgBQA2WDzpmYy5FC LCTGJVyC76zF7iHmP5yL1FGXHHyfq53kYGEfbskqWStR3wEfGp2pvyLQhMjhBg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 1c03e09f; Thu, 4 Aug 2022 00:23:29 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 3f405450; Thu, 4 Aug 2022 00:23:29 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 5152d323 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 4 Aug 2022 00:23:28 +0200 (CEST) From: Joshua Branson To: =?utf-8?B?TcOhamEgVG9tw6HFoWVr?= Cc: guix-devel@gnu.org Subject: Re: Breaking the loop with php's composer References: <871qtx4gy7.fsf@disroot.org> X-Gnus-Sucks: I know man Date: Wed, 03 Aug 2022 18:23:25 -0400 In-Reply-To: <871qtx4gy7.fsf@disroot.org> (=?utf-8?B?Ik3DoWphIFRvbcOhxaFl?= =?utf-8?B?ayIncw==?= message of "Wed, 03 Aug 2022 15:03:44 +0200") Message-ID: <87les5rmoy.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659565448; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=k4yBDjtBFNfCGBCqDfQPQeKp6uDefab9yWY0O60OG3Q=; b=LWTioEYJypXnMtkCsqqHhSo1KVtQpCRY7+ZBwgkTBKbao387kX/4YpCmwRRJdZz2JSjW44 HlNz5UxBqRCxOBB/LWaOT5/WcGIWw1p0VwR7dt85+OqGVHAq8XyOWc6Ff/Olc8gFAwJyvz NzU0q9rRYdV91QSXu3BLlPJe89NvARmBVUjyV4ML1Gs3hIl1bfvW2MSmS9TEkZb7WOvKkA Fc4Quc9XP1Vyi+QGKyLn1rx6P1NZnAG39WCM81svMnuqQeX53BHgsGwv7W9jEZ0EQ8wDIS WaMECKghwo99S98Kk+HzrWXlwS7v6YZRDYnQm7VgMORMyCuA44EY7YClCkncYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659565448; a=rsa-sha256; cv=none; b=LrHE6/Uta9GzQ2w7rcg1dRAxonrYiUybuSBHP9dvr2gJA/gf0i1xQKLpE98+6sq1W2LWMf zvt/Cxc17Tz690e1YTkfgOYSTGj8t1Y0M2A+wh0tbgIUJxJ+MXlDNYiOsg3e+9b3gdZOuQ I4nQ7XpfSswCkdg2z6DW7XU9R7C49XlYK8bsex55hnM9c/l6CRZ48t9WPP6gmJ6G18GRkF Hr14bycxu9YHPWmeQBhYqS6vvjGg5HkeBWl92/n+4Df6B7faQxC9iBEZ9JbydQFyQyYsEL bTJ7q4tv1Z/+Tzsg74/HekgnHjKLxoqo8a7f5n61hHwJFzljnqXOvovV5DCXWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=VGiRPCRd; dmarc=pass (policy=reject) header.from=dismail.de; 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" X-Migadu-Spam-Score: -5.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=VGiRPCRd; dmarc=pass (policy=reject) header.from=dismail.de; 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" X-Migadu-Queue-Id: 7B19015A7D X-Spam-Score: -5.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: Mc3PA/fy8xBP M=C3=A1ja Tom=C3=A1=C5=A1ek writes: > Hi, > > Since I want to deploy roundcube on my guix machine, I was recently > looking into packaging composer (https://getcomposer.org/) which > is a dependency manager for PHP. > > First it looked like it will be a simple task! Simply download the > installer. But! The installer was actually just a downloader for a .phar > archive. Why do you need a downloader for an archive in a repo? > > So time to reverse engineer the archive. How to build it. Okay, now I > encountered a build script from > https://github.com/composer/getcomposer.org/blob/main/update.sh, but! > Another hickup. This script relies on composer! So you cannot build > composer without having composer! It's dotnet all over. > > So I came to you, what should I do now? Here are my options: > > 1. contact the developers and hope they will help me Certainly give that a try! > 2. reverse engineer and build composer inside guix from scratch (as guix = needs to install > dependencies outside of package managers and it'll still need to > circumvent the composer's download phase) You could always use git to travel back in composer's time, to a time when composer did not use compuser to build itself. I think that is how to package jquery currently. We just use a really old makefile and have an outdated jquery package. > 3. phar archives are actually acceptable in guix distribution, it > doesn't need to be built from source (i doubt this is the case) You are correct. Guix perfers that we build everything from source. Best of luck! > > Thank you all for any help. > > With wishes of great wednesday, > Maya