From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2LM8Mn68cWX8rwAA9RJhRA:P1 (envelope-from ) for ; Thu, 07 Dec 2023 13:37:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2LM8Mn68cWX8rwAA9RJhRA (envelope-from ) for ; Thu, 07 Dec 2023 13:37:18 +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 5CC5352252 for ; Thu, 7 Dec 2023 13:37:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701952638; a=rsa-sha256; cv=none; b=KOLgmawZwX/SrMeBInPAicPOLhnB6/yhWWkUc9T4MtV9nKD+0OFXgSb6mkdvtzJ8g13004 av22Zsss0dXT9QE9HtRdMkMH/cQ1tApCXYswNFQ9V6fvs0Ll2Fb9mn88KrKDzF6RJQO+Ki qsWMt7F+B5kvn9WeRtmZJ0iwxWbOpHcTJJZuTrNN+f8c6q6g5MQA4p3HGDCa8v7PvoTNk0 oIYJs8fVRmgJaCXZgGBE6V4++glTyDYSzymH5WLk2TMA1tCFMVpMhb1xnozw8/wD1XK1ai 9pRpx2Ooxgg88sbX1Z9NjtVh41WbhgYCEfazyRFfbiebdQHxPv2Vk4Mu9bc+Pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701952638; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=/uV65fOp2Cio2DOvwO/a4v+HLGsOU+VgTkEah/NPHqU=; b=sg2fK9/24LXS9LtYqBX+GgFKZdAOnWHtgav97mQ2ZaHPwILOJIkOW4mRlzY6SnVYDLXJUp YEZ5Hf8n+7oDcWauQc4H/KFC1ytdtAC/v+WRv2T2V1yy0ZVoQ5syRFy54NigUmNUo8ZDSI D9h/++Psf7cWeGxVPxBo+Oo5Oqt+zEtJBI5sxCmnF6TZRuH0S2sybHVR7R/aQi0qqPtitZ f9+e+6JVGTRyTt+GmRp+eyrlcM3RmMAyaVBG6n38XMLFiHnU/GP7AEfyagZBEpmPOLQbP4 I6p1G1i0mwjSNTSCHeFbUkdVh7XMqo/1ePd3FPyYFKCGNQXY3yfQTXKaeLyf9w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBDcd-00025b-M3; Thu, 07 Dec 2023 07:36:55 -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 1rBDcb-00023p-Sw for guix-patches@gnu.org; Thu, 07 Dec 2023 07:36:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBDcY-0006TX-11 for guix-patches@gnu.org; Thu, 07 Dec 2023 07:36:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBDck-0003eo-Av for guix-patches@gnu.org; Thu, 07 Dec 2023 07:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [Nicolas Graves via Guix-patches via] [bug#42338] [PATCH v5 0/9] Composer build-system Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Dec 2023 12:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Josselin Poiret , 42338@debbugs.gnu.org, Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , Christopher Baines , Simon Tournier Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.170195261414040 (code B ref 42338); Thu, 07 Dec 2023 12:37:02 +0000 Received: (at 42338) by debbugs.gnu.org; 7 Dec 2023 12:36:54 +0000 Received: from localhost ([127.0.0.1]:41327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBDcc-0003eM-AI for submit@debbugs.gnu.org; Thu, 07 Dec 2023 07:36:54 -0500 Received: from 8.mo584.mail-out.ovh.net ([188.165.33.112]:53851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBDcY-0003eA-2V for 42338@debbugs.gnu.org; Thu, 07 Dec 2023 07:36:53 -0500 Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.4.44]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 202B92932A for <42338@debbugs.gnu.org>; Thu, 7 Dec 2023 12:36:34 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zjhh8 (unknown [10.110.171.110]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 0D67A1FEA9; Thu, 7 Dec 2023 12:36:31 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-6684bf9d7b-zjhh8 with ESMTPSA id mfNTOk+8cWVysQkAfdXY+A (envelope-from ); Thu, 07 Dec 2023 12:36:31 +0000 X-OVh-ClientIp: 80.214.69.23 In-Reply-To: <87ttq3u8m4.fsf@ngraves.fr> References: <20231102151725.31362-1-ngraves@ngraves.fr> <87ttq3u8m4.fsf@ngraves.fr> Date: Thu, 07 Dec 2023 13:36:30 +0100 Message-ID: <87o7f2xk8h.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 13569908630813598392 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrudekvddggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepveekleeujedthefgffekleekhffhffetgfdvheekleeuhfehueeljedtjefhvdfgnecukfhppeduvdejrddtrddtrddupdektddrvddugedrieelrddvfedpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeegvdeffeekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.15 X-Spam-Score: -5.15 X-Migadu-Queue-Id: 5CC5352252 X-TUID: EMW62+fZVcKU Just a quick reminder for this patch series. ;) The right version is the v5 now, and I was asking for opinions on a change of names too ;) Cheers, Nicolas On 2023-11-02 22:51, Nicolas Graves wrote: > Sorry I did send the patch series twice because I forgot the v5 in the > first. > > You can find the packages attached if useful for testing, but I will > commit only after we agree on the proper renaming of the import and > build-system, so that I can do it in a sole patch series. > > > > -------------------- Start of forwarded message -------------------- > Subject: [bug#42338] [PATCH v5 0/9] Composer build-system > To: 42338@debbugs.gnu.org > Cc: ngraves@ngraves.fr > Date: Thu, 2 Nov 2023 16:16:47 +0100 > From: Nicolas Graves via Guix-patches via > > This is the result of my further rework of the composer import and > build-system. The `guix: import: composer` commits can be squashed > easily. > > This is now tested on 94 php packages with all testing enabled except > for 3 packages. I will submit these packages as a whole in the > alphabetical order (the bootstrap order is not worth it IMO) in a new > guix issue. > > Before accepting it, I also would like to propose a change of > names. If me make an analogy with python: > tool: pip <-> composer > package hub: pypi <-> packagist > build-system: python/pyproject <-> php > > Since we only take about 90 lines of real composer code, I would > rather call the build-system php-build-system. > Same thing: instead of `guix import composer` we should rather call > `guix import packagist`. > > If that's OK, I'll change it with the next (and hopefully last!) > version of this build system. > > Nicolas Graves (9): > guix: import: Add composer importer. > gnu: Add composer-classloader. > guix: Add composer-build-system. > guix: import: composer: Use memoization. > guix: import: composer: Fix json->require. > guix: import: composer: More robust string->license. > guix: import: composer: Modern inputs formatting. > guix: import: composer: Full rewrite composer-fetch. > gnu: composer-build-system: Full check phase rewrite. > > Makefile.am | 6 + > doc/guix.texi | 34 +++ > gnu/local.mk | 1 + > gnu/packages/aux-files/findclass.php | 125 +++++++++++ > gnu/packages/php-xyz.scm | 60 ++++++ > guix/build-system/composer.scm | 164 +++++++++++++++ > guix/build/composer-build-system.scm | 300 +++++++++++++++++++++++++++ > guix/import/composer.scm | 267 ++++++++++++++++++++++++ > guix/scripts/import.scm | 2 +- > guix/scripts/import/composer.scm | 107 ++++++++++ > tests/composer.scm | 88 ++++++++ > 11 files changed, 1153 insertions(+), 1 deletion(-) > create mode 100644 gnu/packages/aux-files/findclass.php > create mode 100644 gnu/packages/php-xyz.scm > create mode 100644 guix/build-system/composer.scm > create mode 100644 guix/build/composer-build-system.scm > create mode 100644 guix/import/composer.scm > create mode 100644 guix/scripts/import/composer.scm > create mode 100644 tests/composer.scm > > -- > 2.41.0 > > > > > -------------------- End of forwarded message -------------------- > > -- > Best regards, > Nicolas Graves -- Best regards, Nicolas Graves